<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/init, branch 1.4.0</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-1x.git/atom?h=1.4.0</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=1.4.0'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2024-05-26T06:32:18+00:00</updated>
<entry>
<title>smoketest: support dynamic enable of smoketest debugging</title>
<updated>2024-05-26T06:32:18+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-04-21T19:22:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=c15ee875a6ed6d2f053ad0dd6d576b93a6ea858f'/>
<id>urn:sha1:c15ee875a6ed6d2f053ad0dd6d576b93a6ea858f</id>
<content type='text'>
$ touch /tmp/vyos.smoketest.debug

will enable dynamic debugging of the smoketests - showing the appropriate CLI
commands on stdout

(cherry picked from commit 0cb4294fdfe5ae0e0e8fd06436f38b67f16413a2)
</content>
</entry>
<entry>
<title>init: T3355: always use full nft command name (e.g. --file over -f)</title>
<updated>2024-04-02T16:33:05+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-04-01T19:52:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=33b031cc9005e51129719ff42d70bf50fb7f14e1'/>
<id>urn:sha1:33b031cc9005e51129719ff42d70bf50fb7f14e1</id>
<content type='text'>
(cherry picked from commit 0529371bc587e2fcdd8794061e9bb9d60c792c43)
</content>
</entry>
<entry>
<title>T6096: Config commits are not synced properly because 00vyos-sync is deleted by vyos-router</title>
<updated>2024-03-06T04:33:40+00:00</updated>
<author>
<name>Apachez</name>
<email>apachez@gmail.com</email>
</author>
<published>2024-03-04T17:59:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=72e82a5ba0159f1cb3e077afa33f5141374aa953'/>
<id>urn:sha1:72e82a5ba0159f1cb3e077afa33f5141374aa953</id>
<content type='text'>
(cherry picked from commit 433faaa9fe7d7dfc02db78ff039e772f5037037a)
</content>
</entry>
<entry>
<title>init: T2044: fix "binary operator expected" when two or more RPKI caches are defined</title>
<updated>2024-02-12T20:33:06+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-02-12T20:26:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=e021dee485fb6f90c00509f9461a11a457a67918'/>
<id>urn:sha1:e021dee485fb6f90c00509f9461a11a457a67918</id>
<content type='text'>
Fix commit 9b8e11e07 ("init: T2044: only start rpki if cache is configured")
which showed a disturbing error on tty0 after boot that a "binary operator
expected" when checking for RPKI caches when multiple results got returned.

(cherry picked from commit a5ac522f8c675ee2b2c2f4f08be7c41943632e94)
</content>
</entry>
<entry>
<title>init: T2044: only start rpki if cache is configured</title>
<updated>2024-02-07T20:56:38+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-02-07T20:34:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=f7a83728d4179ae5eedf0a109bc37733b79c82b4'/>
<id>urn:sha1:f7a83728d4179ae5eedf0a109bc37733b79c82b4</id>
<content type='text'>
This extends commit 9199c87cf ("init: T2044: always start/stop rpki during
system boot") to check the bootup configuration if an RPKI cache is defined.
Only start RPKI if this is the case.

(cherry picked from commit 9b8e11e078c42e3ae86ebfa45fec57336f25a0af)
</content>
</entry>
<entry>
<title>conntrack: T5376: T5779: backport from current</title>
<updated>2024-01-18T21:09:30+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-01-18T21:05:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=80068c8ce453a385981999c25e4ff5aeaa6bf030'/>
<id>urn:sha1:80068c8ce453a385981999c25e4ff5aeaa6bf030</id>
<content type='text'>
Backport of the conntrack system from current branch.

(cherry picked from commit fd0bcaf12)
(cherry picked from commit 5acf5aced)
(cherry picked from commit 42ff4d8a7)
(cherry picked from commit 24a1a7059)
</content>
</entry>
<entry>
<title>T5474: establish common file name pattern for XML conf mode commands</title>
<updated>2024-01-01T08:25:32+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-12-30T22:25:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=c9eaafd9f808aba8d29be73054e11d37577e539a'/>
<id>urn:sha1:c9eaafd9f808aba8d29be73054e11d37577e539a</id>
<content type='text'>
We will use _ as CLI level divider. The XML definition filename and also
the Python helper should match the CLI node.

Example:
set interfaces ethernet -&gt; interfaces_ethernet.xml.in
set interfaces bond -&gt; interfaces_bond.xml.in
set service dhcp-server -&gt; service_dhcp-server-xml.in

(cherry picked from commit 4ef110fd2c501b718344c72d495ad7e16d2bd465)
</content>
</entry>
<entry>
<title>login: T4943: use pam-auth-update to enable/disable Google authenticator</title>
<updated>2023-12-08T17:06:26+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-12-07T20:30:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=14b107442ebf1f4f44bad485c585d4b9cfd97384'/>
<id>urn:sha1:14b107442ebf1f4f44bad485c585d4b9cfd97384</id>
<content type='text'>
The initial version always enabled Google authenticator (2FA/MFA) support by
hardcoding the PAM module for sshd and login.

This change only enables the PAM module on demand if any use has 2FA/MFA
configured. Enabling the module is done system wide via pam-auth-update by
using a predefined template.

Can be tested using:

set system login user vyos authentication plaintext-password vyos
set system login user vyos authentication otp key 'QY735IG5HDHBFHS5W7Y2A4EM274SMT3O'

See https://docs.vyos.io/en/latest/configuration/system/login.html for additional
details.

(cherry picked from commit e134dc4171b051d0f98c7151ef32a347bc4f87e2)
</content>
</entry>
<entry>
<title>init: T5577: clear mandatory and optional RADIUS/TACACS PAM settings</title>
<updated>2023-11-20T16:57:20+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-10-03T07:23:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=e1bf5516bbb00de5689a1091a6e21b1fc45a7340'/>
<id>urn:sha1:e1bf5516bbb00de5689a1091a6e21b1fc45a7340</id>
<content type='text'>
This complements commit 5181ab60bb ("RADIUS: T5577: Added 'mandatory' and
'optional' modes for RADIUS") and commit 1c804685d0 ("TACACS: T5577: Added
'mandatory' and 'optional' modes for TACACS+"). As those new services
should also be cleaned during system boot.
</content>
</entry>
<entry>
<title>login: T5521: do not call system-login.py in vyos-router init</title>
<updated>2023-10-04T18:58:21+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-10-04T14:45:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=7498c30ef56b9727c037c5c79ec82507dd792d82'/>
<id>urn:sha1:7498c30ef56b9727c037c5c79ec82507dd792d82</id>
<content type='text'>
Calling system-login.py with no mounted VyOS config has the negative effect
that the script will not detect any local useraccounts and thus assumes they
all need to be removed from the password backend.

As soon as the VyOS configuration is mounted and the CLI content is processed,
system-login.py get's invoked and re-creates the before deleted user accounts.
As the account names are sorted in alphabetical order, the name &lt;-&gt; UID mapping
can get mixed up during system reboot.

The intention behind calling system-login.py from vyos-router init was to
reset system services (PAM, NSS) back to sane defaults with the defaults
provided via system-login.py. As PAM is already reset in vyos-router startup
script, /etc/nsswitch.conf was the only candidate left.

This is now accomplished by simply creating a standard NSS configuration file
tailored for local system accounts.

This is the second revision after the first change via commit 64d32329958
("login: T5521: home directory owner changed during reboot") got reverted.

(cherry picked from commit 12069d5653034b46a47430353c3867b3678c196f)
</content>
</entry>
</feed>
