libreport version: 2.0.10 executable: /usr/bin/python2.7 hashmarkername: setroubleshoot kernel: 3.4.3-1.fc17.x86_64 time: tor 5 jul 2012 22:12:37 description: :SELinux is preventing /usr/bin/lpr.cups from 'connectto' accesses on the unix_stream_socket /run/user/roger/keyring-22uREb/pkcs11. : :***** Plugin catchall (100. confidence) suggests *************************** : :If du tror att lpr.cups borde tillåtas åtkomsten connectto till pkcs11 unix_stream_socket som standard. :Then du bör rapportera detta som ett fel. :Du kan generera en lokal policymodul för att tillåta denna åtkomst. :Do :tillåt denna åtkomst för tillfället genom att köra: :# grep lpr /var/log/audit/audit.log | audit2allow -M minpol :# semodule -i minpol.pp : :Additional Information: :Source Context unconfined_u:unconfined_r:lpr_t:s0-s0:c0.c1023 :Target Context unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1 : 023 :Target Objects /run/user/roger/keyring-22uREb/pkcs11 [ : unix_stream_socket ] :Source lpr :Source Path /usr/bin/lpr.cups :Port <Okänd> :Host (removed) :Source RPM Packages cups-1.5.2-12.fc17.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-134.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.4.3-1.fc17.x86_64 #1 SMP Mon : Jun 18 19:53:17 UTC 2012 x86_64 x86_64 :Alert Count 1 :First Seen tor 5 jul 2012 10:55:35 :Last Seen tor 5 jul 2012 10:55:35 :Local ID 6faea4ad-e486-447d-bff8-5d35a1b85f7f : :Raw Audit Messages :type=AVC msg=audit(1341478535.485:883): avc: denied { connectto } for pid=26567 comm="lpr" path="/run/user/roger/keyring-22uREb/pkcs11" scontext=unconfined_u:unconfined_r:lpr_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=unix_stream_socket : : :type=SYSCALL msg=audit(1341478535.485:883): arch=x86_64 syscall=connect success=no exit=EACCES a0=6 a1=7fff2397fd90 a2=6e a3=3 items=0 ppid=26489 pid=26567 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 comm=lpr exe=/usr/bin/lpr.cups subj=unconfined_u:unconfined_r:lpr_t:s0-s0:c0.c1023 key=(null) : :Hash: lpr,lpr_t,unconfined_t,unix_stream_socket,connectto : :audit2allowunable to open /sys/fs/selinux/policy: Permission denied : : :audit2allow -Runable to open /sys/fs/selinux/policy: Permission denied : :
Fixed in selinux-policy-3.10.0-138.fc17
selinux-policy-3.10.0-140.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-140.fc17
Package selinux-policy-3.10.0-140.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-140.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-10840/selinux-policy-3.10.0-140.fc17 then log in and leave karma (feedback).
selinux-policy-3.10.0-140.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.