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. -- /etc/init.d/gdm stop fails and falsely reports success https://launchpad.net/bugs/47320 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
