[Bug 861084] New: systemd generator to create cups.socket that matches cupsd.conf
https://bugzilla.novell.com/show_bug.cgi?id=861084 https://bugzilla.novell.com/show_bug.cgi?id=861084#c0 Summary: systemd generator to create cups.socket that matches cupsd.conf Classification: openSUSE Product: openSUSE Factory Version: 13.2 Milestone 0 Platform: All OS/Version: openSUSE 13.2 Status: ASSIGNED Severity: Enhancement Priority: P5 - None Component: Printing AssignedTo: jsmeix@suse.com ReportedBy: jsmeix@suse.com QAContact: jsmeix@suse.com Found By: Development Blocker: ---
If you want a really good solution, write a systemd generator that creates the cups.socket with ListenDatagram=<the network allowed in the cups config> --------------------------------------------------------------------------- Currently I don't know anything at all about systemd generator. I would very much appreciate any help. Preferably a first proof of concept systemd generator attached here (as MIME type text/plain) so that I could get a first idea how such a systemd generator for cups.socket might be implemented. Regarding "<the network allowed in the cups config>": This could become tricky because several settings in cupsd.conf can specify where the cupsd listens for TCP and UDP. For TCP see "Listen" and "Port" at http://www.cups.org/documentation.php/doc-1.5/ref-cupsd-conf.html ----------------------------------------------------------------------- Listen Examples Listen 127.0.0.1:631 Listen 192.0.2.1:631 Listen [::1]:631 Listen *:631 Description The Listen directive specifies a network address and port to listen for connections. Multiple Listen directives can be provided to listen on multiple addresses. The Listen directive is similar to the Port directive but allows you to restrict access to specific interfaces or networks. [...] Port Examples Port 631 Port 80 Description The Port directive specifies a port to listen on. Multiple Port lines can be specified to listen on multiple ports. The Port directive is equivalent to "Listen *:nnn". The default port is 631. Note: On systems that support IPv6, this directive will bind to both the IPv4 and IPv6 wildcard address. ----------------------------------------------------------------------- For UDP see in particular "Browsing" at http://www.cups.org/documentation.php/doc-1.5/ref-cupsd-conf.html ----------------------------------------------------------------------- Browsing Examples Browsing On Browsing Off Description The Browsing directive controls whether or not network printer browsing is enabled. The default setting is Yes. This directive does not enable sharing of local printers by itself; you must also use the BrowseAddress or BrowseProtocols directives to advertise local printers to other systems. ----------------------------------------------------------------------- -- 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=861084 https://bugzilla.novell.com/show_bug.cgi?id=861084#c Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low See Also| |https://bugzilla.novell.com | |/show_bug.cgi?id=857372 -- 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=861084 https://bugzilla.novell.com/show_bug.cgi?id=861084#c1 Erwin Van de Velde <erwin.vandevelde@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P4 - Low |P1 - Urgent CC| |erwin.vandevelde@gmail.com Severity|Enhancement |Major --- Comment #1 from Erwin Van de Velde <erwin.vandevelde@gmail.com> 2014-01-30 12:54:55 UTC --- With all your respect, I am changing the priority to Urgent/Major. I am using a remote CUPS daemon and without changing cups.socket it is impossible to print anymore. I found it after a bit of searching, but this is not an easy fix and a major regression! Last cups update changed this and this should be fixed ASAP! -- 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=861084 https://bugzilla.novell.com/show_bug.cgi?id=861084#c2 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 - Urgent |P4 - Low Severity|Major |Enhancement --- Comment #2 from Johannes Meixner <jsmeix@suse.com> 2014-01-30 14:35:23 CET --- Erwin Van de Velde, your issue has nothing to do with this enhancement request. Very likely your issue is bnc#857372 see in particular https://bugzilla.novell.com/show_bug.cgi?id=857372#c75 In short: Please update CUPS with the cups packages in OBS project "Printing" and report in bnc#857372 whether or not it works for you. -- 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=861084 https://bugzilla.novell.com/show_bug.cgi?id=861084#c3 --- Comment #3 from Erwin Van de Velde <erwin.vandevelde@gmail.com> 2014-01-30 16:07:27 UTC --- Johannes Meixner: they are definitely related, but I think if this bug is fixed, it fixes my CUPS problems, regardless of the other report. It is all about creating the right cups.socket file. Now I can choose to allow incoming CUPS broadcasts and the cups.socket still tells my system to listen to the localhost only... -- 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=861084 https://bugzilla.novell.com/show_bug.cgi?id=861084#c4 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugzilla.novell.com | |/show_bug.cgi?id=863570 --- Comment #4 from Johannes Meixner <jsmeix@suse.com> 2014-02-12 17:59:49 CET --- There could be an alternative: bnc#863570 "systemd cups.socket listening only on unix domain socket plus using desktop magic for remote queue browsing" The advantage there is the static cups.socket file. The advantage here is that no desktop magic is needed. -- 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