Odd error starting psql

Alex Beamish talexb-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Mon Dec 20 19:24:24 UTC 2004


On Mon, 20 Dec 2004 10:12:11 -0500, Madison Kelly <linux-5ZoueyuiTZhBDgjK7y7TUQ at public.gmane.org> wrote:
> Hi all,
> 
>    I noticed today during boot (Fedora Core 3, psql v7.4.6) this error
> what it (and later I) tried to start the 'postgesql' service. I tried
> googling but there are no matches on either groups nor the regular
> search similar to this error:
> 
> Dec 20 10:07:33 akane kernel: audit(1103555253.873:0): avc:  denied  {
> read } for  pid=3575 exe=/usr/bin/postgres name=PG_VERSION dev=hda5
> ino=656478 scontext=root:system_r:postgresql_t
> tcontext=root:object_r:var_lib_t tclass=file
> 
>    I checked the permissions on '/usr/bin/postgres' and they are:
> 
> -rwxr-xr-x  1 root root 2.2M Dec 16 18:55 /usr/bin/postgres
> 
>    Any insight would be great! If I find an answer in the meantime, I'll
> post it for the record.

Can't help you that, bu I will warn you that if you edit the
pg_hba.conf as root, don't forget to make sure the permissions and
ownership are OK afterwards -- that file has to be owned by postgres.
That one's tripped me up before.

Alex
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list