[Bug 119454] Re: debhelper script creates prerm script that causes daemon removal to be impossible
The current init.d script for tftpd-hpa uses start-stop-daemon --oknodo and the manpage for said program says: start-stop-daemon returns 0 [...] if --oknodo is specified and [...] --stop was specified and there were no matching processes. Therefore, its script should act normally now. Closing this bug for tftpd-hpa. It can still be used for other packages with init.d scripts which return 0 on stop when there was nothing to stop. ** Changed in: tftp-hpa (Ubuntu) Status: New => Fix Released -- debhelper script creates prerm script that causes daemon removal to be impossible https://bugs.launchpad.net/bugs/119454 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 119454] Re: debhelper script creates prerm script that causes daemon removal to be impossible
Steve, is it correct that /etc/init.d/whatever scripts should return zero status when the daemon was already stopped? -- debhelper script creates prerm script that causes daemon removal to be impossible https://bugs.launchpad.net/bugs/119454 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 119454] Re: debhelper script creates prerm script that causes daemon removal to be impossible
Thank you for taking the time to report this issue and help to improve Ubuntu. The behavior of debhelper here is correct; any init script which exits non-zero when trying to stop a daemon that isn't running is buggy and should be fixed. This will be clarified in an upcoming update to Debian policy, on which Ubuntu's packaging policy is based; however, this is not a change to the intent of policy, which has always been that init scripts not fail when called to stop an already-stopped process. Note that debhelper ignoring init script failures on removal is incorrect because if a daemon could *not* be stopped for whatever reason and should have been, leaving it running after the package has been removed constitutes a potential security hole. ** Changed in: debhelper (Ubuntu) Status: New => Invalid -- debhelper script creates prerm script that causes daemon removal to be impossible https://bugs.launchpad.net/bugs/119454 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 119454] Re: debhelper script creates prerm script that causes daemon removal to be impossible
** Also affects: tftp-hpa (Ubuntu) Importance: Undecided Status: New -- debhelper script creates prerm script that causes daemon removal to be impossible https://bugs.launchpad.net/bugs/119454 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 119454] Re: debhelper script creates prerm script that causes daemon removal to be impossible
I came into #ubuntu with problems regarding vmware-player, and the chmod -x helped. Too bad you can't vote for bugs, like on bugs.kde.org, since that's something I would otherwise have definitely done for this bug. ** Attachment added: "Console output showing that this fix worked fine" http://launchpadlibrarian.net/8309951/vmware-console.log -- debhelper script creates prerm script that causes daemon removal to be impossible https://bugs.launchpad.net/bugs/119454 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 119454] Re: debhelper script creates prerm script that causes daemon removal to be impossible
** Changed in: debhelper (Ubuntu) Sourcepackagename: None => debhelper -- debhelper script creates prerm script that causes daemon removal to be impossible https://bugs.launchpad.net/bugs/119454 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs