The current rc-script for apache uses these settings: depend() { need net use mysql dns logger netmount } When using ssl and the certificate encrypted, apache halts the startup while waiting for a password. If this is done on a server without keyboard and monitor attatched to it, it stops the machine from booting unless the administrator connecting a keyboard and monitor to enter the password. Proposed solution: add ssh to the "use" options in the dependencies, this will ensure that sshd is started before apache, thus allowing the administrator to resolve the problem without physichal access to the computer. Reproducible: Always Steps to Reproduce: 1. Create a encrypted certificate for mod_ssl 2. Add apache to the daemons that will be started at boot 3. Reboot the computer.
Sorry for this, it would be better to use "after ssh" in the depend() section indtead of adding it in use. And this is for apache, just to get that word inside the report for the search features.
simple solution, don't put a passphrase on that certificate and protect it strongly instead. woodchip: can you set apache up to not ask for input and just fail if it needs input? it should not halt the boot process at all.
Robin: I've already made this change, its completely reasonable to me. ALthough I've not yet commited the round of updates yet, as I've not been able to track you and Stuart down on irc for a few days to discuss any matters. Basically that round of updates I mentioned are ready here on my hard drive, and I need to co-ordinate with you two before I stuff them in.
i added that to the rc-script.