> -----Original Message-----
> From: Martin Pitt [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 17, 2006 2:56 AM
> To: Jon Webster; [EMAIL PROTECTED]
> Subject: Re: Bug#357400: Asterisk bugs
> 
> Hi Jon,
> 
> Jon Webster [2006-03-16 21:29 -0500]:
> > I upgraded from an earlier version of postgresql to 8.1 and the home
> > directory appears to have changed at some point from
/var/lib/postgres
> > to /var/lib/postgresql.
> >
> > The previous directory no longer exists, however the home directory
did
> > not change as evidenced from the terminal session below.
> 
> Hmm, it's meant to be changed automatically.
The transitional postgresql package does appear to make that transition.
I most likely installed postgresql/sarge then jumped straight to
postgresql-8.1/etch and bypassed the transitional package.

Looking at another machine running unstable and postgresql 7.4, it has
both directories /var/lib/postgres/ and /var/lib/postgresql/. It also
has the correct /etc/passwd entry. It probably went through the
transitional package as intended.

> > Reinstalling postgresql-common did not correct the entry.
> 
> Right, that change is done by the transitional 'postgresql' package,
> not by postgresql-common. Installing/upgrading the current postgresql
> 7.5.16 package should help, though; does it?
> 
> > This may be the correct behavior, but incase it's not, you've been
> > warned :).
> 
> No, it's not, thanks for you report. :)
> 
> > [EMAIL PROTECTED]:/$ ls /var/lib/post* -d
> > /var/lib/postgrsql
> 
> Now, *that* looks wrng :)
> 
> So, to be honest, I'm not sure what happened here. 'postgrsql' doesn't
> appear anywhere in the postgresql nor postgresql-common sources, and I
> never heard that this path was created at some time. Do you have an
> idea how this directory could have been misnamed?
> 

The most likely place is postgresql/sarge.

Reply via email to