Comment 13 for bug 295536

Revision history for this message
oh (oystein-homelien) wrote :

confirm same problem here, intrepid.

My ~/PDF/ is empty.

Printing a test page to the PDF printer via localhost:631, gives me this new file:

$ find /var/spool/cups-pdf/
/var/spool/cups-pdf/
/var/spool/cups-pdf/SPOOL
/var/spool/cups-pdf/ANONYMOUS
/var/spool/cups-pdf/ANONYMOUS/Test_Page.pdf

$ lpr -P PDF /etc/passwd

.. gives no error message, but the logs show the following:

Dec 10 04:25:45 citrus kernel: [1080014.940324] type=1503 audit(1228879545.448:28): operation="inode_permission" requested_mask="::rw" denied_mask="::rw" fsuid=1000 name="/dev/tty" pid=1423 profile="/usr/lib/cups/backend/cups-pdf"
Dec 10 04:25:45 citrus kernel: [1080014.971054] type=1503 audit(1228879545.476:29): operation="inode_create" requested_mask="a::" denied_mask="a::" fsuid=1000 name="/export/1/home/oystein/PDF/passwd.pdf" pid=1423 profile="/usr/lib/cups/backend/cups-pdf"

$ sudo less cups-pdf_log
Wed Dec 10 04:25:45 2008 [ERROR] failed to set file mode for PDF file (non fatal) (/home/oystein/PDF/passwd.pdf)

access_log:
localhost - - [10/Dec/2008:04:25:45 +0100] "POST / HTTP/1.1" 200 419 CUPS-Get-Printers successful-ok
localhost - - [10/Dec/2008:04:25:45 +0100] "POST / HTTP/1.1" 200 419 CUPS-Get-Classes successful-ok
localhost - - [10/Dec/2008:04:25:45 +0100] "POST / HTTP/1.1" 200 75 CUPS-Get-Default successful-ok
localhost - - [10/Dec/2008:04:25:45 +0100] "POST /printers/PDF HTTP/1.1" 200 2649 Print-Job successful-ok
localhost - - [10/Dec/2008:04:25:45 +0100] "POST / HTTP/1.1" 200 188 Get-Notifications successful-ok
localhost - - [10/Dec/2008:04:25:45 +0100] "POST / HTTP/1.1" 200 112 Get-Job-Attributes successful-ok

Nothing relevant in page_log or error_log.

I need to print-to-pdf, help!! :)