Package: Apache Version: 2.2.16-4 A user reported on the mailing lists [1] that <quote>if the Apache configuration needs DNS to start, Apache silently and without logging anything fails to start in Squeeze. This used to work correctly under the old startup mechanism in Lenny. In order to make Apache startup under insserv in cases where the Apache config needs DNS information I eventually created /etc/insserv/overrides/apache2 containing only: #!/bin/sh ### BEGIN INIT INFO # Provides: apache2 # Required-Start: $local_fs $remote_fs $network $syslog $named # Required-Stop: $local_fs $remote_fs $network $syslog $named # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # X-Interactive: true # Short-Description: Start/stop apache2 web server ### END INIT INFO</quote>
Perhaps the following is a viable alternative? ### BEGIN INIT INFO # Provides: apache2 # Required-Start: $local_fs $remote_fs $network $syslog # Should-Start $named # Required-Stop: $local_fs $remote_fs $network $syslog # Should-Stop $named # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # X-Interactive: true # Short-Description: Start/stop apache2 web server ### END INIT INFO" According to the insserv wiki[2] should-start is a soft dependency that only kicks in if the service is present. Perhaps someone could cc the insserv people and get advice on this. [1] http://lists.debian.org/debian-user/2010/12/msg01609.html [2] http://wiki.debian.org/LSBInitScripts -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org