Bug 159088 - selinux deny when pushing the power button
selinux deny when pushing the power button
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Depends On:
  Show dependency treegraph
Reported: 2005-05-29 02:56 EDT by Florin Andrei
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-05-29 07:03:48 EDT
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 Florin Andrei 2005-05-29 02:56:12 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Fedora/1.0.4-1.3.1 Firefox/1.0.4

Description of problem:
FC4t3 system, kept up to date via yum.
When pushing the power button, the system shuts down gracefully, but there's also this selinux message in the logs:

May 28 23:49:15 demo shutdown: shutting down for system halt
May 28 23:49:15 demo kernel: audit(1117349355.101:5): avc:  denied  { read } for  pid=2037 comm="init" name=config dev=hda2 ino=65989 scontext=system_u:system_r:apmd_t tcontext=system_u:object_r:selinux_config_t tclass=file
May 28 23:49:15 demo init: Switching to runlevel: 0

selinux is set to "permissive"

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

How reproducible:

Steps to Reproduce:
1.see above

Additional info:
Comment 1 Daniel Walsh 2005-05-29 07:03:48 EDT
Please only submit bugs on policy that happen in enforcing mode.  THis message
would not happen there since a previous dontaudit would have prevented the
application from getting this far.

The way this works is the app tries to read a directory,  SELinux says no and
the app moves on.  SELinux policy tells the kernel to not audit the directory

In permissive mode, the same thing happens except this time the app is allowed
to continue,  everything that it does in the directory is then audited.  

So please run in enforcing mode.

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