[Bug 948115] [NEW] Detect if system is running upstart seems wrong

Laurent Bigonville bigon at ubuntu.com
Tue Mar 6 15:43:27 UTC 2012


Public bug reported:

Hi,

The postinstall script supposed to detect if the system is running
upstart or not with the following code:

if [ -f /etc/init/mcollective.conf ]; then
                sed -i "s@^daemonize.*@daemonize = 0@" $MCOLLECTIVE_SERVER_CFG
fi

This seems wrong to me as an upstart job description could be installed
even if the system by itself is not running upstart and the user could
switch to an other init system without re-runnung the pkg configure

** Affects: mcollective (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mcollective in Ubuntu.
https://bugs.launchpad.net/bugs/948115

Title:
  Detect if system is running upstart seems wrong

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mcollective/+bug/948115/+subscriptions



More information about the Ubuntu-server-bugs mailing list