Bug 1119768
| Summary: | SELinux is preventing accounts-daemon from 'open' accesses on the file /etc/passwd. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Alexander Kurtakov <akurtako> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dominick.grift, dwalsh, lvrabec, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:8f130e26345c8290e8d286c2e0e253f7e60f0f0312f9274ea6faf7d4a72ccc43 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-07-15 22:40:26 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: | |||
*** This bug has been marked as a duplicate of bug 1119766 *** |
Description of problem: SELinux is preventing accounts-daemon from 'open' accesses on the file /etc/passwd. ***** Plugin restorecon (99.5 confidence) suggests ************************ If you want to fix the label. /etc/passwd default label should be passwd_file_t. Then you can run restorecon. Do # /sbin/restorecon -v /etc/passwd ***** Plugin catchall (1.49 confidence) suggests ************************** If you believe that accounts-daemon should be allowed open access on the passwd 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 accounts-daemon /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:accountsd_t:s0 Target Context system_u:object_r:tmpfs_t:s0 Target Objects /etc/passwd [ file ] Source accounts-daemon Source Path accounts-daemon Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages setup-2.9.0-2.fc21.noarch Policy RPM selinux-policy-3.13.1-63.fc21.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 3.16.0-0.rc4.git3.1.fc22.x86_64 #1 SMP Fri Jul 11 17:08:34 UTC 2014 x86_64 x86_64 Alert Count 13 First Seen 2014-07-15 15:32:31 EEST Last Seen 2014-07-15 16:09:18 EEST Local ID 7054f6ef-b123-4774-a59d-5158d79cb93d Raw Audit Messages type=AVC msg=audit(1405429758.250:515): avc: denied { open } for pid=624 comm="accounts-daemon" path="/etc/passwd" dev="dm-0" ino=131589 scontext=system_u:system_r:accountsd_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=file permissive=1 Hash: accounts-daemon,accountsd_t,tmpfs_t,file,open Version-Release number of selected component: selinux-policy-3.13.1-63.fc21.noarch Additional info: reporter: libreport-2.2.3 hashmarkername: setroubleshoot kernel: 3.16.0-0.rc4.git3.1.fc22.x86_64 type: libreport