Re: cannot access directory /pg_tblspc/* - Mailing list pgsql-novice

From Charlie
Subject Re: cannot access directory /pg_tblspc/*
Date
Msg-id op.tbefaknqak9zf1@lepa
Whole thread Raw
In response to Re: cannot access directory /pg_tblspc/*  (Bruno Wolff III <bruno@wolff.to>)
Responses Re: cannot access directory /pg_tblspc/*  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-novice
Thanks a lot, I disabled security for postgresql service and it's running
perfectly now.
Will you please tell me what was selinux doing that prevented it from
working properly? Thanx a lot again!

> On Fri, Jun 16, 2006 at 21:10:44 +0200,
>   Charlie <perezchar@gmail.com> wrote:
>> Hi everybody,
>> I've got a problem starting a database under fedora core 5.
>> I've created a database 'test' in a custom tablespace /bdd/data (/bdd is
>> root of a partition -ext3-). i.e.:
>> #df
>> /dev/hdb1             14877060   4913288   9195868  35% /
>> /dev/hdb2             31738420    212100  29888092   1% /bdd
>> /dev/hdb5             30407804    176288  28661968   1% /bdd_backup
>>
>> The problem is when I want to access my database 'test' once the system
>> is
>> up, it says it cannot access directory /pg_tblspc/<xxx> where <xxx> is a
>> number.
>> This file links to /bdd/data (drwx------  3 postgres postgres  4096 jun
>> 16
>> 19:17 data )
>
> Are you running selinux in enforcement mode? If so it might help to know
> what policy you are using.


pgsql-novice by date:

Previous
From: Charlie
Date:
Subject: Re: cannot access directory /pg_tblspc/*
Next
From: Waldemar Biernacki
Date:
Subject: really simple example of c-code and pqlib library