Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 634048 - net-print/cups[zeroconf] is unable to find printers served as dnssd:// if sys-auth/nss-mdns is not installed and configured
Summary: net-print/cups[zeroconf] is unable to find printers served as dnssd:// if sys...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-11 20:34 UTC by Pacho Ramos
Modified: 2021-10-28 09:49 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2017-10-11 20:34:55 UTC
I was trying to configure a Canon Pixma MG 3650 printer connected via WiFi. It wasn't working, when I was adding it from localhost:631, it was recognized but, later, when trying to print the test page, it fails as printer becomes "unreachable".

Googling a lot, I found that I need to install sys-auth/nss-mdns and configure it for ipv4 its ebuild suggests.

Personally, I think that cups should at least give a hint about this requirement or, maybe, a warning message could suggest people to install and configure nss-mdns when they are on a local network without a better DNS server

Thanks a lot
Comment 1 Thymo van Beers 2018-01-04 16:48:52 UTC
It also took me some time to find out I needed sys-auth/nss-mdns.

I'm of the opinion that it will be very beneficial to put up a note for other users.
Comment 2 Pacho Ramos gentoo-dev 2021-07-06 06:12:23 UTC
This is still needed
Comment 3 Larry the Git Cow gentoo-dev 2021-10-28 09:49:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f6d1abb628f060426d6871edd65aa0ec70cee12

commit 8f6d1abb628f060426d6871edd65aa0ec70cee12
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2021-10-28 09:49:01 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2021-10-28 09:49:13 +0000

    net-print/cups: Multiple bug fixes
    
    - Fix missing dep on avahi[dbus] (#695438)
    - Ensure server path is always correct (#615438)
    - Recommend sys-auth/nss-mdns when needed (#634048)
    - Fix /run paths (#685308)
    - Respect empty LINGUAS (#771162)
    - Fix empty dirs handling (#798855)
    - Fix printing on some Samsung devices (#801316)
    - Apply other upstream accepted patches widely tested on Fedora and Debian.
    
    Closes: https://bugs.gentoo.org/695438
    Thanks-to: Mart Raudsepp
    Closes: https://bugs.gentoo.org/615438
    Thanks-to: Stefan Schmid
    Closes: https://bugs.gentoo.org/634048
    Closes: https://bugs.gentoo.org/685308
    Thanks-to: Bertrand Jacquin
    Closes: https://bugs.gentoo.org/771162
    Thanks-to: i.Dark_Templar
    Closes: https://bugs.gentoo.org/798855
    Thanks-to: Marco Scardovi (scardracs)
    Closes: https://bugs.gentoo.org/801316
    Thanks-to: Gentlenoob
    Thanks-to: mehw
    Thanks-to: Volkmar W. Pogatzki
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 net-print/cups/cups-2.3.3_p2-r3.ebuild             | 326 +++++++++++++++++++++
 .../files/cups-2.3.3-enforcing-read-limits.patch   |  29 ++
 .../cups/files/cups-2.3.3-ipp-retry-validate.patch |  43 +++
 net-print/cups/files/cups-2.3.3-manpage.patch      |  23 ++
 net-print/cups/files/cups-2.3.3-timeout.patch      |  26 ++
 net-print/cups/files/cupsd.init.d-r4               |  22 ++
 6 files changed, 469 insertions(+)