• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

0.32: Installation Script messes on Debian

Scheduled Pinned Locked Moved Solved
Bug Reports
2
2
1.7k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    Adrian Zaugg
    last edited by Feb 27, 2013, 6:03 PM

    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/sh

    BEGIN 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/sh

    BEGIN 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.

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Jun 15, 2014, 4:13 PM

      While a long time coming, I’ve added these suggestions to all three of the init.d files.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      1 / 1
      • First post
        1/2
        Last post

      161

      Online

      12.0k

      Users

      17.3k

      Topics

      155.2k

      Posts
      Copyright © 2012-2024 FOG Project