Bug#721809: needrestart: list mode ("needrestart -r l") still asks restart questions
Hi Axel, On 09/04/2013 11:46 AM, Axel Beckert wrote: >> # needrestart -r l >> Services needed to be restarted: >> >> openssh-server: >> - Restart ssh? [Yn] ^C >> # > > needrestart -r a shows the same behaviour (asks questions) despite I > would have expected (according to the man-page) that it restarts all > according services without asking. thanks for your report. There was a bug in needrestart: it was validating the -r parameter but it has ignored it during the restart handling. It (has) always used the value from the configuration file. I've fixed it upstream. There are some issues (Bug#721810 and others) on my TODO before releasing 0.3 - stay tuned. HTH, Thomas -- :: WWW: http://fiasko-nw.net/~thomas/ :: ::: Jabber: xmpp:tho...@jabber.fiasko-nw.net ::: :: flickr: http://www.flickr.com/photos/laugufe/ :: -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#721809: needrestart: list mode ("needrestart -r l") still asks restart questions
Hi again, Axel Beckert wrote: > From the man-page: > >-r > set restart mode > >l (l)ist only > > I tried it, but it still asks questions: > > # needrestart -r l > Services needed to be restarted: > > openssh-server: > - Restart ssh? [Yn] ^C > # needrestart -r a shows the same behaviour (asks questions) despite I would have expected (according to the man-page) that it restarts all according services without asking. Regards, Axel -- ,''`. | Axel Beckert , http://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE `-| 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#721809: needrestart: list mode ("needrestart -r l") still asks restart questions
Package: needrestart Severity: normal Version: 0.2-1 Hi Patrick and Thomas, >From the man-page: -r set restart mode l (l)ist only I tried it, but it still asks questions: # needrestart -r l Services needed to be restarted: openssh-server: - Restart ssh? [Yn] ^C # That's not what I expected. ;-) -- System Information: Debian Release: Sid Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org