ldm leaves stale processes around due to wrong kill command
Bug #173239 reported by
Oliver Grawert
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ldm (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ldm
in lines 327 to 331 in ldm.c the parent process (/etc/X11/Xsession) is supposed to be killed, apparently that doesnt work properly and stale bonobo or nautilus processes are left behind.
it might be caused by the fact that there is no proper shell quoting for the parent process ID
cmd[i++] = "$PPID";
should likely add some curly brackets as below:
cmd[i++] = "${PPID}";
To post a comment you must log in.
http:// people. ubuntu. com/~ogra/ ldm_5.0. 39+20071127pre5 .1-0ubuntu3_ i386.deb has this change to test the fix.
to install it copy it into your chroot (to /opt/ltsp/i386/tmp or so) 5.0.39+ 20071127pre5. 1-0ubuntu3_ i386.deb
sudo chroot /opt/ltsp/i386
dpkg -i /tmp/ldm_
<hit ctrl-d now to exit the chroot>
sudo ltsp-update-image
boot a client and test if there are stale processes left behind after properly logging out