Description of problem: I was trying to add a new printer. Additional info: libreport version: 2.0.14 kernel: 3.6.1-1.fc17.x86_64 description: :SELinux is preventing /usr/bin/python2.7 from 'read' accesses on the file /usr/bin/python2.7. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that python2.7 should be allowed read access on the python2.7 file by default. :Then you should report this as a bug. :You can generate a local policy module to allow this access. :Do :allow this access for now by executing: :# grep hpfax /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:hplip_t:s0-s0:c0.c1023 :Target Context system_u:object_r:bin_t:s0 :Target Objects /usr/bin/python2.7 [ file ] :Source hpfax :Source Path /usr/bin/python2.7 :Port <Unknown> :Host (removed) :Source RPM Packages python-2.7.3-7.2.fc17.x86_64 :Target RPM Packages python-2.7.3-7.2.fc17.x86_64 :Policy RPM selinux-policy-3.10.0-153.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.6.1-1.fc17.x86_64 #1 SMP Wed Oct : 10 12:13:05 UTC 2012 x86_64 x86_64 :Alert Count 2 :First Seen 2012-10-15 13:33:41 EDT :Last Seen 2012-10-15 13:34:36 EDT :Local ID 60a8b1a7-5fb6-43c5-b9f3-3812da12b959 : :Raw Audit Messages :type=AVC msg=audit(1350322476.442:89): avc: denied { read } for pid=1423 comm="hpfax" path="/usr/bin/python2.7" dev="sda2" ino=140046 scontext=system_u:system_r:hplip_t:s0-s0:c0.c1023 tcontext=system_u:object_r:bin_t:s0 tclass=file : : :type=SYSCALL msg=audit(1350322476.442:89): arch=x86_64 syscall=mprotect success=no exit=EACCES a0=600000 a1=1000 a2=1 a3=7fffd8776140 items=0 ppid=1416 pid=1423 auid=4294967295 uid=0 gid=7 euid=0 suid=0 fsuid=0 egid=7 sgid=7 fsgid=7 tty=(none) ses=4294967295 comm=hpfax exe=/usr/bin/python2.7 subj=system_u:system_r:hplip_t:s0-s0:c0.c1023 key=(null) : :Hash: hpfax,hplip_t,bin_t,file,read : :audit2allow : :#============= hplip_t ============== :allow hplip_t bin_t:file read; : :audit2allow -R : :#============= hplip_t ============== :allow hplip_t bin_t:file read; :
Created attachment 627570 [details] File: type
Created attachment 627571 [details] File: hashmarkername
It has been added.
SELinux Package: (null) OS Release: Fedora release 17 (Beefy Miracle)
selinux-policy-3.10.0-156.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-156.fc17
The alert was raised while the system was installing the driver for a new printer. Package: (null) Architecture: i686 OS Release: Fedora release 17 (Beefy Miracle)
Plugged in my HP LaserJet printer, the Configuring Printer notification popped up along with the SELinux Denial notification. Package: (null) OS Release: Fedora release 17 (Beefy Miracle)
Package selinux-policy-3.10.0-156.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-156.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-16347/selinux-policy-3.10.0-156.fc17 then log in and leave karma (feedback).
Resume from sleep, problem with internet connection, once resummed this message came uo Package: (null) OS Release: Fedora release 17 (Beefy Miracle)
Turned scanner on and executed xsane. Package: (null) OS Release: Fedora release 17 (Beefy Miracle)
I connected a new HP printer Package: (null) OS Release: Fedora release 17 (Beefy Miracle)
Plugged in a usb printer. Package: (null) OS Release: Fedora release 17 (Beefy Miracle)
selinux-policy-3.10.0-156.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.