You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to needrestart, so accept I might be doing something wrong, for the most part it works great :-) But I have a problem where its not picking up a systemd-nspawn based container and thus I believe it thinks the service (not container) always needs restarting.
Here I'm running OpenWRT in a container, started by PaceMaker as a systemd service.
firebrand ~ # needrestart -ra -lk -v
[main] eval /etc/needrestart/needrestart.conf
[main] eval /etc/needrestart/conf.d/pacemaker.conf
[main] needrestart v3.8
[main] running in root mode
[Core] Using UI 'NeedRestart::UI::stdio'...
[main] systemd detected
[main] #107791 uses obsolete binary /sbin/procd
# many of these
...
[main] #107789 unexpected cgroup '/machine.slice/systemd-nspawn@openwrt.service/supervisor'
...
[main] #107791 unexpected cgroup '/machine.slice/systemd-nspawn@openwrt.service/payload'
[main] trying systemctl status
[main] #108357 is systemd-nspawn@openwrt.service
...
Restarting services...
[main] using restart.d file systemd-nspawn@openwrt.service
/etc/needrestart/restart.d/systemd-nspawn@openwrt.service
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
I presume that if it detects a container, it understands that the binary paths a relative to the container root and thus all is well, but I've not seen it do that, so I'm guessing there.
I created a script to handle restarting OpenWRT in a custom way (its currently empty) but the problem remains that it always wants to do it, not that its doing in some problematic way.
Thanks.
The text was updated successfully, but these errors were encountered:
I'm new to needrestart, so accept I might be doing something wrong, for the most part it works great :-) But I have a problem where its not picking up a systemd-nspawn based container and thus I believe it thinks the service (not container) always needs restarting.
Here I'm running OpenWRT in a container, started by PaceMaker as a systemd service.
Running in list mode:
I presume that if it detects a container, it understands that the binary paths a relative to the container root and thus all is well, but I've not seen it do that, so I'm guessing there.
I created a script to handle restarting OpenWRT in a custom way (its currently empty) but the problem remains that it always wants to do it, not that its doing in some problematic way.
Thanks.
The text was updated successfully, but these errors were encountered: