[Bug 757354] New: hp-setup is unable to discover network printers except by IP address
https://bugzilla.novell.com/show_bug.cgi?id=757354 https://bugzilla.novell.com/show_bug.cgi?id=757354#c0 Summary: hp-setup is unable to discover network printers except by IP address Classification: openSUSE Product: openSUSE 12.2 Version: Milestone 3 Platform: PC OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Printing AssignedTo: jsmeix@suse.com ReportedBy: malv_star@hotmail.com QAContact: jsmeix@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0 After starting hp-setup from the command-line, the GUI program so launched is unable to discover printers on the network except by IP address, even when an exception is explicitly added to the firewall for the purpose of network discovery. Reproducible: Always Steps to Reproduce: 1. Start YaST from within KMenu and select "Firewall" 2. In "Allowed Service" add "mDNS/Bonjour support for HPLIP" 3. Start the program "hp-setup" from the command line, either as root or as a regular user 4. Select the option "Network/Ethernet/Wireless network" 5. Click on "Show Advance Options" 6. The only discovery method that will be always be successful is to select "Manual Discovery" and then specify an IP address for the printer, though sometimes using only the hostname for the printer (assuming you are running an internal DNS server) may find the printer (using the full host and domain name for the printer eg. printer.company.site will not be successful) 3. Actual Results: The GUI program will display the message "No Devices Found" Expected Results: The printer is displayed in the discovered devices list. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=757354 https://bugzilla.novell.com/show_bug.cgi?id=757354#c1 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Found By|--- |Community User Resolution| |UPSTREAM --- Comment #1 from Johannes Meixner <jsmeix@suse.com> 2012-04-18 08:13:34 UTC --- We provide HPLIP "as is" from upstream. The bug exists upstream. "Responsibility for a bug is said to lie upstream when it is not caused through the distribution's porting efforts.", see https://bugzilla.novell.com/page.cgi?id=fields.html#status Please report the issue at HPLIP upstream according to http://hplipopensource.com/hplip-web/support.html I would appreciate it if you post the URL of your upstream report here as reference. In your case the following upstream documentation might help: http://hplipopensource.com/node/207 and perhaps also https://answers.launchpad.net/hplip/+question/153568 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=757354 https://bugzilla.novell.com/show_bug.cgi?id=757354#c2 Malvern Star <malv_star@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|UPSTREAM | --- Comment #2 from Malvern Star <malv_star@hotmail.com> 2012-04-19 08:04:23 UTC --- Johannes, I've reopened this bug as further experimentation has shown that when completely disabling openSUSE's firewall through YaST, the mDNS/Bonjour search method suddenly works. This means that the issue here is the SUSE firewall. I make this assertion because enabling mDNS/Bonjour for HPLIP in the firewall settings used to work, and now it does not. Instead you must disable the firewall entirely. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=757354 https://bugzilla.novell.com/show_bug.cgi?id=757354#c3 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |malv_star@hotmail.com Platform|PC |All Component|Printing |Security CC| |jsmeix@suse.com AssignedTo|jsmeix@suse.com |security-team@suse.de QAContact|jsmeix@suse.com |qa-bugs@suse.de Summary|hp-setup is unable to |SuSEfirewall2: hp-setup is |discover network printers |unable to discover network |except by IP address |printers via mDNS/Bonjour --- Comment #3 from Johannes Meixner <jsmeix@suse.com> 2012-04-19 08:50:09 UTC --- I.e. not a "Printing" issue but a SUSE firewall issue. I hope the Bugzilla component "Security" is the right one. Malvern Star, please attach your /etc/sysconfig/SuSEfirewall2 (with enabled mDNS/Bonjour for HPLIP) as MIME type "text/plain" to this bug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=757354 https://bugzilla.novell.com/show_bug.cgi?id=757354#c4 Malvern Star <malv_star@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|malv_star@hotmail.com | --- Comment #4 from Malvern Star <malv_star@hotmail.com> 2012-04-22 18:15:13 UTC --- Created an attachment (id=487337) --> (http://bugzilla.novell.com/attachment.cgi?id=487337) SuSEfirewall2 file with mDNS/Bonjour enabled File as requested. With the firewall enabled, discovery of HP network printers does not work. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=757354 https://bugzilla.novell.com/show_bug.cgi?id=757354#c5 --- Comment #5 from Ludwig Nussel <lnussel@suse.com> 2012-04-23 10:30:42 CEST --- 1. please reset /var/log/firewall: # > /var/log/firewall 2. run SuSEfirewall2 to install fresh rules # SuSEfirewall2 3. run hp-setup 4. attach /var/log/firewall -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=757354 https://bugzilla.novell.com/show_bug.cgi?id=757354#c Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |malv_star@hotmail.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=757354 https://bugzilla.novell.com/show_bug.cgi?id=757354#c6 Malvern Star <malv_star@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|malv_star@hotmail.com | --- Comment #6 from Malvern Star <malv_star@hotmail.com> 2012-04-24 06:53:05 UTC --- Created an attachment (id=487639) --> (http://bugzilla.novell.com/attachment.cgi?id=487639) Firewall log as requested in previous comment. Ran the series of steps requested above and made a copy of the firewall log file and attached it to this reply. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=757354 https://bugzilla.novell.com/show_bug.cgi?id=757354#c7 --- Comment #7 from Ludwig Nussel <lnussel@suse.com> 2012-04-24 11:28:27 CEST --- the packet filter drops packets that originate from port 5353 and target a high port on the local machine (50035 in this case). Could it be the case that hp-setup does not use avahi for the mdns discovery but sets up it's own listener on some random port instead? The firewall cannot catch that of course. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=757354 https://bugzilla.novell.com/show_bug.cgi?id=757354#c8 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lnussel@suse.com AssignedTo|security-team@suse.de |jsmeix@suse.com --- Comment #8 from Ludwig Nussel <lnussel@suse.com> 2012-04-24 11:30:23 CEST --- reassigning to hplip maintainer -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=757354 https://bugzilla.novell.com/show_bug.cgi?id=757354#c9 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |UPSTREAM --- Comment #9 from Johannes Meixner <jsmeix@suse.com> 2012-04-24 10:30:48 UTC --- See bnc#528819 and the matching upstream bug reports: ----------------------------------------------------------------------- As far as I see, HPLIP has its own implementation in io/hpmud/jd.c via the hpmud_mdns_lookup functions and in mdns.py which implement only what HPLIP needs for their mDNS/Bonjour support only via basic socket functions. -----------------------------------------------------------------------
Ludwig, FYI what HPLIP upstream provides regarding firewall and mDNS/Bonjour support for HPLIP.
Don't use this. Packages are not allowed to modify firewall config. ----------------------------------------------------------------------- Regarding init-suse-firewall in the HPLIP 3.9.8 tar ball I filed https://bugs.launchpad.net/hplip/+bug/426161 ... Regarding "hplip must not implement mdns itself" I filed https://bugs.launchpad.net/hplip/+bug/426153 ----------------------------------------------------------------------- The bug exists upstream and is already reported there. Accordingly I close it as "UPSTREAM". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=757354 https://bugzilla.novell.com/show_bug.cgi?id=757354#c10 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|UPSTREAM | --- Comment #10 from Ludwig Nussel <lnussel@suse.com> 2012-04-24 13:05:17 CEST --- please remove the firewall config file then. It's misleading at best and dupliates entries already provided by avahi and openslp anyways -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=757354 https://bugzilla.novell.com/show_bug.cgi?id=757354#c11 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |UPSTREAM --- Comment #11 from Johannes Meixner <jsmeix@suse.com> 2012-04-24 11:54:11 UTC --- Done. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=757354 https://bugzilla.novell.com/show_bug.cgi?id=757354#c12 --- Comment #12 from Johannes Meixner <jsmeix@suse.com> 2012-04-24 12:45:16 UTC --- Request: #115200 submit: Printing/hplip -> openSUSE:Factory Message: no longer provide broken hplip.SuSEfirewall2 (bnc#757354 comment #10) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=757354 https://bugzilla.novell.com/show_bug.cgi?id=757354#c13 --- Comment #13 from Bernhard Wiedemann <bwiedemann@suse.com> 2012-04-24 15:01:31 CEST --- This is an autogenerated message for OBS integration: This bug (757354) was mentioned in https://build.opensuse.org/request/show/115200 Factory / hplip -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=757354 https://bugzilla.novell.com/show_bug.cgi?id=757354#c14 --- Comment #14 from Malvern Star <malv_star@hotmail.com> 2012-05-05 13:31:46 UTC --- Hold on a second, turning on the HPLIP mDNS/Bonjour setting in SuSEFirewall2 worked previously, but it doesn't work now. So what's changed? Also, the bugs filed upstream haven't been updated. Could they please be referenced back to this report and updated appropriately? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com