Comment 5 for bug 47320

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Sorry for the confusion and my misinformed guesses. start-stop-daemon uses the --exec argument to double-check it will kill the right process.

The problem on the live cd is that start-stop-daemon tries to match the --exec argument /usr/sbin/gdm with /proc/<pid>/exe (where <pid> is the correct pid from the /var/run/gdm.pid). On the live cd, /proc/<pid>/exe contains "/rofs/usr/sbin/gdm" instead of "/usr/sbin/gdm".

I don't know if this should be fixed in start-stop-daemon (by relaxing the --exec file name matching and relying on inode number matching) or in casper.