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
Oct 29 22:53:19 localhostlouis kernel: [ 2309.251127] audit(1225335199.273:622): avc: denied { read } for pid=8946 comm="hp" name="001" dev=tmpfs ino=5688 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.251162] audit(1225335199.273:623): avc: denied { read } for pid=8946 comm="hp" name="002" dev=tmpfs ino=5882 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.251187] audit(1225335199.273:624): avc: denied { read } for pid=8946 comm="hp" name="001" dev=tmpfs ino=5656 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.251222] audit(1225335199.273:625): avc: denied { read } for pid=8946 comm="hp" name="003" dev=tmpfs ino=6038 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.251245] audit(1225335199.273:626): avc: denied { read } for pid=8946 comm="hp" name="002" dev=tmpfs ino=5981 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.251268] audit(1225335199.273:627): avc: denied { read } for pid=8946 comm="hp" name="001" dev=tmpfs ino=5649 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.251302] audit(1225335199.273:628): avc: denied { read } for pid=8946 comm="hp" name="001" dev=tmpfs ino=5642 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.251333] audit(1225335199.273:629): avc: denied { read write } for pid=8946 comm="hp" name="004" dev=tmpfs ino=5776 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.251349] audit(1225335199.273:630): avc: denied { read } for pid=8946 comm="hp" name="004" dev=tmpfs ino=5776 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.251372] audit(1225335199.273:631): avc: denied { read } for pid=8946 comm="hp" name="001" dev=tmpfs ino=5615 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.251406] audit(1225335199.273:632): avc: denied { read } for pid=8946 comm="hp" name="001" dev=tmpfs ino=5596 scontext=system_u:system_r:cupsd_t tcontext=system_u:object_r:usb_device_t tclass=chr_file
"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"
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 C6100_series? serial= [...]: prnt/backend/hp.c 496: unable to connect hpssd socket 2207: Connection refused C6100_series? serial= [...]: prnt/backend/hp.c 636: INFO: open device failed; will retry in 30 seconds... 9.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 9.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 9.273:622) : avc: denied { read } for pid=8946 comm="hp" name="001" dev=tmpfs ino=5688 scontext= system_ u:system_ r:cupsd_ t tcontext= system_ u:object_ r:usb_device_ t tclass=chr_file 9.273:623) : avc: denied { read } for pid=8946 comm="hp" name="002" dev=tmpfs ino=5882 scontext= system_ u:system_ r:cupsd_ t tcontext= system_ u:object_ r:usb_device_ t tclass=chr_file 9.273:624) : avc: denied { read } for pid=8946 comm="hp" name="001" dev=tmpfs ino=5656 scontext= system_ u:system_ r:cupsd_ t tcontext= system_ u:object_ r:usb_device_ t tclass=chr_file 9.273:625) : avc: denied { read } for pid=8946 comm="hp" name="003" dev=tmpfs ino=6038 scontext= system_ u:system_ r:cupsd_ t tcontext= system_ u:object_ r:usb_device_ t tclass=chr_file 9.273:626) : avc: denied { read } for pid=8946 comm="hp" name="002" dev=tmpfs ino=5981 scontext= system_ u:system_ r:cupsd_ t tcontext= system_ u:object_ r:usb_device_ t tclass=chr_file 9.273:627) : avc: denied { read } for pid=8946 comm="hp" name="001" dev=tmpfs ino=5649 scontext= system_ u:system_ r:cupsd_ t tcontext= system_ u:object_ r:usb_device_ t tclass=chr_file 9.273:628) : avc: denied { read } for pid=8946 comm="hp" name="001" dev=tmpfs ino=5642 scontext= system_ u:system_ r:cupsd_ t tcontext= system_ u:object_ r:usb_device_ t tclass=chr_file 9.273:629) : avc: denied { read write } for pid=8946 comm="hp" name="004" dev=tmpfs ino=5776 scontext= system_ u:system_ r:cupsd_ t tcontext= system_ u:object_ r:usb_device_ t tclass=chr_file 9.273:630) : avc: denied { read } for pid=8946 comm="hp" name="004" dev=tmpfs ino=5776 scontext= system_ u:system_ r:cupsd_ t tcontext= system_ u:object_ r:usb_device_ t tclass=chr_file 9.273:631) : avc: denied { read } for pid=8946 comm="hp" name="001" dev=tmpfs ino=5615 scontext= system_ u:system_ r:cupsd_ t tcontext= system_ u:object_ r:usb_device_ t tclass=chr_file 9.273:632) : avc: denied { read } for pid=8946 comm="hp" name="001" dev=tmpfs ino=5596 scontext= system_ u:system_ r:cupsd_ t tcontext= system_ u:object_ r:usb_device_ t tclass=chr_file
Oct 29 22:53:19 localhostlouis Photosmart_
Oct 29 22:53:19 localhostlouis Photosmart_
Oct 29 22:53:19 localhostlouis kernel: [ 2309.251061] audit(122533519
Oct 29 22:53:19 localhostlouis kernel: [ 2309.251103] audit(122533519
Oct 29 22:53:19 localhostlouis kernel: [ 2309.251127] audit(122533519
Oct 29 22:53:19 localhostlouis kernel: [ 2309.251162] audit(122533519
Oct 29 22:53:19 localhostlouis kernel: [ 2309.251187] audit(122533519
Oct 29 22:53:19 localhostlouis kernel: [ 2309.251222] audit(122533519
Oct 29 22:53:19 localhostlouis kernel: [ 2309.251245] audit(122533519
Oct 29 22:53:19 localhostlouis kernel: [ 2309.251268] audit(122533519
Oct 29 22:53:19 localhostlouis kernel: [ 2309.251302] audit(122533519
Oct 29 22:53:19 localhostlouis kernel: [ 2309.251333] audit(122533519
Oct 29 22:53:19 localhostlouis kernel: [ 2309.251349] audit(122533519
Oct 29 22:53:19 localhostlouis kernel: [ 2309.251372] audit(122533519
Oct 29 22:53:19 localhostlouis kernel: [ 2309.251406] audit(122533519
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 cups/error_ log"
Jul 6 10:01:14 lares cupsd: Unable to open log file "/var/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"