[cups.bugs] [LOW] STR #3361: Show access/error/page log from admin page yields an 404

Axel Schwarzer schwarzera at freenet.de
Fri Oct 2 12:45:37 PDT 2009


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

[STR New]

If the configuration statements for those files are set to 'syslog',
clicking the associated buttons end in a '404 Not found' error. It would
be desirable to receive a notice like 'Log file not (directly)
accessible', i.e. to check whether the cups-user/-group can read the
affected file.

---8<---
Oct  2 21:38:25 cups1123 cupsd[22459]: cupsdAcceptClient: 13 from
192.168.4.65:631 (IPv4)
Oct  2 21:38:25 cups1123 cupsd[22459]: cupsdAddSelect(fd=13,
read_cb=0x7fa4d489bde0, write_cb=(nil), data=0x7fa4d4b9c500)
Oct  2 21:38:25 cups1123 cupsd[22459]: cupsdDeleteCert: Removing
certificate for PID 0
Oct  2 21:38:25 cups1123 cupsd[22459]: cupsdAddCert: Adding certificate
for PID 0
Oct  2 21:38:25 cups1123 cupsd[22459]: cupsdAddCert: NumSystemGroups=3
Oct  2 21:38:25 cups1123 cupsd[22459]:
cupsdReadClient(con=0x7fa4d4b9c500(13)) con->http.error=0
con->http.used=0, con->http.state=0 con->data_encoding=HTTP_ENCODE_LENGTH,
con->data_remaining=0, con->file=-1
Oct  2 21:38:25 cups1123 cupsd[22459]: cupsdReadClient: Saw first byte 16,
auto-negotiating SSL/TLS session...
Oct  2 21:38:25 cups1123 cupsd[22459]:
encrypt_client(con=0x7fa4d4b9c500(13))
Oct  2 21:38:25 cups1123 cupsd[22459]: Connection from 192.168.4.65 now
encrypted.
Oct  2 21:38:25 cups1123 cupsd[22459]:
cupsdReadClient(con=0x7fa4d4b9c500(13)) con->http.error=0
con->http.used=0, con->http.state=0 con->data_encoding=HTTP_ENCODE_LENGTH,
con->data_remaining=0, con->file=-1
Oct  2 21:38:25 cups1123 cupsd[22459]: cupsdReadClient: 13 GET
/admin/log/access_log? HTTP/1.1
Oct  2 21:38:25 cups1123 cupsd[22459]: cupsdSetBusyState: Active clients
Oct  2 21:38:25 cups1123 cupsd[22459]: cupsdFindBest: uri =
"/admin/log/access_log?"...
Oct  2 21:38:25 cups1123 cupsd[22459]: cupsdFindBest: Location
CUPS_INTERNAL_BROWSE_ACL Limit 0
Oct  2 21:38:25 cups1123 cupsd[22459]: cupsdFindBest: Location /manage
Limit 7f
Oct  2 21:38:25 cups1123 cupsd[22459]: cupsdFindBest: Location /admin/conf
Limit 7f
Oct  2 21:38:25 cups1123 cupsd[22459]: cupsdFindBest: Location /admin
Limit 7f
Oct  2 21:38:25 cups1123 cupsd[22459]: cupsdFindBest: Location / Limit 7f
Oct  2 21:38:25 cups1123 cupsd[22459]: cupsdFindBest: best = /admin
Oct  2 21:38:25 cups1123 cupsd[22459]: cupsdAuthorize:
con->uri="/admin/log/access_log?", con->best=0x7fa4d4b0ad10(/admin)
Oct  2 21:38:25 cups1123 cupsd[22459]: cupsdAuthorize:
Authorization="Basic cm9vdDpOMGFYc3Ms"
Oct  2 21:38:25 cups1123 cupsd[22459]: cupsdAuthorize: Authorized as root
using Basic
Oct  2 21:38:25 cups1123 cupsd[22459]: cupsdIsAuthorized:
con->uri="/admin/log/access_log?", con->best=0x7fa4d4b0ad10(/admin)
Oct  2 21:38:25 cups1123 cupsd[22459]: cupsdIsAuthorized:
level=CUPSD_AUTH_ANON, type=None, satisfy=CUPSD_AUTH_SATISFY_ALL,
num_names=0
Oct  2 21:38:25 cups1123 cupsd[22459]: cupsdIsAuthorized:
auth=CUPSD_AUTH_ALLOW...
Oct  2 21:38:25 cups1123 cupsd[22459]:
cupsdSendError(con=0x7fa4d4b9c500(13), code=404, auth_type=0
Oct  2 21:38:25 cups1123 cupsd[22459]: cupsdReadClient: 13 Closing because
Keep-Alive disabled
Oct  2 21:38:25 cups1123 cupsd[22459]: cupsdCloseClient: 13
Oct  2 21:38:25 cups1123 cupsd[22459]: SSL shutdown successful!
---8<---

Link: http://www.cups.org/str.php?L3361
Version: 1.4.1





More information about the cups-devel mailing list