[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 <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED URL| |https://github.com/OpenPrin | |ting/cups-filters/issues/18 | |3 CC| |luizluca@tre-sc.jus.br Found By|--- |Community User Flags| |needinfo?(luizluca@tre-sc.j | |us.br) --- Comment #1 from Johannes Meixner <jsmeix@suse.com> --- Luiz Angelo Daros de Luca thank you for your clear and descriptive issue report and in particular for your analysis and your solution! It is much appreciated because such reports help us a lot. I did the same analysis in the duplicate bug #1175113 but there I got no reply from the reporter whether or not # chmod u=rwx,g=,o= /usr/lib/cups/backend/implicitclass helped him. See https://github.com/OpenPrinting/cups-filters/issues/183 (which is also linked in bug #1175113) and therein https://github.com/OpenPrinting/cups-filters/issues/183#issuecomment-5701962... where Till Kamppeter explains why # chmod u=rwx,g=,o= /usr/lib/cups/backend/implicitclass is better in general than changing ipp owner to lp. In bug #1175113 there is a link to bug #1174709 where the initial comment https://bugzilla.opensuse.org/show_bug.cgi?id=1174709#c0 tells that installing cups-filters from the OBS Printing repository helped to fix bug #1174709. Currently we (i.e. openSUSE) have cups-filters version 1.27.2 in the OBS Printing development project and in openSUSE:Factory which means that version is currently also in Tumbleweed. But you tell that this issue here appears also in Tumbleweed which indicates cups-filters version 1.27.2 is not sufficient to get this problem here fixed so that we need a more up-to-date cups-filters version to get both issues fixed. Is this right or does your Tumbleweed perhaps somehow still have an older cups-filters version? -- 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#c2 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(luizluca@tre-sc.j | |us.br) | --- Comment #2 from Johannes Meixner <jsmeix@suse.com> --- Stuipd me - dumb question. That the "implicitclass" backend gets installed with 0700 permissions is not an issue in the cups-filters sources so the cups-filters version does not matter. That the "implicitclass" backend gets installed with 0700 permissions is an issue in our RPM spec file. I will fix the right now... -- 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#c4 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |IN_PROGRESS Flags| |needinfo?(luizluca@tre-sc.j | |us.br) --- Comment #4 from Johannes Meixner <jsmeix@suse.com> --- New (hopefully fixed) cups-filters RPMs in the OBS development project "Printing" for openSUSE_Leap_15.2 x86_64 are available from http://download.opensuse.org/repositories/Printing/openSUSE_Leap_15.2/x86_64... Please test them if it is possible for you to use RPMs from the "Printing" development project and if yes provide feedback if this issue is fixed in your environment. Regarding using RPMs from the "Printing" development project see the "Printing" project description at https://build.opensuse.org/project/show/Printing -- 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#c14 H Markert <mephisto@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mephisto@gmx.net --- Comment #14 from H Markert <mephisto@gmx.net> --- This bug still exists on a freshly installed leap 15.4 RC machine. When will it be fixed in the leap repositories? -- 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 <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED URL| |https://github.com/OpenPrin | |ting/cups-filters/issues/18 | |3 CC| |luizluca@tre-sc.jus.br Found By|--- |Community User Flags| |needinfo?(luizluca@tre-sc.j | |us.br) --- Comment #1 from Johannes Meixner <jsmeix@suse.com> --- Luiz Angelo Daros de Luca thank you for your clear and descriptive issue report and in particular for your analysis and your solution! It is much appreciated because such reports help us a lot. I did the same analysis in the duplicate bug #1175113 but there I got no reply from the reporter whether or not # chmod u=rwx,g=,o= /usr/lib/cups/backend/implicitclass helped him. See https://github.com/OpenPrinting/cups-filters/issues/183 (which is also linked in bug #1175113) and therein https://github.com/OpenPrinting/cups-filters/issues/183#issuecomment-5701962... where Till Kamppeter explains why # chmod u=rwx,g=,o= /usr/lib/cups/backend/implicitclass is better in general than changing ipp owner to lp. In bug #1175113 there is a link to bug #1174709 where the initial comment https://bugzilla.opensuse.org/show_bug.cgi?id=1174709#c0 tells that installing cups-filters from the OBS Printing repository helped to fix bug #1174709. Currently we (i.e. openSUSE) have cups-filters version 1.27.2 in the OBS Printing development project and in openSUSE:Factory which means that version is currently also in Tumbleweed. But you tell that this issue here appears also in Tumbleweed which indicates cups-filters version 1.27.2 is not sufficient to get this problem here fixed so that we need a more up-to-date cups-filters version to get both issues fixed. Is this right or does your Tumbleweed perhaps somehow still have an older cups-filters version? -- 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#c2 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(luizluca@tre-sc.j | |us.br) | --- Comment #2 from Johannes Meixner <jsmeix@suse.com> --- Stuipd me - dumb question. That the "implicitclass" backend gets installed with 0700 permissions is not an issue in the cups-filters sources so the cups-filters version does not matter. That the "implicitclass" backend gets installed with 0700 permissions is an issue in our RPM spec file. I will fix the right now... -- 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#c4 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |IN_PROGRESS Flags| |needinfo?(luizluca@tre-sc.j | |us.br) --- Comment #4 from Johannes Meixner <jsmeix@suse.com> --- New (hopefully fixed) cups-filters RPMs in the OBS development project "Printing" for openSUSE_Leap_15.2 x86_64 are available from http://download.opensuse.org/repositories/Printing/openSUSE_Leap_15.2/x86_64... Please test them if it is possible for you to use RPMs from the "Printing" development project and if yes provide feedback if this issue is fixed in your environment. Regarding using RPMs from the "Printing" development project see the "Printing" project description at https://build.opensuse.org/project/show/Printing -- 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#c14 H Markert <mephisto@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mephisto@gmx.net --- Comment #14 from H Markert <mephisto@gmx.net> --- This bug still exists on a freshly installed leap 15.4 RC machine. When will it be fixed in the leap repositories? -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com