cups fails to start if /lib/init/apparmor-profile-load doesn't exist

Bug #728592 reported by Zach Sadecki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Fix Released
Undecided
Martin Pitt

Bug Description

Binary package hint: cups

I installed the latest Natty package on my Maverick system because of bugs that it fixed. I had problems starting cups after that. I have diagnosed the problem as a test that fails and therefore causes the upstart script to abort. Here's the diff that fixes it:

diff cups.conf.old cups.conf
28c28,30
< [ -x /lib/init/apparmor-profile-load ] && /lib/init/apparmor-profile-load usr.sbin.cupsd
---
> if [ -x /lib/init/apparmor-profile-load ]; then
> /lib/init/apparmor-profile-load usr.sbin.cupsd
> fi

Related branches

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

AppArmor problem, moving to pitti ...

Changed in cups (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
Revision history for this message
Martin Pitt (pitti) wrote :

Fixed in bzr, thanks!

Changed in cups (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cups - 1.4.6-2

---------------
cups (1.4.6-2) unstable; urgency=low

  [ Till Kamppeter ]
  * debian/printer.schema: Added missing "printerType" attribute. Thanks to
    Mario Fetka for the hint (LP: #724980).

  [ Martin Pitt ]
  * ubuntu-upstart.dpatch: Fix start failure if apparmor-profile-load doesn't
    exist. Thanks Zach! (LP: #728592)

  [ Martin-Éric Racine ]
  * Added Recommends:smbclient to cups-client (Closes: #616015).
 -- Martin Pitt <email address hidden> Tue, 15 Mar 2011 15:11:19 +0100

Changed in cups (Ubuntu):
status: Fix Committed → Fix Released
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.