Bug 959953
| Summary: | ns-slapd won't start with SELinux in enforcing mode | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tomasz Torcz <tomek> |
| Component: | 389-ds-base | Assignee: | Rich Megginson <rmeggins> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 19 | CC: | edewata, mgrepl, mreynolds, nhosoi, nkinder, orion, rmeggins, tomek |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-08-27 14:43:12 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Tomasz - Are you still seeing this? I'm having a problem with dirsrv on F19 as well, but I'm not seeing this error. Hm, not anymore, no. 389-ds-base-1.3.1.6-1.fc19.x86_64 starts fine in enforcing mode.
There is some problem with tmpfiles creation, but I haven't investigated it yet ("systemd-tmpfiles --create /etc/tmpfiles.d/dirsrv-PIPEBREAKER-PL.conf" fixes it, although it should happen automatically during boot).
The tmpfiles issue is bug 996716 |
Description of problem: ns-slapd won't start; the log file shows: [06/May/2013:11:36:54 +0200] - Error - Unable to create /var/lock/dirsrv/slapd-PIPEBREAKER-PL/imports, Netscape Portable Runtime error -5966 (Access Denied.) The cause is this AVC: type=AVC msg=audit(1367833098.532:4744): avc: denied { create } for pid=10477 comm="ns-slapd" name="imports" scontext=system_u:system_r:dirsrv_t:s0 tcontext=system_u:object_r:var_lock_t:s0 tclass=dir It works when switching to Permissive mode. Version-Release number of selected component (if applicable): 389-ds-base-1.3.1.0-1.fc19.x86_64 selinux-policy-targeted-3.12.1-40.fc19.noarch