You have been subscribed to a public bug by Steve Langasek (vorlon):
Binary package hint: debhelper
packages created with debhelper with an upstart job integrate on
postinst script an unconditionally start, for example samba packages has
this
# Automatically added by dh_installinit
if [ -e "/etc/init/smbd.conf" ]; then
# start fails if already running
start smbd || :
fi
with this script on upgrade samba is started regardless of previous
status
autoscripts/cat postinst-upstart
which contains original template for this script should be corrected to
check status of job before start package
something like (metacode)
if (operation==upgrade and job.preupgrade.status==start and exist(job.conf))
then
start job
fi
** Affects: debhelper (Ubuntu)
Importance: High
Assignee: Steve Langasek (vorlon)
Status: Fix Released
--
dh_installinit upstart support start a job in postinst script regardless of
previous status
https://bugs.launchpad.net/bugs/690640
You received this bug notification because you are a member of Ubuntu Server
Team, which is a direct subscriber.
--
Ubuntu-server-bugs mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs