| Summary: | SELinux is preventing /bin/bash from 'ioctl' accesses on the file /etc/rc.d/init.d/ntpd. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michael Wiktowy <michael.wiktowy> |
| 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: | rawhide | CC: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:d6579a7562e3c23e5cef420f86ee2ec993e51e224bdfb47f9b4be6bc0ccf97d9 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-01-24 21:25:12 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Bug 669924, Bug 672338 and Bug 672337 are all triggered by the same SETroubleshooter event. *** This bug has been marked as a duplicate of bug 669924 *** |
SELinux is preventing /bin/bash from 'ioctl' accesses on the file /etc/rc.d/init.d/ntpd. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that bash should be allowed ioctl access on the ntpd file 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 ntpd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:gnomeclock_t:s0-s0:c0.c1023 Target Context system_u:object_r:ntpd_initrc_exec_t:s0 Target Objects /etc/rc.d/init.d/ntpd [ file ] Source ntpd Source Path /bin/bash Port <Unknown> Host (removed) Source RPM Packages bash-4.1.9-5.fc15 Target RPM Packages ntp-4.2.6p3-1.fc15 Policy RPM selinux-policy-3.9.13-4.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.37-2.fc15.x86_64 #1 SMP Fri Jan 7 14:57:36 UTC 2011 x86_64 x86_64 Alert Count 1 First Seen Mon 24 Jan 2011 06:04:19 PM EST Last Seen Mon 24 Jan 2011 06:04:19 PM EST Local ID e1d7c5cf-09e1-43ea-9aa4-bfa31526fd3f Raw Audit Messages type=AVC msg=audit(1295910259.311:74): avc: denied { ioctl } for pid=3489 comm="ntpd" path="/etc/rc.d/init.d/ntpd" dev=dm-0 ino=27535 scontext=system_u:system_r:gnomeclock_t:s0-s0:c0.c1023 tcontext=system_u:object_r:ntpd_initrc_exec_t:s0 tclass=file type=SYSCALL msg=audit(1295910259.311:74): arch=x86_64 syscall=ioctl success=no exit=ENOTTY a0=3 a1=5401 a2=7fffb0f6bb60 a3=7fffb0f6b960 items=0 ppid=3481 pid=3489 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=ntpd exe=/bin/bash subj=system_u:system_r:gnomeclock_t:s0-s0:c0.c1023 key=(null) Hash: ntpd,gnomeclock_t,ntpd_initrc_exec_t,file,ioctl audit2allow #============= gnomeclock_t ============== allow gnomeclock_t ntpd_initrc_exec_t:file ioctl; audit2allow -R #============= gnomeclock_t ============== allow gnomeclock_t ntpd_initrc_exec_t:file ioctl;