Public bug reported: On Ubuntu 24.04:
The conf /etc/needrestart/needrestart.conf contains: # Restart mode: (l)ist only, (i)nteractive or (a)utomatically. # # ATTENTION: If needrestart is configured to run in interactive mode but is run # non-interactive (i.e. unattended-upgrades) it will fallback to list only mode. # #$nrconf{restart} = 'i'; Whether that variable is left at default (commented out) or defined with 'l' or 'i', services are still restarted. This config variable conflicts with the new behavior in [1]. To reproduce: set "$nrconf{restart} = 'l'" run 'apt reinstall libssl3t64' on servers with Nginx, Redis, etc. Not sure if this setting should be respected, changed, or removed. [1] https://discourse.ubuntu.com/t/needrestart-changes-in-ubuntu-24-04-service-restarts/44671 ** Affects: needrestart (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2068543 Title: Config variable $nrconf{restart} is no longer accurate: it always restarts To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/needrestart/+bug/2068543/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs