Bug#668958: lsb-base: pidofproc doesn't return correct status for daemons without pidfile

2012-04-16 Thread Didier 'OdyX' Raboud
tags 668958 +patch thanks Le 16.04.2012 03:48, Adrian Fita a écrit : Hi. I noticed that /etc/init.d/hddtemp status wasn't returning the correct status when the daemon was running. hddtemp daemon doesn't create a pidfile when started, so I tracked the problem back to the pidofproc function

Bug#668958: lsb-base: pidofproc doesn't return correct status for daemons without pidfile

2012-04-16 Thread Adrian Fita
On 16/04/12 11:23, Didier 'OdyX' Raboud wrote: [...] This patch (besides being reversed) makes all pidofproc with unspecified pidfile name calls call /bin/pidof, which is undesired IMHO. I propose the attached patch, that only resorts to calling /bin/pidof when the pidfile is provably

Bug#668958: lsb-base: pidofproc doesn't return correct status for daemons without pidfile

2012-04-16 Thread Didier 'OdyX' Raboud
tags 668958 +pending thanks Le 16.04.2012 11:07, Adrian Fita a écrit : This patch (besides being reversed) makes all pidofproc with unspecified pidfile name calls call /bin/pidof, which is undesired IMHO. I propose the attached patch, that only resorts to calling /bin/pidof when the pidfile

Bug#668958: lsb-base: pidofproc doesn't return correct status for daemons without pidfile

2012-04-15 Thread Adrian Fita
Package: lsb-base Version: 4.1+Debian0 Severity: normal Hi. I noticed that /etc/init.d/hddtemp status wasn't returning the correct status when the daemon was running. hddtemp daemon doesn't create a pidfile when started, so I tracked the problem back to the pidofproc function from