| Summary: | SELinux is preventing /bin/systemd-tty-ask-password-agent from using the 'sys_tty_config' capabilities. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Thomas Meyer <thomas.mey> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:4910e93f6ce6576e5107e910cd35c43054dd3e9e92107e85fb5d221cdf0bfe12 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-03-07 22:12:21 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 bug has been marked as a duplicate of bug 682528 *** |
SELinux is preventing /bin/systemd-tty-ask-password-agent from using the 'sys_tty_config' capabilities. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that systemd-tty-ask-password-agent should have the sys_tty_config capability 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 systemd-tty-ask /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:systemd_passwd_agent_t:s0 Target Context system_u:system_r:systemd_passwd_agent_t:s0 Target Objects Unknown [ capability ] Source systemd-tty-ask Source Path /bin/systemd-tty-ask-password-agent Port <Unbekannt> Host (removed) Source RPM Packages systemd-19-1.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.15-2.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 2.6.38-rc7-00142-g212e349 #267 Sat Mar 5 21:22:31 CET 2011 i686 i686 Alert Count 4 First Seen So 06 Mär 2011 12:30:09 CET Last Seen So 06 Mär 2011 13:35:02 CET Local ID 947870b9-a300-4f38-8857-4eb860811d92 Raw Audit Messages type=AVC msg=audit(1299414902.499:559): avc: denied { sys_tty_config } for pid=870 comm="systemd-tty-ask" capability=26 scontext=system_u:system_r:systemd_passwd_agent_t:s0 tcontext=system_u:system_r:systemd_passwd_agent_t:s0 tclass=capability type=SYSCALL msg=audit(1299414902.499:559): arch=i386 syscall=ioctl success=yes exit=0 a0=8 a1=5401 a2=bfc1496c a3=bfc149ac items=0 ppid=1 pid=870 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=systemd-tty-ask exe=/bin/systemd-tty-ask-password-agent subj=system_u:system_r:systemd_passwd_agent_t:s0 key=(null) Hash: systemd-tty-ask,systemd_passwd_agent_t,systemd_passwd_agent_t,capability,sys_tty_config audit2allow #============= systemd_passwd_agent_t ============== allow systemd_passwd_agent_t self:capability sys_tty_config; audit2allow -R #============= systemd_passwd_agent_t ============== allow systemd_passwd_agent_t self:capability sys_tty_config;