PXE fails to shut down

Bug #124615 reported by Pavel Mlčoch
8
Affects Status Importance Assigned to Milestone
pxe (Ubuntu)
Incomplete
Undecided
Jim Qode

Bug Description

Binary package hint: pxe

When I try shudown or restart system, I see only text shutdown daemon PXE and system run further.

Revision history for this message
Jim Qode (jimqode) wrote :

Please try to explain your problem with more details.
What is the distro release you are using?
What is the version of the effected package?

If possible please send the output.

Changed in pxe:
assignee: nobody → cem-sadecehosting
status: New → Incomplete
Revision history for this message
Pavel Mlčoch (pavkamlc) wrote :

Distro: Ubuntu Gutsy Gibbon (8.7.2007)
Installed version:
ii pxe 1.4.2-7 free PXE daemon

Output when I try stop this service:
root@pavka:/home/pavka# /etc/init.d/pxe stop
Stopping pxe:

Then stopping wait and wait...

Ill try strace this in attachement. stopping waited repeately.

Revision history for this message
Carlos Villaronga (cvillaronga) wrote :

i have the same problem in hardy. i'd been tried using:

# /etc/init.d/pxe force-reload
Restarting pxe:
..........

Then the process stopping, and I need to break it.

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

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

can someone with this problem run this on their server with the issue?
ls -lrt /var/run/pxe/pxe.pid

when I do this i get the following permissions:
-rw-r--r-- 1 root root 6 Aug 31 08:53 /var/run/pxe/pxe.pid

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.