*** This bug is a duplicate of bug 295318 ***
    https://bugs.launchpad.net/bugs/295318

I had nearly same problem in karmic. I already had the PDF directory in
my $HOME. Before updating to karmic, this worked normal.

Since karmic, I couldn't create PDF, too. I got logs like this.

audit(1267978731.819:427): operation="open" pid=16967 parent=16966
profile="/usr/lib/cups/backend/cups-pdf" requested_mask="rw::"
denied_mask="r::" fsuid=1000 ouid=1000
name="/home/pasche/PDF/Google.pdf"

and

[Job 216] GPL Ghostscript 8.70: **** Could not open the file
/home/pasche/PDF/Google.pdf .

in /var/log/cups/error_log

I solved my problem in purging cups-pdf and reinstalling cups. I
previously removed /etc/apparmor.d/usr.sbin.cupsd and manually extracted
this file from package "cups" because it hasn't been installed with the
"--reinstall" command of apt-get.

Now I can normally create PDF files as earlier.

But, I get the following errors in syslog.

Mar  7 17:33:42 tux2 kernel: [114768.642428] type=1503 
audit(1267979622.879:457): operation="open" pid=17642 parent=17641 
profile="/usr/lib/cups/backend/cups-pdf" requested_mask="::rw" 
denied_mask="::rw" fsuid=1000 ouid=0 name="/dev/tty"
Mar  7 17:33:42 tux2 kernel: [114768.649111] type=1503 
audit(1267979622.887:458): operation="open" pid=17642 parent=17641 
profile="/usr/lib/cups/backend/cups-pdf" requested_mask="::r" denied_mask="::r" 
fsuid=1000 ouid=0 name="/proc/filesystems"
Mar  7 17:33:42 tux2 kernel: [114768.650529] type=1503 
audit(1267979622.887:459): operation="open" pid=17642 parent=17641 
profile="/usr/lib/cups/backend/cups-pdf" requested_mask="::r" denied_mask="::r" 
fsuid=1000 ouid=0 name="/proc/filesystems"

But this does not seem to break anything yet.

Regards,

pasche

-- 
apparmor prevent cups-pdf to create ~/PDF folder
https://bugs.launchpad.net/bugs/270046
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to