<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/init, branch rolling</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=rolling</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=rolling'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2026-11-02T18:45:25+00:00</updated>
<entry>
<title>Merge pull request #5588 from c-po/no-exec-bit</title>
<updated>2026-11-02T18:45:25+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-11-02T18:45:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=f063cab4af3196fb6a81cc35837bfffcd6b8cfd6'/>
<id>urn:sha1:f063cab4af3196fb6a81cc35837bfffcd6b8cfd6</id>
<content type='text'>
T9477: remove no longer needed executable bit from conf_mode/migration scripts </content>
</entry>
<entry>
<title>interfaces: T3871: give a re-created Hyper-V NIC the name of the NIC it replaced</title>
<updated>2026-10-31T09:58:29+00:00</updated>
<author>
<name>Alex Kudentsov</name>
<email>43482574+alexk37@users.noreply.github.com</email>
</author>
<published>2026-10-14T13:46:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=153dd688b327c922ec4b371db1fdd11b8ee8cf9e'/>
<id>urn:sha1:153dd688b327c922ec4b371db1fdd11b8ee8cf9e</id>
<content type='text'>
A Hyper-V NIC is known by its MAC alone. One deleted and created again on
the same VM - an Azure NIC re-created, or a Hyper-V adapter removed and
added - comes back with a new MAC, so nothing on it matched the store: its
name stayed reserved, the new NIC got a new name, and its configuration
was left on a name with no NIC. cloud-init does not run again on the same
instance, so nothing else repairs it.

At boot, a vacant name now goes to a new NIC only when the pairing is not
in doubt:
- exactly one recorded name has no NIC, and exactly one new Hyper-V NIC
  appeared. With more of either, the order the NICs come up in does not
  say which replaced which, so nothing is handed over and the names stay
  reserved, as before;
- the name went missing at this pass. The store records which names were
  missing at the last pass, so a NIC removed for good does not hand its
  name to a NIC added at a later boot;
- the name's own NIC was a Hyper-V one. The store records which names sat
  on a Hyper-V NIC; a MAC-keyed name can belong to other hardware, and a
  store written before this was recorded hands nothing over (the boot pass
  logs that when it holds a name back);
- only at boot. On a running system the configuration under a name is not
  applied to the NIC that takes it, so the hotplug unit passes --hotplug,
  which names the new NIC like any other and records the vacant name as
  missing, so the next boot does not hand it over either.

An adoption is logged as a warning, reported under 'adopted' in the status
file (kept there across hotplug passes while it holds), and repeated by
vyos-router, as a slot match is: verify the port before relying on its
configuration.
</content>
</entry>
<entry>
<title>interfaces: T3871: name interfaces from a slot-anchored mapping store</title>
<updated>2026-10-31T09:58:29+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-10-07T17:56:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=c73faac7f95ec837da6f964d15cc05ff9ffd2de6'/>
<id>urn:sha1:c73faac7f95ec837da6f964d15cc05ff9ffd2de6</id>
<content type='text'>
Names used to be derived from 'hw-id' in config.boot. A node carrying an
address but no hw-id had to be matched to some NIC, and nothing available at
boot could say which one - every heuristic could bind a configured address to
the wrong physical wire.

Naming authority moves to a mapping store binding a name to the slot the
hardware occupies. The slot is the identity, so a replacement card in that
slot is that interface again. The store renders systemd .link files, leaving
udev to apply names as devices appear.
</content>
</entry>
<entry>
<title>Revert: T3871: make boot-time interface naming deterministic and hw-id aware</title>
<updated>2026-10-31T09:58:26+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-10-07T17:56:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=552ade702fc033f68cda998055bd5b74f195c7ac'/>
<id>urn:sha1:552ade702fc033f68cda998055bd5b74f195c7ac</id>
<content type='text'>
This reverts commit 22cfee116c9935f4a33da4923eff189f2f646371.
</content>
</entry>
<entry>
<title>T9477: remove no longer needed executable bit from conf_mode scripts</title>
<updated>2026-10-24T07:04:43+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-10-18T07:11:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=08e279b0894701570efc1ccdab38a917373ed8f4'/>
<id>urn:sha1:08e279b0894701570efc1ccdab38a917373ed8f4</id>
<content type='text'>
With the full integration of vyos-configd, conf_mode scripts are loaded as
Python modules and are no longer meant to be executed individually.

Drop the executable bit and the now meaningless shebang. The remaining
callers that ran a script directly (boot, op-mode, dhclient hook, vyshim
fallback, ...) now invoke it through python3. The build now aborts if a
conf_mode script is executable.
</content>
</entry>
<entry>
<title>vyos-router: T9447: stop copying a directory when restoring the bootup hooks</title>
<updated>2026-10-08T14:30:08+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-10-08T14:30:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=7f4e17413c44c65a759e0be380f3fe60b01b754d'/>
<id>urn:sha1:7f4e17413c44c65a759e0be380f3fe60b01b754d</id>
<content type='text'>
A boot whose configuration directory carries no pre/post-config hook scripts
copies them out of the running image. That copy named the image root twice,
because the image's squashfs is mounted at two paths and the variable holding
it kept both. One extra operand reached cp as a bare directory:

    cp: -r not specified; omitting directory '/run/live/rootfs/&lt;image&gt;.squashfs'

The hook itself still landed, so nothing broke, but the copy reported failure
and was one word-split away from restoring the wrong file. It shows up where
the encrypted configuration volume stays shut, leaving the directory beneath
it empty.

The image root is now a single path, the two identical restore paths share one
implementation, and a copy that fails is logged rather than passing silently.
A missing hook is not escalated - on a first boot that would hand the system to
the upgrade-failure rollback.
</content>
</entry>
<entry>
<title>dhcp: T9278: move DHCP client hook tracing to a gated debug level</title>
<updated>2026-09-06T14:16:37+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-09-06T14:16:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=3fc7b6e052402dba9bf13bbff54ff6d99a87fd8e'/>
<id>urn:sha1:3fc7b6e052402dba9bf13bbff54ff6d99a87fd8e</id>
<content type='text'>
Each lease event emitted some fifteen daemon.info lines tracing internal steps
rather than recording a change. Add a "debug" level to logmsg(), silenced unless
/tmp/vyos.dhclient.debug exists, following the flag file convention used for FRR
and ifconfig. Demoting alone would not help, as journald shows all priorities by
default. Fifteen tracing messages move to debug; the sixteen recording an actual
change stay at info.

Also fix logmsg(): "warn" had no case arm although it is used, and the global
LOG_PRIO leaked the preceding call's priority. It is now local.
</content>
</entry>
<entry>
<title>T3871: make boot-time interface naming deterministic and hw-id aware</title>
<updated>2026-08-08T16:33:38+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-08-06T19:59:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=22cfee116c9935f4a33da4923eff189f2f646371'/>
<id>urn:sha1:22cfee116c9935f4a33da4923eff189f2f646371</id>
<content type='text'>
Multi-vendor PCIe NIC systems could lose or rename Ethernet/wireless
interfaces on boot, because naming was decided from a single per-device
udev event before all hardware had a chance to enumerate.

Replace that with one authoritative pass, run once configuration is
available during router startup: wait for configured hardware, apply
every hw-id binding, and name whatever has none yet by PCIe distance
from the root complex and MAC address - the same result every boot.

A node with its hw-id deleted (NIC replacement) or its whole
configuration removed is treated as an ordinary open slot, filled the
same way - recovering its original hardware whenever the interfaces
that vacated slots this boot also show up as candidates.

Boot now reports any interface still unresolved, and the pass is covered
by a new test suite in vyos-build named: make testifname

Assisted-by: Claude:claude-sonnet-5
</content>
</entry>
<entry>
<title>T8923: normalize "can not" to "cannot"</title>
<updated>2026-06-16T18:24:44+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-06-16T18:24:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=fa853ed8f25b5b9bf396d6e819b2c6259e7f5f42'/>
<id>urn:sha1:fa853ed8f25b5b9bf396d6e819b2c6259e7f5f42</id>
<content type='text'>
Replace two-word "can not" / "Can not" with "cannot" across comments,
ConfigError messages, CLI help text, and op-mode output.

Standard SNMP MIB files under mibs/ are left unchanged.
</content>
</entry>
<entry>
<title>T8445: catch script runner error in vyos-router</title>
<updated>2026-04-15T20:17:27+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2026-03-30T20:34:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=54e447f8ce3264920bee1a018c476a7daf2bc5bd'/>
<id>urn:sha1:54e447f8ce3264920bee1a018c476a7daf2bc5bd</id>
<content type='text'>
</content>
</entry>
</feed>
