Comment 6 for bug 1098756

Revision history for this message
Stéphane Graber (stgraber) wrote :

The reason behind this is that upstart won't prevent a running job from restarting when its start condition no longer applies, so the package upgrade just restarted cups-browsed which obviously didn't fix the problem. The start condition should however fix the problem for any subsequent boot of the machine.

I could have added something along the lines of "initctl status avahi-daemon 2>&1 | grep -q 'start/running' || stop cups-browsed" to the postinst, but that's fairly ugly and I didn't think was justified considering the limited number of affected people and the fact that it's a development release.