Detect if system is running upstart seems wrong

Bug #948115 reported by Laurent Bigonville
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mcollective (Ubuntu)
Invalid
Low
Unassigned

Bug Description

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

James Page (james-page)
Changed in mcollective (Ubuntu):
importance: Undecided → Low
Revision history for this message
James Page (james-page) wrote :

Hi Laurent

Thanks for taking the time to report this bug.

Upstart is the supported init system for Ubuntu - so I don't believe this is a bug as the changes are held in the Ubuntu delta over the original Debian packaging. The scenario you describe is very unlikely.

Marking 'Invalid' with this in mind.

Thanks

Changed in mcollective (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.