Comment 4 for bug 124615

Revision history for this message
Brandon Coleman (metrix1978) wrote :

I had the very same problem in debian etch. The problem is that when /etc/init.d/pxe stop is run the script gets hung in the wait_no_pid() function:

wait_no_pid()
{
        while [ -e "$PID" ]
        do
                sleep 1
        done
}
This looks to see if a PID file exists, and if it does it waits a second and checks again.

What I think happened is that the permissions on the PID file:
/var/run/pxe/pxe.pid

were changed either by me, or by a script in Debian at some point (more then likely it was me following a pxe howto) I'm not sure if this is a bug of PXE, but more like a bug with the init scripts where I think it should let the end-user know the permissions are wrong on the script.

Brandon