From: | "Clodoaldo Pinto" <clodoaldo(dot)pinto(at)gmail(dot)com> |
---|---|
To: | "pgsql-general postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Postgresql does not start on reboot |
Date: | 2006-07-01 18:48:32 |
Message-ID: | a595de7a0607011148u59556a3ayf2c87df267e1bc1b@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Postgresql does not start on reboot but starts normally with "pg_ctl
start". Running FC5 with selinux enabled.
# chkconfig --list postgresql
postgresql 0:off 1:off 2:on 3:on 4:on 5:on 6:off
/etc/selinux/config:
SELINUX=enforcing
SELINUXTYPE=targeted
SETLOCALDEFS=0
In /var/log/messages there is this message:
kernel: audit(1151719618.110:4): avc: denied { search } for
pid=1849 comm="postmaster" name="/" dev=sdb1 ino=2
scontext=system_u:system_r:postgresql_t:s0
tcontext=system_u:object_r:file_t:s0 tclass=dir
There is a simlink in /var/lib/pgsql/data pointing to /disk2/pg_xlog
which is in sbd1 and is owned by postgres.
If is this a selinux problem, how can I configure it to let postgres
use the pg_xlog dir in /disk2 on startup?
Regards, Clodoaldo Pinto
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-07-01 19:09:16 | Re: Postgresql does not start on reboot |
Previous Message | Alan Hodgson | 2006-07-01 17:56:26 | Re: SELECT statement in stored procedure |