| Summary: | ntpd produces an AVC when started from firstboot GUI | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Milos Malik <mmalik> |
| Component: | selinux-policy | Assignee: | Daniel Walsh <dwalsh> |
| Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.1 | CC: | dwalsh, mgrepl |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | selinux-policy-3.7.19-107.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-06 10:07:40 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 is a leaked file descriptor in the tool that does the initial ntpd setup. Do we recreate a new install for 6.1? I am fixing it. Backporting from Fedora. Fixed in selinux-policy-3.7.19-107.el6 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1511.html |
Description of problem: Version-Release number of selected component (if applicable): selinux-policy-3.7.19-93.el6.noarch selinux-policy-targeted-3.7.19-93.el6.noarch selinux-policy-mls-3.7.19-93.el6.noarch selinux-policy-doc-3.7.19-93.el6.noarch selinux-policy-minimum-3.7.19-93.el6.noarch How reproducible: always Steps to Reproduce: 1. get a RHEL-6.1 machine 2. chkconfig firstboot on 3. replace "RUN_FIRSTBOOT=NO" by "RUN_FIRSTBOOT=YES" in /etc/sysconfig/firstboot file 4. reboot the machine 5. click through the firstboot GUI to the "Date and Time" configuration screen 6. enable some/all NTP options visible on the screen 7. click "Finish" Actual results: ---- time->Thu May 5 13:51:56 2011 type=SYSCALL msg=audit(1304596316.232:114): arch=40000003 syscall=11 success=yes exit=0 a0=9790d28 a1=9791008 a2=9791290 a3=9791008 items=0 ppid=2650 pid=2651 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="/usr/sbin/ntpd" subj=system_u:system_r:ntpd_t:s0 key=(null) type=AVC msg=audit(1304596316.232:114): avc: denied { read write } for pid=2651 comm="ntpd" path="socket:[66323]" dev=sockfs ino=66323 scontext=system_u:system_r:ntpd_t:s0 tcontext=system_u:system_r:firstboot_t:s0 tclass=netlink_route_socket ---- Expected results: no AVCs