<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/system, branch 1.4.0-rc2</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-rc2</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=1.4.0-rc2'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2024-01-12T16:47:56+00:00</updated>
<entry>
<title>image-tools: T5910: explicitly set transmission speed of serial console</title>
<updated>2024-01-12T16:47:56+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2024-01-11T16:34:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=b676106dd0926dc72cd959836270e1ffb9f48918'/>
<id>urn:sha1:b676106dd0926dc72cd959836270e1ffb9f48918</id>
<content type='text'>
GRUB defaults to 9600 in case of serial console; explicitly set to
115200.

(cherry picked from commit 70122bef58eaa0084695f89c410992f8d7c1f9f6)
</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>image-tools: T4516: exit grub-update service if running in docker</title>
<updated>2023-12-17T02:37:10+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2023-11-26T15:25:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=e07b24075561842e35df4e11a00f17960c0f9fff'/>
<id>urn:sha1:e07b24075561842e35df4e11a00f17960c0f9fff</id>
<content type='text'>
(cherry picked from commit 0b97bde2cb04cf5e23350798f972abcee4bfe4ee)
</content>
</entry>
<entry>
<title>image: T4516: ensure compatibility with legacy RAID 1 installs</title>
<updated>2023-12-17T02:37:10+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2023-11-09T20:34:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=a1476c24fb549aaf2702f1c9e2383b3eb90bc6ee'/>
<id>urn:sha1:a1476c24fb549aaf2702f1c9e2383b3eb90bc6ee</id>
<content type='text'>
(cherry picked from commit bd701768796d6ebb03ca943faf96d1dbea030edd)
</content>
</entry>
<entry>
<title>image: T4516: use copy of pw_reset script for install, link for compat</title>
<updated>2023-12-17T02:37:10+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2023-10-23T17:19:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=041cdcff990418ff25a424808299e1a5663a046c'/>
<id>urn:sha1:041cdcff990418ff25a424808299e1a5663a046c</id>
<content type='text'>
Note that this was updated for the fix in T5739.

(cherry picked from commit 424c9b19fd54598081e965c3364b082c5ef984de)
</content>
</entry>
<entry>
<title>image: T4516: support for interoperability of legacy/new image tools</title>
<updated>2023-12-17T02:37:10+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2023-10-21T18:33:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=bb1c98ae64667fdc4fba7a316671d16964fb024f'/>
<id>urn:sha1:bb1c98ae64667fdc4fba7a316671d16964fb024f</id>
<content type='text'>
This commit allows management of system images with either new or legacy
tools: 'add/delete/rename system image' and 'set default' are translated
appropriately on booting between images with the old and new tools.
Consequently, the warning of the initial commit of T4516 is dropped.

(cherry picked from commit 96b65e90fbfa1fe63d97929ac86fc910abb0caa9)
</content>
</entry>
<entry>
<title>image: T4516: service vyos-grub-update should exit on live boot</title>
<updated>2023-12-17T02:37:10+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2023-05-23T15:56:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=72a708e267839268652a7fabf4de1a16930dcc6e'/>
<id>urn:sha1:72a708e267839268652a7fabf4de1a16930dcc6e</id>
<content type='text'>
(cherry picked from commit 7d6c262976eba624b935c96a7495cc392158b8ff)
</content>
</entry>
<entry>
<title>image: T4516: Added system image tools</title>
<updated>2023-12-17T02:37:10+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2023-01-19T18:18:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=c1d02ab5a2594d945e3f7aed18a1c18f296d65e2'/>
<id>urn:sha1:c1d02ab5a2594d945e3f7aed18a1c18f296d65e2</id>
<content type='text'>
This commit adds the whole set of system image tools written from the scratch in
Python that allows performing all the operations on images:

* check information
* perform installation and deletion
* versions management

Also, it contains a new service that will update the GRUB menu and keep tracking
its version in the future.

WARNING: The commit contains non-reversible changes. Because of boot menu
changes, it will not be possible to manage images from older VyOS versions after
an update.

(cherry picked from commit 8f94262e8fa2477700c50303ea6e2c6ddad72adb)
</content>
</entry>
<entry>
<title>pmacct: T5232: Fixed socket parameters for trigger-packets</title>
<updated>2023-10-18T18:39:26+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2023-10-18T11:48:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=a8d09f501f58d7bf52881101ca840413e8c8df16'/>
<id>urn:sha1:a8d09f501f58d7bf52881101ca840413e8c8df16</id>
<content type='text'>
This fixes sending packets to uacctd using a socket.

(cherry picked from commit 7a0af0d00bae9179c89155e4b2e6ce94abb29c05)
</content>
</entry>
<entry>
<title>pmacct: T5232: Fixed pmacct service control via systemctl</title>
<updated>2023-10-14T06:57:06+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2023-10-03T22:57:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=6cb00c9a7eb7de811e4a5f13d608062fb8e3b5e7'/>
<id>urn:sha1:6cb00c9a7eb7de811e4a5f13d608062fb8e3b5e7</id>
<content type='text'>
pmacct daemons have one very important specific - they handle control signals in
the same loop as packets. And packets waiting is blocking operation.

Because of this, when systemctl sends SIGTERM to uacctd, this signal has no
effect until uacct receives at least one packet via nflog. In some cases, this
leads to a 90-second timeout, sending SIGKILL, and improperly finished tasks.
As a result, a working folder is not cleaned properly.

This commit contains several changes to fix service issues:

- add a new nftables table for pmacct with a single rule to get the ability to
send a packet to nflog and unlock uacctd
- remove PID file options from the uacctd and a systemd service file. Systemd
can detect proper PID, and PIDfile is created by uacctd too late, which leads
to extra errors in systemd logs
- KillMode changed to mixed. Without this, SIGTERM is sent to all plugins and
the core process exits with status 1 because it loses connection to plugins too
early. As a result, we have errors in logs, and the systemd service is in a
failed state.
- added logging to uacctd
- systemctl service modified to send packets to specific address during a service
stop which unlocks uacctd and allows systemctl to finish its work properly

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