From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeffrey Tenny <jeffrey.tenny@comcast.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: Postgresql 8.0.3, symbolic link to /var/lib/pgsql/data/base
Date: Wed, 28 Sep 2005 22:10:45 -0400
Message-ID: <6688.1127959845@sss.pgh.pa.us> (raw)
In-Reply-To: <433B3F55.2040407@comcast.net>
References: <433AE636.7030506@comcast.net>
<8410.1127936570@sss.pgh.pa.us>
<433B07F2.40906@comcast.net>
<433B086D.7020709@comcast.net>
<5092.1127943195@sss.pgh.pa.us>
<433B1335.70404@comcast.net>
<433B3F55.2040407@comcast.net>
Jeffrey Tenny <jeffrey.tenny@comcast.net> writes:
> It's clearly selinux though. If I do this:
> /usr/sbin/setenforce 0
> Then everything works peachy for my testing.
OK, that's pretty conclusive as to the source of the issue.
> It's interesting that there are no permission denials
> logged in /var/log/messages, but postgresql
> says it can't access /var/lib/pgsql/data/base
> because permission is denied (in the postgres log).
I've run into this more than a few times myself. What I've been told
when I complained about it is "that's normal because selinux log
messages are rate-limited to avoid inflating the log files too much".
Which is plausible in itself, but rate-limiting to zero is not helpful.
Feel free to file another gripe in Red Hat's bugzilla.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, jeffrey.tenny@comcast.net
Subject: Re: Postgresql 8.0.3, symbolic link to /var/lib/pgsql/data/base
In-Reply-To: <6688.1127959845@sss.pgh.pa.us>
References: <433AE636.7030506@comcast.net> <8410.1127936570@sss.pgh.pa.us> <433B07F2.40906@comcast.net> <433B086D.7020709@comcast.net> <5092.1127943195@sss.pgh.pa.us> <433B1335.70404@comcast.net> <433B3F55.2040407@comcast.net> <6688.1127959845@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox