Bug#843832: needrestart: detect need for a systemctl daemon-reload
On Mon, 2016-11-28 at 21:17 +0100, Thomas Liske wrote: > Configuration files etc. are beyond the scope of needrestart Ok, fair enough. > there should be a mechanism around apt to handle reloading systemd There already is for system services but not user services. systemctl will report when daemon-reload is needed when restarting things. -- bye, pabs https://wiki.debian.org/PaulWise signature.asc Description: This is a digitally signed message part
Bug#843832: needrestart: detect need for a systemctl daemon-reload
tags 843832 wontfix thanks Hi Paul, needrestart tries to detect which daemons (read: processes in the broadest sense) should be restarted due to upgraded libraries (read: code to be somehow *executed*). Configuration files etc. are beyond the scope of needrestart (maybe there should be a mechanism around apt to handle reloading systemd). HTH, Thomas Paul Wisewrites: > Package: needrestart > Severity: wishlist > > When systemd service configuration files are modified, there is often a > need to ask the systemd daemons to reload their configuration files: > > systemctl daemon-reload > sudo -u uid systemctl --user daemon-reload > > The need to reload systemd service configuration files can be detected > using these commands, passing the names of all loaded units. > > systemctl --property NeedDaemonReload show name.service other.service > sudo -u uid systemctl --user --property NeedDaemonReload show name.service > other.service > > The list of loaded units can be found using these commands: > > systemctl --all list-units > sudo -u uid systemctl --user systemctl --all list-units > > Unfortunately it doesn't appear to be machine-parsable. > > -- > bye, > pabs > > https://wiki.debian.org/PaulWise -- :: WWW:https://fiasko-nw.net/~thomas/ :: ::: Jabber: xmpp:tho...@jabber.fiasko-nw.net ::: :: flickr: https://www.flickr.com/photos/laugufe/ ::
Bug#843832: needrestart: detect need for a systemctl daemon-reload
Package: needrestart Severity: wishlist When systemd service configuration files are modified, there is often a need to ask the systemd daemons to reload their configuration files: systemctl daemon-reload sudo -u uid systemctl --user daemon-reload The need to reload systemd service configuration files can be detected using these commands, passing the names of all loaded units. systemctl --property NeedDaemonReload show name.service other.service sudo -u uid systemctl --user --property NeedDaemonReload show name.service other.service The list of loaded units can be found using these commands: systemctl --all list-units sudo -u uid systemctl --user systemctl --all list-units Unfortunately it doesn't appear to be machine-parsable. -- bye, pabs https://wiki.debian.org/PaulWise signature.asc Description: This is a digitally signed message part