diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-09-09 19:28:56 +0000 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-09-09 19:28:56 +0000 |
| commit | ae5df0f6d6055fa6477f1150aaca662cb8aef9d3 (patch) | |
| tree | 1a07974336eee7489b2ba8cfca3db90d698fad66 /src/migration-scripts/system | |
| parent | ebf07da2891a949237a54c6ce153a8772b342413 (diff) | |
| download | vyos-1x-ae5df0f6d6055fa6477f1150aaca662cb8aef9d3.tar.gz vyos-1x-ae5df0f6d6055fa6477f1150aaca662cb8aef9d3.zip | |
system-option: T9269: do not call localectl(1) and udevadm(8) in a container
localectl(1) needs systemd-localed on D-Bus, which a container has none
of - it fails with "Access denied". As cmdl() defaults to expect=[0] the
exception aborted the script, and vyos-router reported "could not reset
system option files ... failed!".
The udevadm(8) rule reload right after it fails for the same reason, a
container has no systemd-udevd of its own. Guard both.
Diffstat (limited to 'src/migration-scripts/system')
0 files changed, 0 insertions, 0 deletions
