Re: [gentoo-user] Postgres suddenly can't access files in its /etc directory

2012-04-26 Thread napalm
On Thu, Apr 26, 2012 at 07:46:10AM +0200, J. Roeleveld wrote: On Mon, April 23, 2012 3:21 pm, nap...@squareownz.org wrote: I'm unsure if I should be posting this to the -hardened mailing list as I'm using the hardened profile but all of a sudden I'm getting a rather strange error when

Re: [gentoo-user] Postgres suddenly can't access files in its /etc directory

2012-04-25 Thread J. Roeleveld
On Mon, April 23, 2012 3:21 pm, nap...@squareownz.org wrote: I'm unsure if I should be posting this to the -hardened mailing list as I'm using the hardened profile but all of a sudden I'm getting a rather strange error when trying to start postgres. # /etc/init.d/postgresql-9.1 start *

Re: [gentoo-user] Postgres suddenly can't access files in its /etc directory

2012-04-24 Thread napalm
On Tue, Apr 24, 2012 at 06:27:22AM +0100, Graham Murray wrote: nap...@squareownz.org writes: Postgres doesn't have a home directory and if I create one and chown it postgres:postgres I still can't do anything. I'm totally at a loss here. Postgres should have a home directory -

Re: [gentoo-user] Postgres suddenly can't access files in its /etc directory

2012-04-24 Thread Michael Orlitzky
On 04/24/12 05:31, nap...@squareownz.org wrote: On Tue, Apr 24, 2012 at 06:27:22AM +0100, Graham Murray wrote: nap...@squareownz.org writes: Postgres doesn't have a home directory and if I create one and chown it postgres:postgres I still can't do anything. I'm totally at a loss here.

Re: [gentoo-user] Postgres suddenly can't access files in its /etc directory

2012-04-24 Thread Stroller
On 23 April 2012, at 22:18, nap...@squareownz.org wrote: … and if I create one and chown it postgres:postgres I still can't do anything. I'm totally at a loss here. If you want to say something like Postgres doesn't have a home directory, please post the output of `grep -i postgres

Re: [gentoo-user] Postgres suddenly can't access files in its /etc directory

2012-04-23 Thread Michael Mol
On Mon, Apr 23, 2012 at 9:21 AM, nap...@squareownz.org wrote: I'm unsure if I should be posting this to the -hardened mailing list as I'm using the hardened profile but all of a sudden I'm getting a rather strange error when trying to start postgres. # /etc/init.d/postgresql-9.1 start  *

Re: [gentoo-user] Postgres suddenly can't access files in its /etc directory

2012-04-23 Thread Michael Orlitzky
On 04/23/12 09:21, nap...@squareownz.org wrote: I'm unsure if I should be posting this to the -hardened mailing list as I'm using the hardened profile but all of a sudden I'm getting a rather strange error when trying to start postgres. # /etc/init.d/postgresql-9.1 start * Caching service

Re: [gentoo-user] Postgres suddenly can't access files in its /etc directory

2012-04-23 Thread napalm
On Mon, Apr 23, 2012 at 10:43:18AM -0400, Michael Orlitzky wrote: On 04/23/12 09:21, nap...@squareownz.org wrote: I'm unsure if I should be posting this to the -hardened mailing list as I'm using the hardened profile but all of a sudden I'm getting a rather strange error when trying to

Re: [gentoo-user] Postgres suddenly can't access files in its /etc directory

2012-04-23 Thread Michael Orlitzky
On 04/23/12 11:44, nap...@squareownz.org wrote: You can `su postgres` and then try to read the files yourself. That should reveal the problem. Interestingly I can't `su postgres` even though I have set it a shell, thanks for the tip though, I'm getting closer! You can also try `su -

Re: [gentoo-user] Postgres suddenly can't access files in its /etc directory

2012-04-23 Thread napalm
On Mon, Apr 23, 2012 at 11:56:47AM -0400, Michael Orlitzky wrote: On 04/23/12 11:44, nap...@squareownz.org wrote: You can `su postgres` and then try to read the files yourself. That should reveal the problem. Interestingly I can't `su postgres` even though I have set it a shell,

Re: [gentoo-user] Postgres suddenly can't access files in its /etc directory

2012-04-23 Thread Graham Murray
nap...@squareownz.org writes: Postgres doesn't have a home directory and if I create one and chown it postgres:postgres I still can't do anything. I'm totally at a loss here. Postgres should have a home directory - /var/lib/postgresql If you run su - postgres, this is the directory you should