Your message dated Tue, 17 May 2016 13:39:20 +0200
with message-id <[email protected]>
and subject line Re: Bug#794099: optional non-zero exit codes in case of
restart(s) required
has caused the Debian Bug report #794099,
regarding optional non-zero exit codes in case of restart(s) required
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
794099: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=794099
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: needrestart
Severity: wishlist
When running 'needrestart' from a terminal or script, it would be useful
to have some command line parameter to make it exit non-zero, in case
any restart(s) are required.
--- End Message ---
--- Begin Message ---
closing "support" ticket.
Am 16.09.2015 um 23:15 schrieb Thomas Liske:
> Hi Patrick,
>
> On Thu, Jul 30, 2015 at 01:57:25PM +0000, Patrick Schleizer wrote:
>> Package: needrestart
>> Severity: wishlist
>>
>> When running 'needrestart' from a terminal or script, it would be useful
>> to have some command line parameter to make it exit non-zero, in case
>> any restart(s) are required.
> did you give the nagios plugin mode (-p) a try (see also
> README.nagios.md)? It will set the RC code to non-zero if a restart is
> required. Could be combined with -l or -k to look only for outdated
> libraries or kernel usage:
>
> # needrestart -p ; echo "RC=$?"
> WARN - Kernel: 4.1.3-tl1+, Services: none, Containers: none, Sessions: 1
> (!)|Kernel=0;0;;0;2 Services=0;;0;0 Containers=0;;0;0 Sessions=1;0;;0
> RC=1
>
>
> HTH,
> Thomas
>
> --
>
> :: WWW: https://fiasko-nw.net/~thomas/ ::
> ::: Jabber: xmpp:[email protected] :::
> :: flickr: https://www.flickr.com/photos/laugufe/ ::
--
/*
Mit freundlichem Gruß / With kind regards,
Patrick Matthäi
GNU/Linux Debian Developer
Blog: http://www.linux-dev.org/
E-Mail: [email protected]
[email protected]
*/
--- End Message ---