Comment 4 for bug 290891

Revision history for this message
Tchang7 (ano-nyme) wrote :

Thank you for your response. I had to repeat the command because of an "error in pipe". Many many files were relabeled. Even with these changes, I cannot print. The printer can't connect:

Oct 29 22:53:19 localhostlouis Photosmart_C6100_series?serial=[...]: io/hpmud/musb.c 1058: unable to open hp:/usb/Photosmart_C6100_series?serial=MY6AFH531V04KR
Oct 29 22:53:19 localhostlouis Photosmart_C6100_series?serial=[...]: prnt/backend/hp.c 496: unable to connect hpssd socket 2207: Connection refused
Oct 29 22:53:19 localhostlouis Photosmart_C6100_series?serial=[...]: prnt/backend/hp.c 636: INFO: open device failed; will retry in 30 seconds...
Oct 29 22:53:19 localhostlouis kernel: [ 2309.251061] audit(1225335199.273:620): avc: denied { read } for pid=8946 comm="hp" name="001" dev=tmpfs ino=5700 scontext=system_u:system_r:cupsd_t tcontext=system_u:object_r:usb_device_t tclass=chr_file
Oct 29 22:53:19 localhostlouis kernel: [ 2309.251103] audit(1225335199.273:621): avc: denied { read } for pid=8946 comm="hp" name="004" dev=tmpfs ino=5938 scontext=system_u:system_r:cupsd_t tcontext=system_u:object_r:usb_device_t tclass=chr_file
Etc.

I think it could be a CUPS problem revealed by SELinux: on http://linux.derkeiler.com/pdf/Mailing-Lists/Ubuntu/2006-07/msg01692.pdf, it says:

"i am seeing tons of these in my log
Jul 6 10:01:14 lares cupsd: Unable to open log file "/var/log/cups/error_log"
− Permission denied
last message repeated 189 times
This tells us that
a) the logfile hasn't the right rights
or
b) the cupsd is running with the wrong user
cupsys"