reassign 370155 lsb-base 3.1-6
retitle 370155 pidofproc reads from stdin and hangs waiting for user input
severity 370155 critical
thanks

On Sat, Jun 03, 2006 at 10:28:11PM +0200, Norbert Preining wrote:
> Hi Mattia!
> 
> On Sam, 03 Jun 2006, Mattia Dongili wrote:
> > I can't reproduce it here, can you run the script with -x and send the
> > output to see where it hangs?
> 
> It hangs in the read pid:

Yes, upgraded my lsb-base (was at -5 here) and it's fully reproducible.

> gandalf:~# bash -x /etc/init.d/cpufreqd stop
> + PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
[...]
> + pidfile=/var/run/cpufreqd.pid
> + '[' -f /var/run/cpufreqd.pid ']'
> + read pid
> 
> ENTER

I suppose it should be
        cat /var/run/cpufreqd.pid | read pid
instead.

It seems to be an lsb-base bug, reassigning. Severity is critical as it
breaks unrelated software.

Thanks for reporting.
-- 
mattia
:wq!


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

Reply via email to