Bug 153963 - SELinux warnings when starting up PostgreSQL first time
SELinux warnings when starting up PostgreSQL first time
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted (Show other bugs)
4
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-06 01:50 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:
Environment:
Last Closed: 2005-04-06 07:30:59 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Florin Andrei 2005-04-06 01:50:47 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050323 Firefox/1.0.2 Fedora/1.0.2-1.3.1

Description of problem:
Fresh minimal install via kickstart, SELinux set to permissive. When launching PostgreSQL for the first time, i get these in /var/log/messages:

Apr  5 22:45:46 demo kernel: audit(1112766346.171:0): avc:  denied  { read } for  pid=3597 exe=/bin/cp name=config dev=hda2 ino=2261414 scontext=root:system_r:postgresql_t tcontext=user_u:object_r:selinux_config_t tclass=file
Apr  5 22:45:46 demo kernel: audit(1112766346.175:0): avc:  denied  { getattr } for  pid=3597 exe=/bin/cp path=/etc/selinux/config dev=hda2 ino=2261414 scontext=root:system_r:postgresql_t tcontext=user_u:object_r:selinux_config_t tclass=file


Version-Release number of selected component (if applicable):
selinux-policy-targeted-1.23.5-3

How reproducible:
Didn't try

Steps to Reproduce:
1.see above
2.
3.
  

Additional info:

postgresql-8.0.1-5
Comment 1 Daniel Walsh 2005-04-06 07:30:59 EDT
This is not a bug.  Permissive mode gives you more AVC messages then Enforcing.
 Since there is a dontaudit in the postgres rules that would stop it from even
trying to access these files.  

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