Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cups: Obsolete directives #5800

Closed
stephdl opened this issue Aug 2, 2019 · 3 comments

Comments

@stephdl
Copy link

commented Aug 2, 2019

Steps to reproduce

  • install the last nethserver-cups
  • check logs you will find obsolete and not known directives
E [02/Aug/2019:16:02:23 +0200] Unknown directive BrowseOrder on line 22 of /etc/cups/cupsd.conf.
E [02/Aug/2019:16:02:23 +0200] Unknown directive BrowseAllow on line 23 of /etc/cups/cupsd.conf.
E [02/Aug/2019:16:02:23 +0200] Unknown browse protocol "CUPS" ignored.

Expected behavior

I expect no warnings, nor errors

Actual behavior

With cups 1.6.3, the settings have changed, now you need to modify

# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseLocalProtocols CUPS dnssd

to

# Show shared printers on the local network.
Browsing Yes
BrowseWebIF Yes
BrowseLocalProtocols All

according to man cupsd.conf

       BrowseLocalProtocols [All] [DNSSD]
            Specifies the protocols to use for local printer sharing.

       BrowseWebIF Yes

       BrowseWebIF No
            Specifies whether the CUPS web interface is advertised via DNS-SD.

       Browsing Yes

       Browsing No
            Specifies whether or not shared printers should be advertised.

Components

nethserver-cups-1.2.1-1.ns7.noarch
cups-1.6.3-35.el7.x86_64

See also

https://community.nethserver.org/t/cups-does-not-work-error-message-like-unknown-directive-browseorder


thank to Rodrigo Ramalho

@stephdl stephdl self-assigned this Aug 2, 2019

@stephdl stephdl added the bug label Aug 2, 2019

@stephdl stephdl added this to ✋ Needs review in NethServer 7 via automation Aug 2, 2019

@stephdl stephdl moved this from ✋ Needs review to ⚙ Developing in NethServer 7 Aug 2, 2019

stephdl added a commit to NethServer/nethserver-cups that referenced this issue Aug 5, 2019

@nethbot

This comment has been minimized.

Copy link
Member

commented Aug 5, 2019

in 7.6.1810/testing:

@stephdl

This comment has been minimized.

Copy link
Author

commented Aug 5, 2019

QA

  • Install rpm from testing, then check no errors in /var/log/cups/error_log
  • test if remote shared printer are shown

@stephdl stephdl removed their assignment Aug 5, 2019

@stephdl stephdl added the testing label Aug 5, 2019

@DavidePrincipi DavidePrincipi added verified and removed testing labels Aug 9, 2019

@nethbot

This comment has been minimized.

Copy link
Member

commented Aug 9, 2019

in 7.6.1810/updates:

@stephdl stephdl closed this Aug 9, 2019

NethServer 7 automation moved this from ⚙ Developing to 🗑 Done Aug 9, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
You can’t perform that action at this time.