Hello Armin, Javier et al,

Armin wrote:

when I run 'checkrestart' at the end of an upgrade, this (sometimes) appears in the output:

These processes do not seem to have an associated init script to restart them:

python2.7-minimal:
        2650    /usr/bin/python2.7
        2721    /usr/bin/python2.7

'pstree -p' shows the processes as wicd or its child:

wicd(2650) wicd-monitor(2721)

I think the problem is the same or a similar one as reported in
http://bugs.debian.org/696139 ? That is checkrestart's regex:

    m = re.match("^/usr/bin/(perl|python)$", self.program)

fails to realize that the process it's looking at is actually an interpreter running a script. Maybe we should drop the end-of-line match in the expression and just test for the /usr/bin/(perl|python) prefix? Would that open up any new problems - such as false positives on "non-interpreters"?

(even if we check for the prefix only we'll still be ignoring all the
 other interpreters (tcl, shells, ruby, ...)).

*t


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to