Comment 4 for bug 2067482

Revision history for this message
Simon Chopin (schopin) wrote :

Hi, verification done in a fresh Noble container:

root@needrestart-self:~# dpkg -l needrestart | tail -n 1
ii needrestart 3.6-7ubuntu4.1 all check which daemons need to be restarted after library upgrades
root@needrestart-self:~# sudo systemd-run -u no-self-restart sh -c 'set -e; apt update; apt reinstall -y libc6; sleep 5; touch /tmp/did-not-self-restart'
Running as unit: no-self-restart.service; invocation ID: d833631b9b1443f4b68fd3c7ab4877a1
root@needrestart-self:~# ls -lh /tmp/did-not-self-restart
-rw-r--r-- 1 root root 0 Jul 11 09:24 /tmp/did-not-self-restart
root@needrestart-self:~# date
Thu Jul 11 09:24:20 UTC 2024
root@needrestart-self:~# systemctl status no-self-restart
Unit no-self-restart.service could not be found.