Public bug reported: The torque-server init.d script doesn't work in a few interesting ways. The problem what I hit today is that torque-server start fails with exit code 1 if the Torque server process is already running, instead of succeeding (as required by Debian packaging guidelines). This makes dpkg --configure -a fail.
The attached patch improves /etc/init.d/torque-server to solve the problems what I saw. Comments on the patch: 1) yes, the server.lock file used in the script is a pid file, even though it's not named like one; 2) the reload section was removed because there's no signal that causes the torque server to reload its configuration (SIGHUP causes it to close and reopen its log files). ** Affects: torque (Ubuntu) Importance: Undecided Status: New -- torque-server script not idempotent https://bugs.launchpad.net/bugs/293163 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