| Summary: | net-print/cups-1.7.1 mangles networked printer hostnames | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Paramonov Valeriy <asm64> |
| Component: | Current packages | Assignee: | Printing Team <printing> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | emerge --info | ||
|
Description
Paramonov Valeriy
2014-03-20 05:49:01 UTC
Created attachment 373076 [details]
emerge --info
Please post your `emerge -vpq net-print/cups' output in a comment. (In reply to Jeroen Roovers from comment #2) > Please post your `emerge -vpq net-print/cups' output in a comment. [ebuild R ] net-print/cups-1.7.1 USE="X acl dbus gnutls java kerberos pam python ssl threads usb xinetd zeroconf -debug -lprng-compat (-selinux) -static-libs" LINGUAS="ru -ca -es -fr -it -ja" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" But I also builded without zeroconf and avahi. In this case network printers was not showed at all. Now I return avahi and zeroconf flags. If I stop cups-browsed, then I can find printers manually and add them, but printing still not work with the same error: Processing - "Unable to locate printer "sales-1.local" If I add such string "<IP> sales-1.local" to /etc/hosts, then printing works well. Hello. Now I have a solution. This actions for both sides with 1.7.1: 1. set on mdnsresponder-compat zeroconf avahi autoipd 2. emerge -av nss-mdns avahi cups cups-filters 3. modify the configuration file /etc/nsswitch.conf hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 4. modify the configuration file /etc/cups/cups-browsed.conf BrowseProtocols DNSSD 5. /etc/init.d/cups-browsed restart (will restart cupsd too) Now links to network printers have true network paths (ip:631/printers/printer), administration and printing works fine. But if we will stop the cups-browsed, then network printers will not appear at all, even through administration->find new printer. Thanks. Does this still apply to current cups (2.1 / 2.2)? |