Verified on Feisty that removing --exec makes it work. Additionally, the --oknodo argument to start-stop-daemon makes the script return success even if it did not kill gdm.
I guess start-stop-daemon should just ignore the --exec argument when --stop is present? At least not just ignore everything and quit. OTOH if this is expected behavior from start-stop-daemon, many init scripts must be fixed. ** Changed in: gdm (Ubuntu) Sourcepackagename: gdm => dpkg -- /etc/init.d/gdm stop falsely reports gdm stopped https://launchpad.net/bugs/47320 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
