| Summary: | SELinux is preventing /lib/systemd/systemd-logind from using the 'sys_tty_config' capabilities. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tony Browning <ttonybrowning> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:8889bcc55b793733123fd9a134183a7b78ff040aad6fbe2f54ffa84c67427bfc | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-17 14:44:59 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
:#============= systemd_logind_t ============== :#!!!! This avc is allowed in the current policy : :allow systemd_logind_t self:capability sys_tty_config; Thanks Daniel, I understand now. If I allow it there are no use in reporting it. I was having much trouble and panic I guess. Thanks again. Ok did you add an allow for this? I see this allowed in F17, not sure if it has been back ported to F16. |
libreport version: 2.0.6 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.1.0-7.fc16.i686 reason: SELinux is preventing /lib/systemd/systemd-logind from using the 'sys_tty_config' capabilities. time: Thu Feb 16 17:56:25 2012 description: :SELinux is preventing /lib/systemd/systemd-logind from using the 'sys_tty_config' capabilities. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that systemd-logind 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-logind /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:systemd_logind_t:s0 :Target Context system_u:system_r:systemd_logind_t:s0 :Target Objects Unknown [ capability ] :Source systemd-logind :Source Path /lib/systemd/systemd-logind :Port <Unknown> :Host (removed) :Source RPM Packages :Target RPM Packages :Policy RPM selinux-policy-3.10.0-46.fc16 :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.1.0-7.fc16.i686 #1 SMP Tue Nov : 1 21:00:16 UTC 2011 i686 i686 :Alert Count 39 :First Seen Mon 13 Feb 2012 03:49:05 AM EST :Last Seen Thu 16 Feb 2012 05:43:39 PM EST :Local ID 3bad55b3-3931-461e-bd0d-0840964f476e : :Raw Audit Messages :type=AVC msg=audit(1329432219.420:104): avc: denied { sys_tty_config } for pid=867 comm="systemd-logind" capability=26 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:system_r:systemd_logind_t:s0 tclass=capability : : :Hash: systemd-logind,systemd_logind_t,systemd_logind_t,capability,sys_tty_config : :audit2allow : :#============= systemd_logind_t ============== :#!!!! This avc is allowed in the current policy : :allow systemd_logind_t self:capability sys_tty_config; : :audit2allow -R : :#============= systemd_logind_t ============== :#!!!! This avc is allowed in the current policy : :allow systemd_logind_t self:capability sys_tty_config; :