| Summary: | gpg-agent can't handle it's socket, gpg can't read, pinentry unhappy if unconfined domained disabled | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Klaus Lichtenwalder <klic> |
| Component: | selinux-policy-targeted | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED WONTFIX | QA Contact: | Ben Levenson <benl> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | dwalsh |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-13 18:51:00 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
This message is a reminder that Fedora 16 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 16. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '16'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 16's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 16 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |
Description of problem: If unconfined domains are disabled, gpg-agent (from gnupg2) can't handle it's socket file located in the user's home Version-Release number of selected component (if applicable): gnupg2-2.0.18-2.fc16.i686 pinentry-0.8.1-4.fc16.i686 pinentry-gtk-0.8.1-4.fc16.i686 selinux-policy-3.10.0-74.fc16.noarch selinux-policy-targeted-3.10.0-74.fc16.noarch How reproducible: semodule -d unconfined setting system to reboot in Permissive mode, reboot log in Actual results: time->Thu Feb 2 15:40:07 2012 type=SYSCALL msg=audit(1328193607.575:148): arch=40000003 syscall=102 success=yes exit=0 a0=2 a1=bfc10fb0 a2=41594ff4 a3=20 items=0 ppid=3288 pid=3476 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=3 comm="gpg-agent" exe="/usr/bin/gpg-agent" subj=staff_u:staff_r:gpg_agent_t:s0-s0:c0.c1023 key=(null) type=AVC msg=audit(1328193607.575:148): avc: denied { create } for pid=3476 comm="gpg-agent" name="S.gpg-agent" scontext=staff_u:staff_r:gpg_agent_t:s0-s0:c0.c1023 tcontext=staff_u:object_r:gpg_secret_t:s0 tclass=sock_file ---- time->Thu Feb 2 15:41:10 2012 type=SYSCALL msg=audit(1328193670.003:161): arch=40000003 syscall=102 success=yes exit=0 a0=3 a1=b75cde50 a2=41594ff4 a3=6 items=0 ppid=1 pid=3478 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=3 comm="gpg-agent" exe="/usr/bin/gpg-agent" subj=staff_u:staff_r:gpg_agent_t:s0-s0:c0.c1023 key=(null) type=AVC msg=audit(1328193670.003:161): avc: denied { write } for pid=3478 comm="gpg-agent" name="S.gpg-agent" dev=sda2 ino=2097276 scontext=staff_u:staff_r:gpg_agent_t:s0-s0:c0.c1023 tcontext=staff_u:object_r:gpg_secret_t:s0 tclass=sock_file ---- time->Thu Feb 2 15:41:22 2012 type=SYSCALL msg=audit(1328193682.176:162): arch=40000003 syscall=102 success=yes exit=0 a0=3 a1=bfa34e60 a2=41594ff4 a3=7 items=0 ppid=1 pid=3877 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=3 comm="gpg2" exe="/usr/bin/gpg2" subj=staff_u:staff_r:gpg_t:s0-s0:c0.c1023 key=(null) type=AVC msg=audit(1328193682.176:162): avc: denied { write } for pid=3877 comm="gpg2" name="S.gpg-agent" dev=sda2 ino=2097276 scontext=staff_u:staff_r:gpg_t:s0-s0:c0.c1023 tcontext=staff_u:object_r:gpg_secret_t:s0 tclass=sock_file ---- time->Thu Feb 2 15:41:22 2012 type=SYSCALL msg=audit(1328193682.208:163): arch=40000003 syscall=125 success=yes exit=0 a0=811c000 a1=1000 a2=1 a3=4f0778f8 items=0 ppid=3478 pid=3878 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=3 comm="pinentry" exe="/bin/bash" subj=staff_u:staff_r:gpg_pinentry_t:s0-s0:c0.c1023 key=(null) type=AVC msg=audit(1328193682.208:163): avc: denied { read } for pid=3878 comm="pinentry" path="/bin/bash" dev=sda3 ino=39154 scontext=staff_u:staff_r:gpg_pinentry_t:s0-s0:c0.c1023 tcontext=system_u:object_r:shell_exec_t:s0 tclass=file Expected results: No avcs Additional info: