Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 702592 - net-print/cups-filters - cups-browsed using legacy CUPS protocol breaks remote printing
Summary: net-print/cups-filters - cups-browsed using legacy CUPS protocol breaks remot...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2019-12-12 02:04 UTC by Karl Hakimian
Modified: 2021-08-18 07:20 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to fix bad path for backend executables in implicitclass backend. (implicit.patch,3.57 KB, patch)
2019-12-12 02:07 UTC, Karl Hakimian
Details | Diff
Slightly updated patch from upstream (implicit.patch,3.92 KB, patch)
2019-12-13 20:25 UTC, Karl Hakimian
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Hakimian 2019-12-12 02:04:29 UTC
A combination of an upstream bug and a permission issue has all printers added via cups-browsed using the legacy CUPS protocol silenting fail when printing.

Reproducible: Always

Steps to Reproduce:
1. Configure cups-browsed to use CUPS protocol and listen for remote printers
2. Try to print to any printer that was added

Actual Results:  
The server where the printer is says nothing was ever sent. The client things it printed successfully.

Expected Results:  
Print job should come up on the printer along with a log entry saying it happened.

Working with the developer at github, we tracked this down to issues with a hard coded path /usr/lib/cups/... instead of using /usr/libexec/cups/... that caused the the ipp backend to not be run. Further issues with error reporting left the system thinking all is well. I will attach the patch that fixes that.

The second issue is the /usr/libexec/backend/ipp file is installed owned by root with execute permission of 700. This keeps the backend from running.
Comment 1 Karl Hakimian 2019-12-12 02:07:16 UTC
Created attachment 599252 [details, diff]
Patch to fix bad path for backend executables in implicitclass backend.
Comment 2 Karl Hakimian 2019-12-13 20:25:20 UTC
Created attachment 599462 [details, diff]
Slightly updated patch from upstream
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-12-14 11:42:11 UTC
Does this still happen with cups-filters-1.26.0?
Comment 4 pogosyan 2020-01-05 22:53:13 UTC
As a remark, it is

/usr/libexec/cups/backend/ipp

not 

/usr/libexec/backend/ipp

Just spent half a Sunday tried to undertand why my remote printing is not working any more ...

cups-filters-1.26.0   works
Comment 5 Pacho Ramos gentoo-dev 2021-08-18 07:20:53 UTC
Thanks for the feedback