0.32: Installation Script messes on Debian
-
The installation script of Fog 0.32 messes with several things on Debian:
-
It doesn’t use a2enmod to enable php5 module in Apache, instead it copies php5.load and php5.conf in /etc/apache2/mods-enabled which is wrong. It should leave the files in /etc/apache2/mods-available and call a2enmod.
-
It messes in rcX.d. Do not change existing startup links in here please, this is not the job of the installer. To fix startup issues you should use lsb tags in your init scripts.
-
It leaves several .fogbackup files behind, even if the originating folder oder file wasn’t changed by the installer.
-
The init scripts FOGScheduler, FOGMulticastManager and FOGImageReplicator do not provide a header for dependency based booting. Please add such header, for example:
/etc/init.d/FOGImageReplicator:
#!/bin/shBEGIN INIT INFO
Provides: FOGImageReplicator
Required-Start: $local_fs $remote_fs $network $syslog $network $inetd
Required-Stop: $local_fs $remote_fs $network $syslog $network $inetd
Default-Start: 3 4 5
Default-Stop: 0 1 6
X-Interactive: true
Short-Description: Start/stop FOGImageReplicator
END INIT INFO
…
and for /etc/init.d/FOGScheduler:
#!/bin/shBEGIN INIT INFO
Provides: FOGScheduler
Required-Start: FOGImageReplicator
Required-Stop: FOGImageReplicator
Default-Start: 3 4 5
Default-Stop: 0 1 6
X-Interactive: true
Short-Description: Start/stop FOGScheduler
END INIT INFO
…
I hope you can consider this for the next version. Thank you!
Best regards, Adrian.
-
-
While a long time coming, I’ve added these suggestions to all three of the init.d files.