[cups.bugs] [LOW] STR #4312: cupsd reports broken pipe if Require User added to / in cuspd.conf.

Paul Conklin paul.conklin at cerner.com
Thu Apr 18 20:28:39 PDT 2013


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Reverting back to 1.6.2 it works.

whats odd is it won't do it immediately, but will after a little while

<Location />
  Require user @SYSTEM
  Order allow,deny
  Allow All
</Location>

d [18/Apr/2013:22:23:53 -0500] cupsdAcceptClient(lis=0x2b01956b7f70(11))
Clients=0
D [18/Apr/2013:22:23:53 -0500] [Client 14] Accepted from localhost
(Domain)
d [18/Apr/2013:22:23:53 -0500] cupsdAddSelect(fd=14,
read_cb=0x2b018b866800, write_cb=(nil), data=0x2b01956bce70)
d [18/Apr/2013:22:23:53 -0500] cupsdCheckJobs: 0 active jobs, sleeping=0,
reload=0, curtime=1366341833
d [18/Apr/2013:22:23:53 -0500] select_timeout: JobHistoryUpdate=0
d [18/Apr/2013:22:23:53 -0500] [Client 14] cupsdReadClient error=0,
used=0, state=HTTP_STATE_WAITING, data_encoding=HTTP_ENCODING_LENGTH,
data_remaining=0, request=(nil)(), file=-1
D [18/Apr/2013:22:23:53 -0500] [Client 14] POST / HTTP/1.1
D [18/Apr/2013:22:23:53 -0500] cupsdSetBusyState: newbusy="Active
clients", busy="Not busy"
d [18/Apr/2013:22:23:53 -0500] cupsdFindBest: uri = "/"...
d [18/Apr/2013:22:23:53 -0500] cupsdFindBest: Location /admin/conf Limit
7f
d [18/Apr/2013:22:23:53 -0500] cupsdFindBest: Location /admin Limit 7f
d [18/Apr/2013:22:23:53 -0500] cupsdFindBest: Location / Limit 7f
d [18/Apr/2013:22:23:53 -0500] cupsdFindBest: best = /
d [18/Apr/2013:22:23:53 -0500] [Client 14] con->uri="/",
con->best=0x2b0191e43520(/)
d [18/Apr/2013:22:23:53 -0500] [Client 14] Authorization=""
D [18/Apr/2013:22:23:53 -0500] [Client 14] No authentication data
provided.
d [18/Apr/2013:22:23:53 -0500] cupsdIsAuthorized: con->uri="/",
con->best=0x2b0191e43520(/)
d [18/Apr/2013:22:23:53 -0500] cupsdIsAuthorized: level=CUPSD_AUTH_USER,
type=None, satisfy=CUPSD_AUTH_SATISFY_ALL, num_names=1
d [18/Apr/2013:22:23:53 -0500] cupsdIsAuthorized: auth=CUPSD_AUTH_ALLOW...
D [18/Apr/2013:22:23:53 -0500] cupsdIsAuthorized: username=""
d [18/Apr/2013:22:23:53 -0500] [Client 14] cupsdSendError code=401,
auth_type=0
D [18/Apr/2013:22:23:53 -0500] [Client 14] WWW-Authenticate: Basic
realm="CUPS", trc="y"
D [18/Apr/2013:22:23:53 -0500] [Client 14] Closing connection.
D [18/Apr/2013:22:23:53 -0500] cupsdSetBusyState: newbusy="Not busy",
busy="Active clients"
d [18/Apr/2013:22:23:53 -0500] cupsdRemoveSelect(fd=14)
d [18/Apr/2013:22:23:53 -0500] select_timeout: JobHistoryUpdate=0
d [18/Apr/2013:22:23:53 -0500] cupsdAcceptClient(lis=0x2b01956b7f70(11))
Clients=0
D [18/Apr/2013:22:23:53 -0500] [Client 14] Accepted from localhost
(Domain)
d [18/Apr/2013:22:23:53 -0500] cupsdAddSelect(fd=14,
read_cb=0x2b018b866800, write_cb=(nil), data=0x2b01956bce70)
d [18/Apr/2013:22:23:53 -0500] select_timeout: JobHistoryUpdate=0
d [18/Apr/2013:22:23:53 -0500] [Client 14] cupsdReadClient error=0,
used=0, state=HTTP_STATE_WAITING, data_encoding=HTTP_ENCODING_LENGTH,
data_remaining=0, request=(nil)(), file=-1
D [18/Apr/2013:22:23:53 -0500] [Client 14] POST / HTTP/1.1
D [18/Apr/2013:22:23:53 -0500] cupsdSetBusyState: newbusy="Active
clients", busy="Not busy"
d [18/Apr/2013:22:23:53 -0500] cupsdFindBest: uri = "/"...
d [18/Apr/2013:22:23:53 -0500] cupsdFindBest: Location /admin/conf Limit
7f
d [18/Apr/2013:22:23:53 -0500] cupsdFindBest: Location /admin Limit 7f
d [18/Apr/2013:22:23:53 -0500] cupsdFindBest: Location / Limit 7f
d [18/Apr/2013:22:23:53 -0500] cupsdFindBest: best = /
d [18/Apr/2013:22:23:53 -0500] [Client 14] con->uri="/",
con->best=0x2b0191e43520(/)
d [18/Apr/2013:22:23:53 -0500] [Client 14] Authorization=""
D [18/Apr/2013:22:23:53 -0500] [Client 14] No authentication data
provided.
d [18/Apr/2013:22:23:53 -0500] cupsdIsAuthorized: con->uri="/",
con->best=0x2b0191e43520(/)
d [18/Apr/2013:22:23:53 -0500] cupsdIsAuthorized: level=CUPSD_AUTH_USER,
type=None, satisfy=CUPSD_AUTH_SATISFY_ALL, num_names=1
d [18/Apr/2013:22:23:53 -0500] cupsdIsAuthorized: auth=CUPSD_AUTH_ALLOW...
D [18/Apr/2013:22:23:53 -0500] cupsdIsAuthorized: username=""
d [18/Apr/2013:22:23:53 -0500] [Client 14] cupsdSendError code=401,
auth_type=0
D [18/Apr/2013:22:23:53 -0500] [Client 14] WWW-Authenticate: Basic
realm="CUPS", trc="y"
D [18/Apr/2013:22:23:53 -0500] [Client 14] Closing connection.
D [18/Apr/2013:22:23:53 -0500] cupsdSetBusyState: newbusy="Not busy",
busy="Active clients"
d [18/Apr/2013:22:23:53 -0500] cupsdRemoveSelect(fd=14)
d [18/Apr/2013:22:23:53 -0500] select_timeout: JobHistoryUpdate=0
d [18/Apr/2013:22:23:54 -0500] select_timeout: JobHistoryUpdate=0
d [18/Apr/2013:22:23:54 -0500] select_timeout(0): 86400 seconds to do
nothing



[root at localhost ~]# service cups start
cups: started scheduler.                                   [  OK  ]
[root at localhost ~]# lpstat -v
device for code: ///dev/null
device for decode: ///dev/null
device for decrypt: ipp://localhost:631/printers/dfile
device for dfile: ///decrypt.txt
device for efile: ///encrypt.txt
device for encrypt: ipp://localhost:631/printers/efile
device for kendall: ipp://kendall:631/printers/kendall
device for konica: socket://10.190.44.17
device for paul: socket://10.190.44.17
device for ricoh: socket://192.168.1.85
device for roman: ///dev/null
device for secure: ipps://localhost:631/printers/paul
device for test: ///dev/null
device for xerox: socket://10.184.72.47
device for zebra: socket://10.190.44.9:9100
[root at localhost ~]# lpstat -v
device for code: ///dev/null
device for decode: ///dev/null
device for decrypt: ipp://localhost:631/printers/dfile
device for dfile: ///decrypt.txt
device for efile: ///encrypt.txt
device for encrypt: ipp://localhost:631/printers/efile
device for kendall: ipp://kendall:631/printers/kendall
device for konica: socket://10.190.44.17
device for paul: socket://10.190.44.17
device for ricoh: socket://192.168.1.85
device for roman: ///dev/null
device for secure: ipps://localhost:631/printers/paul
device for test: ///dev/null
device for xerox: socket://10.184.72.47
device for zebra: socket://10.190.44.9:9100
[root at localhost ~]# lpstat -v
lpstat: Broken pipe

Link: https://www.cups.org/str.php?L4312
Version: 1.7-current





More information about the cups mailing list