Detect if system is running upstart seems wrong
Bug #948115 reported by
Laurent Bigonville
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/
sed -i "s@^daemonize.
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
Changed in mcollective (Ubuntu): | |
importance: | Undecided → Low |
To post a comment you must log in.
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