| Summary: | SELinux is preventing /bin/systemd-tty-ask-password-agent from 'write' accesses on the directory .systemd. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Horst H. von Brand <vonbrand> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:75b169415a4ee38e32c4b616866f9481404fcdcdea413b469b35a2ae58becd22 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-03-25 08:44:09 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Please, update your system. |
SELinux is preventing /bin/systemd-tty-ask-password-agent from 'write' accesses on the directory .systemd. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that systemd-tty-ask-password-agent should be allowed write access on the .systemd directory 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 unconfined_u:system_r:dhcpc_t:s0-s0:c0.c1023 Target Context system_u:object_r:device_t:s0 Target Objects .systemd [ dir ] Source systemd-tty-ask Source Path /bin/systemd-tty-ask-password-agent Port <Unknown> Host (removed) Source RPM Packages systemd-15-1.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.10-6.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.36.1-11.fc15.x86_64 #1 SMP Fri Dec 3 12:29:43 UTC 2010 x86_64 x86_64 Alert Count 1 First Seen Sat 11 Dec 2010 10:17:32 PM CLST Last Seen Sat 11 Dec 2010 10:17:32 PM CLST Local ID b3ba9d41-4415-4a92-8046-d8986370cdc3 Raw Audit Messages type=AVC msg=audit(1292116652.3:64): avc: denied { write } for pid=1488 comm="systemd-tty-ask" name=".systemd" dev=devtmpfs ino=9075 scontext=unconfined_u:system_r:dhcpc_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=dir type=SYSCALL msg=audit(1292116652.3:64): arch=x86_64 syscall=mkdir success=no exit=EACCES a0=2449080 a1=1c0 a2=0 a3=6b636f6c622d6472 items=0 ppid=1487 pid=1488 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty2 ses=1 comm=systemd-tty-ask exe=/bin/systemd-tty-ask-password-agent subj=unconfined_u:system_r:dhcpc_t:s0-s0:c0.c1023 key=(null) Hash: systemd-tty-ask,dhcpc_t,device_t,dir,write audit2allow #============= dhcpc_t ============== #!!!! The source type 'dhcpc_t' can write to a 'dir' of the following types: # dhcp_state_t, var_run_t, dhcpc_state_t, dhcpc_var_run_t, net_conf_t, dhcpc_tmp_t, tmp_t, etc_t, root_t allow dhcpc_t device_t:dir write; audit2allow -R #============= dhcpc_t ============== #!!!! The source type 'dhcpc_t' can write to a 'dir' of the following types: # dhcp_state_t, var_run_t, dhcpc_state_t, dhcpc_var_run_t, net_conf_t, dhcpc_tmp_t, tmp_t, etc_t, root_t allow dhcpc_t device_t:dir write;