Bug 182597
| Summary: | ia64: /dev/efirtc access blocked by selinux | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Prarit Bhargava <prarit> |
| Component: | selinux-policy | Assignee: | Daniel Walsh <dwalsh> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | emeric.maschino, kzak |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Current | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2007-08-22 14:16:28 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 163350, 182598, 191136 | ||
Sorry -- that should read "/dev/efirtc" not "/etc/efirtc". *** Bug 178745 has been marked as a duplicate of this bug. *** Fixed in selinux-policy-targeted-1.17.30-2.135 (In reply to comment #2) > *** Bug 178745 has been marked as a duplicate of this bug. *** I don't think that bug #178745 is a duplicate of this one. Otherwise, it means that the problem is still present, with selinux-policy-targeted-2.2.38-5 Should be fixed in the current release |
Description of problem: On ia64 platforms, hwclock is accessed via /etc/efirtc. Access to this file is blocked by selinux as no policy for file access exists. Version-Release number of selected component (if applicable): latest rawhide pull (fedora-devel branch) How reproducible: 100% Steps to Reproduce: 1. Install Fedora ia64 2. Boot. 3. Actual results: Following error is seen in dmesg: audit(1140618354.548:2): avc: denied { read } for pid=3012 comm="hwclock" name="efirtc" dev=tmpfs ino=4860 scontext=system_u:system_r:hwclock_t:s0 tcontext=system_u:object_r:device_t:s0 tclass=chr_file and following is seen on console: Cannot access the Hardware Clock via any known method. Use the --debug option to see the details of our search for an access method. Setting clock (localtime): Tue Feb 21 20:00:15 EST 2006 [ OK ] Starting udev Expected results: No errors should be seen. Additional info: Already talked with dwalsh regarding this issue. Test selinux-policy provided solves this issue.