Hi,

Stanislav Maslovski [2008-01-14 11:39 +0300]:
> Well, actually I did run that "pg_dropcluster 8.2 main --stop" as you can
> see from the log. My mistake was that I thought I should do the upgrade
> under postgres system account. However, I had to do it when being root.

Ah, I see.

> > Should I improve README.Debian somehow? pg_upgradecluster could
> > explain how to drop the cluster? Anything else?
> 
> Please add a siple uid check to the script so that it will print an
> informative message when run with not enough priveleges and possibly add
> a note to the README file.

In fact I had this check in previous versions, but some people asked
me to make pg_*cluster work under the postgres account, too, provided
that the permissions of /etc/postgresql and /var/lib/postgresql/ were
sufficient (i. e. writable by postgres). Seems that the default setup
does not match this, at least not for upgrades.

Thanks for the details, I'll improve the error mesage.

Martin

-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to