On Wed, 2006-06-21 at 11:10 +0100, Paul Howarth wrote: > Charlie McVeigh wrote: > > On Mon, 2006-06-12 at 16:46 -0400, Charlie McVeigh wrote: > >> Using FC4 my Officejet 6210 worked perfectly - however since my upgrade > >> to FC5 I am not able to scan or fax using my Officejet all-in-one. > >> > >> When I run the command "hp-toolbox" the HP control panel starts up and I > >> get an error message indicating "That no HP installed devices found. To > >> install a device use the CUPS web interface. (http://localhost:631)" > >> > >> The problem is that I have already installed the printer using CUPS and > >> I can print without any problems. When I run "xsane" the program exits > >> indicating that It can't find any devices. > >> > >> Does anyone on the list have any thoughts on how to troubleshoot the > >> problem. The documentation found at http://hplip.sourceforge.net/ is of > >> marginal help. Am I experiencing some sort of SELinux problem? > >> > >> Thanks in advance for any help. > >> > >> Charlie > >> > >> > > > > Upon further research it turns out that this was an SELinux problem with > > FC5. > > > > I noticed some SELinux error messages in my security log so I disabled > > SELinux. At that point I was able to run "hp-makeuri xxx:yyy" where > > xxx:yyy is the USB bus id and device id of my Officejet. I then deleted > > and re-installed the printer using "/usr/bin/printconf-gui" Everything > > (printing/scanning/faxing) works as advertised now. > > > > When I re-enable SELinux, the "hp-toolbox" command no longer can find > > the Officejet and I can't print/fax/scan. If I disable SELinux then > > everything starts working again. So I am now stuck running without > > SELinux enabled. > > > > Any thoughts on how how to fix this particular SELinux issue? > > Run with SELinux in "permissive" mode. This will log SELinux denials but > not actually deny most things. Things that break with SELinux in > enforcing mode should still work. > > Then look in /var/log/messages (or, if you're running auditd, > /var/log/audit/audit.log), for lines containing "type=AVC" and post back > what you find. > > Paul. > > Here are the pertinent messages from /var/log/messages when I run the command "/usr/bin/hp-toolbox" : Jun 21 11:44:00 dhcppc1 kernel: audit(1150904640.619:12281): avc: denied { write } for pid=2693 comm="python" name="[13078]" dev=pipefs ino=13078 scontext=system_u:system_r:hplip_t:s0 tcontext=system_u:system_r:hplip_t:s0 tclass=fifo_file Jun 21 11:44:00 dhcppc1 kernel: audit(1150904640.619:12282): avc: denied { read } for pid=2693 comm="python" name="[13078]" dev=pipefs ino=13078 scontext=system_u:system_r:hplip_t:s0 tcontext=system_u:system_r:hplip_t:s0 tclass=fifo_file Please be kind to me - I know nothing about SELinux. Though I think I am about to start learning! Thanks for the help. Charlie