Public bug reported:

Binary package hint: cupsys

I spend some time to figure out this problem. A few days ago I did a clean 
network installation of current Ubuntu Intrepid and today I tried to print the 
first time with the new installation to a network attached printer. But instead 
of printing the document CUPS complained about not finding my printer.
Afaik the problem is the combination of cupsys, apparmor and resolvconf 
package. As cupsd tries to access "/etc/resolvconf/run/resolv.conf" when 
resolvconf is installed, the current cups apparmor profile prevents the access 
and failes.

[ 1589.722865] type=1503 audit(1224444992.988:13):
operation="inode_permission" requested_mask="r::" denied_mask="r::"
fsuid=0 name="/etc/resolvconf/run/resolv.conf" pid=14169
profile="/usr/sbin/cupsd"

My current solution is to append the line "
/etc/resolvconf/run/resolv.conf r," to /etc/apparmor.d/usr.sbin.cupsd.
After that printing works fine.

----------------------------------

Package: cupsys
Status: install ok installed
Priority: extra
Section: oldlibs
Installed-Size: 88
Maintainer: Ubuntu Core Developers <[EMAIL PROTECTED]>
Architecture: all
Source: cups
Version: 1.3.9-1
Depends: cups
Description: Common UNIX Printing System (transitional package)
 This is a dummy package to ease transition to new package name.
Original-Maintainer: Debian CUPS Maintainers <[EMAIL PROTECTED]>

** Affects: cupsys (Ubuntu)
     Importance: Undecided
         Status: New

-- 
cups fails to print to network printer if resolvconf package is installed 
(apparmor)
https://bugs.launchpad.net/bugs/286080
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to