Description of problem: gpg-agent seems to want to read /proc/sys/crypto/fips_enabled when it starts, but gpg_agent_t doesn't appear to have anything along the lines of kernel_read_system_state that would allow it to do that sort of thing. If it matters, the user I'm logging in as has a staff_u login. type=AVC msg=audit(1359073913.455:599): avc: denied { read } for pid=5080 comm="gpg-agent" name="fips_enabled" dev="proc" ino=1742 scontext=staff_u:staff_r:gpg_agent_t:s0-s0:c0.c1023 tcontext=system_u:object_r:proc_t:s0 tclass=file type=AVC msg=audit(1359073913.455:599): avc: denied { open } for pid=5080 comm="gpg-agent" path="/proc/sys/crypto/fips_enabled" dev="proc" ino=1742 scontext=staff_u:staff_r:gpg_agent_t:s0-s0:c0.c1023 tcontext=system_u:object_r:proc_t:s0 tclass=file type=SYSCALL msg=audit(1359073913.455:599): arch=x86_64 syscall=open success=yes exit=EIO a0=7f57e2023d30 a1=0 a2=1b6 a3=238 items=0 ppid=5078 pid=5080 auid=1000 uid=1000 gid=100 euid=1000 suid=1000 fsuid=1000 egid=100 sgid=100 fsgid=100 ses=8 tty=(none) comm=gpg-agent exe=/usr/bin/gpg-agent subj=staff_u:staff_r:gpg_agent_t:s0-s0:c0.c1023 key=(null) Version-Release number of selected component (if applicable): gnupg2-2.0.19-7.fc18.x86_64 selinux-policy-3.11.1-71.fc18.noarch
Oops, I missed one. It also wants getattr: type=AVC msg=audit(1359073913.455:600): avc: denied { getattr } for pid=5080 comm="gpg-agent" path="/proc/sys/crypto/fips_enabled" dev="proc" ino=1742 scontext=staff_u:staff_r:gpg_agent_t:s0-s0:c0.c1023 tcontext=system_u:object_r:proc_t:s0 tclass=file type=SYSCALL msg=audit(1359073913.455:600): arch=x86_64 syscall=fstat success=yes exit=0 a0=5 a1=7fff853611e0 a2=7fff853611e0 a3=0 items=0 ppid=5078 pid=5080 auid=1000 uid=1000 gid=100 euid=1000 suid=1000 fsuid=1000 egid=100 sgid=100 fsgid=100 ses=8 tty=(none) comm=gpg-agent exe=/usr/bin/gpg-agent subj=staff_u:staff_r:gpg_agent_t:s0-s0:c0.c1023 key=(null)
Added. commit 335c4ea1629afb521475589541583ac6d8880057 Author: Miroslav Grepl <mgrepl> Date: Fri Jan 25 10:55:38 2013 +0100 Allow gpg-agent to read /proc/sys/crypto/fips_enabled
selinux-policy-3.11.1-74.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-74.fc18
Package selinux-policy-3.11.1-74.fc18: * should fix your issue, * was pushed to the Fedora 18 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.11.1-74.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-1693/selinux-policy-3.11.1-74.fc18 then log in and leave karma (feedback).
selinux-policy-3.11.1-74.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.