Skip site navigation (1) Skip section navigation (2)

BUG #3126: Kernel audit Problem

From: "Balaji(dot)S" <balajisundar(at)midascomm(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #3126: Kernel audit Problem
Date: 2007-03-09 07:00:18
Message-ID: 200703090700.l2970Ihe005071@wwwmaster.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-bugs
The following bug has been logged online:

Bug reference:      3126
Logged by:          Balaji.S
Email address:      balajisundar(at)midascomm(dot)com
PostgreSQL version: 7.4.8-1
Operating system:   Red Hat Enterprise Linux ES release 4 (Nahant Update 3)
Description:        Kernel audit Problem
Details: 

Completed the RHEL installation after reboot Postgresql Service is not
started.I am starting service Postgresql using (service postgresql start)
command
 i am receiving this error message on the screen(ie.

Jan  7 07:20:23 corems kernel: audit(1010368223.881:0): avc:  denied  { read
} for  pid=3634 exe=/usr/bin/postgres path=/tmp/sh-thd-1010339898 (deleted)
dev=hda1 ino=64169 scontext=user_u:system_r:postgresql_t
tcontext=user_u:object_r:tmp_t tclass=file

Jan  7 07:20:23 corems kernel: audit(1010368223.893:0): avc:  denied  { read
} for  pid=3634 exe=/usr/bin/postgres name=group dev=hda1 ino=64131
scontext=user_u:system_r:postgresql_t tcontext=user_u:object_r:tmp_t
tclass=file

Jan  7 07:20:24 corems kernel: audit(1010368224.191:0): avc:  denied  { read
} for  pid=3635 exe=/usr/bin/postgres path=/tmp/sh-thd-1010341041 (deleted)
dev=hda1 ino=64169 scontext=user_u:system_r:postgresql_t
tcontext=user_u:object_r:tmp_t tclass=file

Jan  7 07:20:24 corems kernel: audit(1010368224.203:0): avc:  denied  { read
} for  pid=3635 exe=/usr/bin/postgres name=group dev=hda1 ino=64131
scontext=user_u:system_r:postgresql_t tcontext=user_u:object_r:tmp_t
tclass=file

Jan  7 07:20:24 corems kernel: audit(1010368224.480:0): avc:  denied  { read
} for  pid=3636 exe=/usr/bin/postgres path=/tmp/sh-thd-1010359030 (deleted)
dev=hda1 ino=64169 scontext=user_u:system_r:postgresql_t
tcontext=user_u:object_r:tmp_t tclass=file

Jan  7 07:20:24 corems kernel: audit(1010368224.492:0): avc:  denied  { read
} for  pid=3636 exe=/usr/bin/postgres name=group dev=hda1 ino=64131
scontext=user_u:system_r:postgresql_t tcontext=user_u:object_r:tmp_t
tclass=file

Jan  7 07:20:24 corems kernel: audit(1010368224.514:0): avc:  denied  { read
} for  pid=3637 exe=/usr/bin/postgres path=/tmp/sh-thd-1010342188 (deleted)
dev=hda1 ino=64169 scontext=user_u:system_r:postgresql_t
tcontext=user_u:object_r:tmp_t tclass=file

Jan  7 07:20:24 corems kernel: audit(1010368224.525:0): avc:  denied  { read
} for  pid=3637 exe=/usr/bin/postgres name=group dev=hda1 ino=64131
scontext=user_u:system_r:postgresql_t tcontext=user_u:object_r:tmp_t
tclass=file

Jan  7 07:20:24 corems kernel: audit(1010368224.579:0): avc:  denied  { read
} for  pid=3639 exe=/usr/bin/postgres name=group dev=hda1 ino=64131
scontext=user_u:system_r:postgresql_t tcontext=user_u:object_r:tmp_t
tclass=file

Jan  7 07:20:25 corems kernel: audit(1010368225.416:0): avc:  denied  { read
} for  pid=3641 exe=/usr/bin/postgres name=group dev=hda1 ino=64131
scontext=user_u:system_r:postgresql_t tcontext=user_u:object_r:tmp_t
tclass=file

Jan  7 07:20:26 corems kernel: audit(1010368226.554:0): avc:  denied  { read
} for  pid=3643 exe=/usr/bin/postgres name=group dev=hda1 ino=64131
scontext=user_u:system_r:postgresql_t tcontext=user_u:object_r:tmp_t
tclass=file

Jan  7 07:20:27 corems kernel: audit(1010368227.547:0): avc:  denied  { read
} for  pid=3644 exe=/usr/bin/postgres name=group dev=hda1 ino=64131
scontext=user_u:system_r:postgresql_t tcontext=user_u:object_r:tmp_t
tclass=file

Jan  7 07:20:28 corems kernel: audit(1010368228.198:0): avc:  denied  { read
} for  pid=3667 exe=/usr/bin/postgres name=group dev=hda1 ino=64131
scontext=user_u:system_r:postgresql_t tcontext=user_u:object_r:tmp_t
tclass=file

Jan  7 07:20:28 corems kernel: audit(1010368228.204:0): avc:  denied  { read
} for  pid=3667 exe=/usr/bin/postgres name=group dev=hda1 ino=64131
scontext=user_u:system_r:postgresql_t tcontext=user_u:object_r:tmp_t
tclass=file

Jan  7 07:20:29 corems postgresql: Starting postgresql service:  succeeded
Jan  7 07:20:32 corems kernel: audit(1010368232.687:0): avc:  denied  { read
} for  pid=3753 exe=/usr/bin/postgres name=group dev=hda1 ino=64131
scontext=user_u:system_r:postgresql_t tcontext=user_u:object_r:tmp_t
tclass=file

Jan  7 07:20:32 corems kernel: audit(1010368232.697:0): avc:  denied  { read
} for  pid=3753 exe=/usr/bin/postgres name=group  dev=hda1 ino=64131
scontext=user_u:system_r:postgresql_t tcontext=user_u:object_r:tmp_t
tclass=file

Jan  7 07:20:33 corems postgresql: Starting postgresql service:  succeeded
)
 
After error messages service started successfully.how can i start the
service without error messages on screen


Please Help me to solve this Problem


Regards
S.Balaji

Responses

pgsql-bugs by date

Next:From: Abbas AnsaripoorDate: 2007-03-09 08:00:56
Subject: BUG #3127: Error IN initdb On Installation
Previous:From: Randy IsbellDate: 2007-03-08 20:54:40
Subject: Re: BUG #3110: Online Backup introduces Duplicate OIDs

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group