<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/system, 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-12T16:32:30+00:00</updated>
<entry>
<title>keepalived: T9615: only ignore EAGAIN when reading the FIFO</title>
<updated>2026-11-12T16:32:30+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-11-12T16:32:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=6f71858d97c9f7e48b83132b91111e9cda9b4730'/>
<id>urn:sha1:6f71858d97c9f7e48b83132b91111e9cda9b4730</id>
<content type='text'>
Any exception without an errno attribute raised an AttributeError inside
the handler instead of being logged. EAGAIN is now caught on its own and
everything else is logged.
</content>
</entry>
<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: keep an accelerated-networking VF off its NIC's .link file</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:45:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=639d575ad258f6f6ba629a0c50a710b736e4911d'/>
<id>urn:sha1:639d575ad258f6f6ba629a0c50a710b736e4911d</id>
<content type='text'>
On Azure every Hyper-V NIC shares one ID_PATH and has no slot, so it is
keyed on its MAC. Its accelerated-networking VF carries the same MAC and
matched the NIC's .link file, so udev tried to give the VF the NIC's name.

The .link file of a Hyper-V NIC now also matches Driver=hv_netvsc, so the
VF cannot match it. This holds for a lone NIC keyed on the VMBus path too.
A NIC absent at a pass cannot say what it is, so its file keeps the pin
it already carries. NICs that are not Hyper-V ones get no Driver line, and
their files do not change. The 34-to-35 migration passes the hardware it
found, so the pin is written on the first boot of an upgrade too.
</content>
</entry>
<entry>
<title>interfaces: T3871: never rename an interface which is in use</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:57:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=5fdfcca2a97dabf3c6410a1362c0726142d2acc8'/>
<id>urn:sha1:5fdfcca2a97dabf3c6410a1362c0726142d2acc8</id>
<content type='text'>
Editing the map and then plugging any card in applied the edit to every
interface at once, because the pass re-resolves the whole system whatever
woke it. A running port was renamed out from under the configuration still
naming it, a bridge member included since members became discoverable.

Leave a name alone while the system is relying on it - the port is up, or it
has a master. At boot that is true of nothing, as the pass runs before the
configuration is applied, so naming is unaffected; afterwards it is true of
everything configured, and a card which has just arrived is still down. Say
in the log and the status file when a rename was refused, as the map and the
running system then disagree until the next boot.
</content>
</entry>
<entry>
<title>interfaces: T3871: report a name which changed hands between known cards</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:57:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=9f75f7bf6c143ee3ba7522d281f3a930634cbd83'/>
<id>urn:sha1:9f75f7bf6c143ee3ba7522d281f3a930634cbd83</id>
<content type='text'>
Cards rearranged among themselves, or a map edited by hand, leave every name
matched to a card the store knows - just not the one it had. That was filed
as an ordinary match, indistinguishable from a machine where nothing moved,
while the addresses configured under those names had quietly changed cable.

Report it separately. Which name goes to which card is unchanged, the slot
still decides; only the account of what happened is.
</content>
</entry>
<entry>
<title>interfaces: T3871: warn about a replaced card when it is swapped, not only at boot</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:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=f5c844e8a6c2238555b8e519fe929a64e56b3388'/>
<id>urn:sha1:f5c844e8a6c2238555b8e519fe929a64e56b3388</id>
<content type='text'>
A card which takes over a slot also takes over the addresses configured under
that name. The boot script says so by reading the status file, but a card
swapped on a running system is only ever seen by the naming pass itself, and
by the next boot it is already on record with nothing left to report. The
warning could therefore never reach an operator who replaced a card without
rebooting. Log it where the decision is taken, which covers both.
</content>
</entry>
<entry>
<title>interfaces: T3871: name a card by the card, not only by the slot it sits in</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:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=035d0260f65ad327c5a6a512a37157e96ca50fcf'/>
<id>urn:sha1:035d0260f65ad327c5a6a512a37157e96ca50fcf</id>
<content type='text'>
The map now records which card each name sat on. A card moved to another slot
keeps its name rather than leaving it behind for whatever turns up next, and
the slot it vacated does not lend that name out.

Where the map and the hardware disagree, the map wins: a card the store
already knows, found in a name's slot, takes that name. Only a card nothing
knows about, sitting in a slot on record, is treated as a replacement - the
one case which can quietly move a configured address onto another cable.
</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>
</feed>
