summaryrefslogtreecommitdiff
path: root/scripts/cli
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-09-09 19:28:56 +0000
committerChristian Breunig <christian@breunig.cc>2026-09-09 19:28:56 +0000
commitae5df0f6d6055fa6477f1150aaca662cb8aef9d3 (patch)
tree1a07974336eee7489b2ba8cfca3db90d698fad66 /scripts/cli
parentebf07da2891a949237a54c6ce153a8772b342413 (diff)
downloadvyos-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 'scripts/cli')
0 files changed, 0 insertions, 0 deletions