summaryrefslogtreecommitdiff
path: root/src/systemd
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2026-08-14 15:32:49 +0100
committerGitHub <noreply@github.com>2026-08-14 15:32:49 +0100
commitbbe4079eb322f18fdac14ceedee7ad0ed94d6897 (patch)
tree95c6a4906ecf7b0ae9dcbf8aed21c29de7e146e7 /src/systemd
parent1650cbcc8897629041cc86131c6dd00fa2d6f336 (diff)
parent22cfee116c9935f4a33da4923eff189f2f646371 (diff)
downloadvyos-1x-bbe4079eb322f18fdac14ceedee7ad0ed94d6897.tar.gz
vyos-1x-bbe4079eb322f18fdac14ceedee7ad0ed94d6897.zip
Merge pull request #5350 from c-po/boot-ifname-race
boot: T3871: rework interface renaming and ordering
Diffstat (limited to 'src/systemd')
-rw-r--r--src/systemd/vyos-net-name-resolve.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/systemd/vyos-net-name-resolve.service b/src/systemd/vyos-net-name-resolve.service
new file mode 100644
index 000000000..ec7c45636
--- /dev/null
+++ b/src/systemd/vyos-net-name-resolve.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=VyOS deterministic hw-id based interface naming
+Documentation=man:vyos-net-name-resolve.py(8)
+
+# Started explicitly by vyos-router (like frr.service/vyos-netlinkd.service)
+# once /opt/vyatta/etc/config is mounted and config.boot exists - which, for
+# an encrypted config volume, only happens after vyos-router has unlocked
+# and mounted it. It cannot be ordered independently before vyos-router:
+# there is no config.boot to read before that point.
+DefaultDependencies=no
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/libexec/vyos/system/vyos-net-name-resolve.py
+TimeoutStartSec=90
+StandardOutput=journal+console