Re,
thanks for the grep output. The warnings are triggered due some bad
capitalization of the LSB keywords in the rc scripts shipped by pmacct:
# head nfacctd
#!/bin/sh
### BEGIN INIT INFO
# Provides: nfacct
# Required-start: $network $syslog
# Required-stop: $network $syslog
# Default-start: 2 3 4 5
# Default-stop: 0 1 6
# Short-Description: netflow accounting daemon
### END INIT INFO
The LSB-keyword-parsing-stuff in needrestart is case sensitive. I'm
going to change needrestart to handle the LSB keywords case-insensitive
in the next release.
Thanks for reporting!
HTH,
Thomas
On 12/02/2013 11:03 PM, Cristian Ionescu-Idbohrn wrote:
> On Mon, 2 Dec 2013, Thomas Liske wrote:
>>
>> Hi Christian,
>
> Thomas,
>
>> On 12/02/2013 05:57 PM, Cristian Ionescu-Idbohrn wrote:
>>> Package: needrestart
>>> Version: 0.4-1
>>> Severity: normal
>>>
>>> I see repeated:
>>>
>>> ..50%
>>> Use of uninitialized value in pattern match (m//) at /usr/sbin/needrestart
>>> line 266.
>>
>> interesting - this warning might be triggered by an LSB init script
>> containing no Default-Start keyword line. As far as I've checked LSB
>> compliant init scripts (in Debian) do contain the Default-Start keyword.
>>
>> What is the output of
>>
>> $ grep -L Default-Start /etc/init.d/*
>
> /etc/init.d/nfacctd
> /etc/init.d/pmacct
> /etc/init.d/rc
> /etc/init.d/rcS
> /etc/init.d/sfacctd
> /etc/init.d/uacctd
>
>
--
:: WWW: http://fiasko-nw.net/~thomas/ ::
::: Jabber: xmpp:[email protected] :::
:: flickr: http://www.flickr.com/photos/laugufe/ ::
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]