<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/migration-scripts/system, branch vyos/1.4dev0</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/marekm72/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/marekm72/vyos-1x.git/atom?h=vyos%2F1.4dev0</id>
<link rel='self' href='https://git.amelek.net/marekm72/vyos-1x.git/atom?h=vyos%2F1.4dev0'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/'/>
<updated>2020-11-20T23:36:00+00:00</updated>
<entry>
<title>system: T3078: rename "system options" -&gt; "system option"</title>
<updated>2020-11-20T23:36:00+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-11-20T23:34:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=193323ba5d2f0318ceb81b3969c0181ba3125cf2'/>
<id>urn:sha1:193323ba5d2f0318ceb81b3969c0181ba3125cf2</id>
<content type='text'>
By design a CLI node should not be named by its plural but rather describe it
as singular.
</content>
</entry>
<entry>
<title>login: migration: T2929: add missing if condition when probing for radius-server</title>
<updated>2020-09-26T13:37:42+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-09-26T13:35:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=1290706dc0dd81565c0566925ed3951f9fd6ddba'/>
<id>urn:sha1:1290706dc0dd81565c0566925ed3951f9fd6ddba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>syslog: T2899: shift system migration files +1 to allow for crux</title>
<updated>2020-09-25T17:49:15+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2020-09-25T16:49:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=e76d9a009632629e6a22b0d77eebc913c9268a6d'/>
<id>urn:sha1:e76d9a009632629e6a22b0d77eebc913c9268a6d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>syslog: T1845: fix indentation level</title>
<updated>2020-09-25T17:49:15+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2020-09-25T15:58:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=4c818baa59046bdc5023abe8b63fa6f62611d115'/>
<id>urn:sha1:4c818baa59046bdc5023abe8b63fa6f62611d115</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #452 from jjakob/T2486-dns-hostsd-fixes</title>
<updated>2020-06-22T06:24:30+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@vyos.io</email>
</author>
<published>2020-06-22T06:24:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=1d09b1a788cc91ff64134d853f063dc0a364ad50'/>
<id>urn:sha1:1d09b1a788cc91ff64134d853f063dc0a364ad50</id>
<content type='text'>
T2486: DNS, vyos-hostsd fixes</content>
</entry>
<entry>
<title>console: T2624: fix migration script for configured powersave and no console</title>
<updated>2020-06-21T09:31:27+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-06-21T09:28:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=a39c0bdd9a7bbceefad71edc14a87a1dd90ffb7a'/>
<id>urn:sha1:a39c0bdd9a7bbceefad71edc14a87a1dd90ffb7a</id>
<content type='text'>
When the 'powersave' option under 'system console' was defined but no actual
serial console device this cause the following error during migration:

Loading configuration from 'config.boot'
Traceback (most recent call last):
  File "/opt/vyatta/etc/config-migrate/migrate/system/16-to-17", line 45, in &lt;module&gt;
    for device in config.list_nodes(base + ['device']):
  File "/usr/lib/python3/dist-packages/vyos/configtree.py", line 236, in list_nodes
    raise ConfigTreeError("Path [{}] doesn't exist".format(path_str))
vyos.configtree.ConfigTreeError: Path [b'system console device'] doesn't exist
</content>
</entry>
<entry>
<title>system: T2486: migrate disable-dhcp-nameservers to name-servers-dhcp</title>
<updated>2020-06-11T20:10:47+00:00</updated>
<author>
<name>Jernej Jakob</name>
<email>jernej.jakob@gmail.com</email>
</author>
<published>2020-06-11T07:09:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=0f8beae7426dfc1fdb75c993a505672d9dd2ec0f'/>
<id>urn:sha1:0f8beae7426dfc1fdb75c993a505672d9dd2ec0f</id>
<content type='text'>
The previous implementation only supported disabling DHCP nameservers for
all interfaces, and was implemented improperly so it didn't work anyway.
This migrates it to name-servers-dhcp &lt;interface&gt;, which allows us to enable
just the interfaces we want to use for system DNS, identical in syntax to
'service dns forwarding dhcp &lt;interface&gt;'.
The migrator searches through all interfaces that have address 'dhcp(v6)?'
and adds them to the name-servers-dhcp list if disable-dhcp-nameservers is
not set, else it does nothing.
</content>
</entry>
<entry>
<title>console: T2529: migrate from ttyUSB device to new device in /dev/serial/by-bus</title>
<updated>2020-06-09T19:00:39+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-06-08T20:45:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=bafa91b945ac77e2e1d000e356ca819bd5f87460'/>
<id>urn:sha1:bafa91b945ac77e2e1d000e356ca819bd5f87460</id>
<content type='text'>
During testing it was discovered that there is a well known problem (we had for
ethernet interfaces) also in the serial port world. They will be enumerated and
mapped to /dev/ttyUSBxxx differently from boot to boot. This is especially
painful on my development APU4 board which also has a Sierra Wireless MC7710
LTE module installed.

The serial port will toggle between ttyUSB2 and ttyUSB5 depending on the
amount of serial port extenders attached (FT4232H).

The shipped udev rule (/usr/lib/udev/rules.d/60-serial.rules) partly solves
this by enumerating the devices into /dev/serial/by-id folder with their name
and serial number - it's a very good idea but I've found that not all of the
FT4232H dongles have a serial number programmed - this leads to the situation
that when you plug in two cables with both having serial number 0 - only one
device symlink will appear - the previous one is always overwritten by the
latter one.

Derive /usr/lib/udev/rules.d/60-serial.rules and create a /dev/serial/by-bus
directory and group devices by attached USB root port.
</content>
</entry>
<entry>
<title>console: T2570: remove support for Hayes Modems</title>
<updated>2020-06-09T19:00:39+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-06-08T20:43:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=7b565f0bcc0dcfc7aa95cdbbb63264f5ba41456e'/>
<id>urn:sha1:7b565f0bcc0dcfc7aa95cdbbb63264f5ba41456e</id>
<content type='text'>
Support for Hayes modems has been long gone (1.2.x) and nobody cared. It was
removed in commit d582bbaf3 ("update console settings for systemd") of
vyatta-cfg-system.

So as there have been zero complaints - cleanup the CLI.
</content>
</entry>
<entry>
<title>netconsole: T2561: use migrator to delete config nodes</title>
<updated>2020-06-09T19:00:39+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-06-08T20:41:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=0ce5f5e7c2173b605125136dbfd20d10f5c32cac'/>
<id>urn:sha1:0ce5f5e7c2173b605125136dbfd20d10f5c32cac</id>
<content type='text'>
The current implementation only works once the system has been fully booted
up and the config nodes have been process. So there is no "early" kernel
debugging. It is started with priority 400 (after all network stuff) - thus it
has a questionable at all for Kernel debugging.

It would only make sense if the entire system is changed to supply the config
stuff to the Kernel commandline and then send it to a dedicated MAC address
target as network will be initialized late.

As there are zero Phabricator tasks available and we do not know any user using
this - the "feature" will be removed.
</content>
</entry>
</feed>
