[cups] I can not share printers
toddandmargo
toddandmargo at zoho.com
Fri Aug 18 20:04:39 PDT 2017
Hi All,
# rpm -qa cups\*
cups-lpd-2.2.2-6.fc26.x86_64
cups-filters-1.13.4-3.fc26.x86_64
cups-filesystem-2.2.2-6.fc26.noarch
cups-2.2.2-6.fc26.x86_64
cups-pdf-2.6.1-12.fc26.x86_64
cups-pk-helper-0.2.6-2.fc26.x86_64
cups-libs-2.2.2-6.fc26.x86_64
cups-filters-libs-1.13.4-3.fc26.x86_64
cups-client-2.2.2-6.fc26.x86_64
# grep -i share /etc/cups/printers.conf
Shared Yes
Shared Yes
Shared Yes
Shared Yes
Shared Yes
I am replacing a Centos5 server with a Fedora 26 server.
i have cups configured for all the printers and they
all have printed test pages. All of are set to "shared".
problem: all my clients are XP and none can attach to
any of the shared cups printers, neither with lpr or
TCP/IP. (They are all XP, so no tests from W7.)
And cups-lpd won't start do to an SELinux error:
# systemctl start cups-lpd.socket
● cups-lpd.socket - CUPS LPD Server Socket
Loaded: loaded (/usr/lib/systemd/system/cups-lpd.socket; enabled; vendor preset: disabled)
Active: failed (Result: resources)
Listen: [::]:515 (Stream)
Accepted: 0; Connected: 0
Aug 18 18:26:49 FedoraServer.xxxx.local systemd[1]: cups-lpd.socket: Failed to listen on sockets: Permission denied
Aug 18 18:26:49 FedoraServer.xxxx.local systemd[1]: Failed to listen on CUPS LPD Server Socket.
Aug 18 18:26:49 FedoraServer.xxxx.local systemd[1]: cups-lpd.socket: Unit entered failed state.
Aug 18 18:30:54 FedoraServer.xxxx.local systemd[1]: cups-lpd.socket: Failed to listen on sockets: Permission denied
Aug 18 18:30:54 FedoraServer.xxxx.local systemd[1]: Failed to listen on CUPS LPD Server Socket.
Aug 18 18:33:45 FedoraServer.xxxx.local systemd[1]: cups-lpd.socket: Failed to listen on sockets: Permission denied
Aug 18 18:33:45 FedoraServer.xxxx.local systemd[1]: Failed to listen on CUPS LPD Server Socket.
Aug 18 18:37:30 FedoraServer.xxxx.local systemd[1]: cups-lpd.socket: Failed to listen on sockets: Permission denied
Aug 18 18:37:30 FedoraServer.xxxx.local systemd[1]: Failed to listen on CUPS LPD Server Socket.
SELinux is preventing systemd from setopt access on the tcp_socket port None.
allow this access for now by executing:
# ausearch -c 'systemd' --raw | audit2allow -M my-systemd
# semodule -X 300 -i my-systemd.pp
And the suggested action does not work.
What am I doing wrong?
Many thanks,
-T
More information about the cups
mailing list