Perhaps one should add some kind of emergency timeout (example for 20 sec):
for (i = 0; (i < 20) && (parent_signal == 0); i ++) sleep(1); Then one can be sure that at least the boot or any other CUPS restart does not block the system totally. But this is only a workaround. Please check especially whether in the case of a blocking "sudo /etc/init.d/cupsys restart" the CUPS daemon is already listening ("lpstat -p" or printing from other terminal) or whether really the deamon itself is blocked. If the daemon is always listening in such cases the emergency timeout would help. Please report your results so that we can post an upstream bug report. ** Changed in: cupsys (Ubuntu) Status: Unconfirmed => Needs Info -- Cupsys hangs on restart and stop-start https://launchpad.net/bugs/55295 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs