The verification fails: Stopping Next generation IRC server: invoke-rc.d: initscript ngircd, action "stop" failed. dpkg: warning - old pre-removal script returned error exit status 1 dpkg - trying script from the new package instead ... Stopping Next generation IRC server: invoke-rc.d: initscript ngircd, action "stop" failed. dpkg: error processing ngircd_0.10.3-2ubuntu0.1_amd64.deb (--install): subprocess new pre-removal script returned error exit status 1 Starting Next generation IRC server: start-stop-daemon: Unable to open pidfile `/var/run/ngircd/ngircd.pid' for writing: No such file or directory (No such file or directory) ngircd.
One possible solution is to check if /var/run/ngircd/ngircd.pid exists before calling start-stop-daemon in the stop action of the init script. Other solutions (which I haven't tested) could be to use oknodo or error-handler. One can also think to have the check before the case to also cover the reload and force-reload actions (but that would go too far for this purpose I guess). ** Attachment added: "Possible patch to solve the problem" http://launchpadlibrarian.net/17563827/ngircd.patch ** Tags added: verification-failed ** Tags removed: verification-needed -- ngircd refuses to start automatically through sysv init https://bugs.launchpad.net/bugs/85266 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
