Bug#475954: postgresql-common: failed attempt to create with an existing data cluster

2008-04-15 Thread Martin Pitt
Hi Ross, Ross Boylan [2008-04-14 9:44 -0700]: The more interesting question here is, how did the files disappear from /etc/ in the first place? That sounds like the real bug. The files are missing under /var/lib/, not under /etc. OK. So then, how did they get lost from the cluster data

Bug#475954: postgresql-common: failed attempt to create with an existing data cluster

2008-04-15 Thread Ross Boylan
On Tue, 2008-04-15 at 08:59 +0200, Martin Pitt wrote: Hi Ross, Ross Boylan [2008-04-14 9:44 -0700]: The more interesting question here is, how did the files disappear from /etc/ in the first place? That sounds like the real bug. The files are missing under /var/lib/, not under

Bug#475954: postgresql-common: failed attempt to create with an existing data cluster

2008-04-15 Thread Martin Pitt
Hi, Ross Boylan [2008-04-15 9:01 -0700]: I don't see them there for any of the clusters. It looks as if pg_createcluster moves them to /etc. Ah, so that cluster was created with pg_createcluster as well. I did dig the ones under my old /etc up, copy them to /var/lib/, and

Bug#475954: postgresql-common: failed attempt to create with an existing data cluster

2008-04-15 Thread Ross Boylan
On Tue, 2008-04-15 at 19:49 +0200, Martin Pitt wrote: Hi, Ross Boylan [2008-04-15 9:01 -0700]: I don't see them there for any of the clusters. It looks as if pg_createcluster moves them to /etc. Ah, so that cluster was created with pg_createcluster as well. I did dig the ones

Bug#475954: postgresql-common: failed attempt to create with an existing data cluster

2008-04-14 Thread Ross Boylan
On Mon, 2008-04-14 at 10:34 +0200, Martin Pitt wrote: Hi Ross, Ross Boylan [2008-04-13 23:21 -0700]: Configuring already existing cluster (configuration: /etc/postgresql/8.1/wheat, data: /var/lib/postgresql/8.1/wheat, owner: 107:122) Error: move_conffile: required configuration file

Bug#475954: postgresql-common: failed attempt to create with an existing data cluster

2008-04-14 Thread Ross Boylan
Package: postgresql-common Version: 87 Severity: normal Terminal excerpt: - # cp -a /oldvar/lib/postgresql/8.1/main /var/lib/postgresql/8.1/wheat # chown -R postgres:postgres /var/lib/postgresql/8.1/wheat # pg_createcluster -d

Bug#475954: postgresql-common: failed attempt to create with an existing data cluster

2008-04-14 Thread Martin Pitt
Hi Ross, Ross Boylan [2008-04-13 23:21 -0700]: Configuring already existing cluster (configuration: /etc/postgresql/8.1/wheat, data: /var/lib/postgresql/8.1/wheat, owner: 107:122) Error: move_conffile: required configuration file /var/lib/postgresql/8.1/wheat/postgresql.conf does not exist