Bug 477547 - selinux denial of prelude-manager startup
selinux denial of prelude-manager startup
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-12-21 15:25 EST by P Rauser
Modified: 2009-11-18 05:39 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-11-18 05:39:52 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description P Rauser 2008-12-21 15:25:30 EST
Description of problem:

selinux prevents prelude-manager from reading /proc/sys/crypto/fips_enabled when starting; prelude-manager aborts

Version-Release number of selected component (if applicable):



Steps to Reproduce:
1.  Boot in selinux enforcing mode & the prelude-manager initscript or use 'service prelude-manager-start'

2.  prelude-manager fails

3.  Place selinux in permissive mode & start prelude-manager; the service starts successfully.
Comment 1 Daniel Walsh 2008-12-22 11:00:10 EST
What avc messages are you seeing?
Comment 2 Daniel Walsh 2009-01-08 14:01:30 EST
Please attach the avc messages from /var/log/audit/audit.log
Comment 3 P Rauser 2009-01-09 17:27:51 EST
Here is the AVC that seems to be the problem:

type=AVC msg=audit(1229980751.073:16): avc:  denied  { signal } for  pid=2756 comm="audisp-prelude" scontext=system_u:system_r:prelude_audisp_t:s0 tcontext=system_u:system_r:prelude_audisp_t:s0 tclass=process
Comment 4 P Rauser 2009-01-09 17:29:27 EST
Sorry, one more AVC...

type=AVC msg=audit(1231505116.123:4): avc:  denied  { read } for  pid=2756
comm="audisp-prelude" scontext=system_u:system_r:prelude_audisp_t:s0 tcontext=system_u:object_r:sysctl_t:s0 tclass=file
Comment 5 Miroslav Grepl 2009-01-12 13:35:37 EST
You can allow this for now.

# cat /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Fixed in selinux-policy-3.5.13-39.fc10.noarch
Comment 6 Bug Zapper 2009-11-18 05:32:19 EST
This message is a reminder that Fedora 10 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 10.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '10'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 10's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 10 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 

Note You need to log in before you can comment on or make changes to this bug.