[Bug 1178604] New: cups cannot print to remote cups: Could not start IPP Backend (/usr/lib/cups/backend/ipp): 13 Permission denied
http://bugzilla.opensuse.org/show_bug.cgi?id=1178604 Bug ID: 1178604 Summary: cups cannot print to remote cups: Could not start IPP Backend (/usr/lib/cups/backend/ipp): 13 Permission denied Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: openSUSE Tumbleweed Status: NEW Severity: Major Priority: P5 - None Component: Printing Assignee: jsmeix@suse.com Reporter: luizluca@tre-sc.jus.br QA Contact: jsmeix@suse.com Found By: --- Blocker: --- Hello, For some time with Tumbleweed and now also with Leap 15.2, I cannot print to a remote cups server directly polled with: cupsd-browsed.conf: BrowsePoll remote.cups.server.addr LocalQueueNamingRemoteCUPS RemoteName All remote cups printers are network printers. If I add that remote printer as a local printer (with remote uri), it works as expected. I can list all remote printers correctly and I can print manually from my machine using: lp -h remote.cups.server.addr -d printername -t testjob a.txt While this fails: lp -d printername -t testjob a.txt with: Could not start IPP Backend (/usr/lib/cups/backend/ipp): 13 Permission denied I used strace to follow the calls from cups until ipp and saw this: [pid 29201] execve("/usr/lib/cups/daemon/cups-exec", ["/usr/lib/cups/daemon/cups-exec", "-g", "7", "-n", "0", "-u", "4", "none", "/usr/lib/cups/filter/texttopdf", ..., "/var/spool/cups/d00109-001"]) [pid 29201] execve("/usr/lib/cups/filter/texttopdf", [..., "/var/spool/cups/d00109-001"]) [pid 29202] execve("/usr/lib/cups/daemon/cups-exec", ["/usr/lib/cups/daemon/cups-exec", "-g", "7", "-n", "0", "-u", "4", "none", "/usr/lib/cups/backend/implicitclass", "implicitclass://printername/", ...]) [pid 29202] execve("/usr/lib/cups/backend/implicitclass", ["implicitclass://printername/", ...]) [pid 29203] execve("/usr/lib/cups/filter/gziptoany", ["ipp://remote.cups.server.addr:631/printers/printername", ..., "/var/spool/cups/tmp/072125faaaeab"]) [pid 29204] execve("/usr/lib/cups/backend/ipp", ["ipp://remote.cups.server.addr:631/printers/printername", "/var/spool/cups/tmp/072125fab6733"]) So cups switch to user 4(lp) group 7(lp), calls implicitclass, which calls gziptoany and ipp. However, ipp cannot be used by lp: -rwxr-xr-x 1 root root 23096 ago 25 16:42 /usr/lib/cups/backend/implicitclass -rwx------ 1 root root 84104 out 26 13:42 /usr/lib/cups/backend/ipp -rwxr-xr-x 1 root root 14384 out 26 13:42 /usr/lib/cups/filter/gziptoany If I change ipp owner to lp, printing works as expected. As it might be a good reason for 0700 permission, I'll not guess the correct solution. Anyway, the fix needs to be backported to 15.2 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178604
http://bugzilla.opensuse.org/show_bug.cgi?id=1178604#c1
Johannes Meixner
http://bugzilla.opensuse.org/show_bug.cgi?id=1178604
http://bugzilla.opensuse.org/show_bug.cgi?id=1178604#c2
Johannes Meixner
http://bugzilla.opensuse.org/show_bug.cgi?id=1178604
http://bugzilla.opensuse.org/show_bug.cgi?id=1178604#c4
Johannes Meixner
http://bugzilla.opensuse.org/show_bug.cgi?id=1178604
http://bugzilla.opensuse.org/show_bug.cgi?id=1178604#c14
H Markert
participants (1)
-
bugzilla_noreply@suse.com