Bug#517389: postgresql-8.3: cannot create db cluster during installation 8.3 on lenny

2009-02-28 Thread Martin Pitt
reassign 517389 debian-installer
severity 517389 important
thanks

Ralf Swhajor [2009-02-27 13:46 +0100]:
 the installation process cannot create the db cluster.
 all directories .../8.3/main are missing.
 [...]
 Feb 26 10:09:44 in-target: RICHTE POSTGRESQL-8.3 EIN (8.3.6-1) ...^M
 Feb 26 10:09:44 in-target: CREATING NEW CLUSTER (CONFIGURATION: 
 /ETC/POSTGRESQL/8.3/MAIN, DATA: /VAR/LIB/POSTGRESQL/8.3/MAIN)...^M
 Feb 26 10:09:44 in-target: SH: /DEV/NULL: KEINE BERECHTIGUNG^M

I have seen that a couple of times already, and this doesn't happen in
an installed system. For some reason, the permissions of /dev/null are
wrecked in the installer environment?

FYI, you should be able to create a cluster using

  pg_createcluster 8.3 main --start

after installation.

Thanks,

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


signature.asc
Description: Digital signature


Bug#517389: Processed: Re: Bug#517389: postgresql-8.3: cannot create db cluster during installation 8.3 on lenny

2009-02-28 Thread Colin Watson
reassign 517389 udev-udeb
thanks

On Sat, Feb 28, 2009 at 01:27:09PM +, Debian Bug Tracking System wrote:
 Processing commands for cont...@bugs.debian.org:
 
  reassign 517389 debian-installer
 Bug#517389: postgresql-8.3: cannot create db cluster during installation 8.3 
 on lenny
 Bug reassigned from package `postgresql-8.3' to `debian-installer'.
 
  severity 517389 important
 Bug#517389: postgresql-8.3: cannot create db cluster during installation 8.3 
 on lenny
 Severity set to `important' from `grave'

This is a udev bug: it doesn't ship 91-permissions.rules.

With udev 125, it would be rather tedious to fix this: we'd have to have
a cut-down version of 91-permissions.rules that only contained the mode
changes, not owner/group changes, otherwise we'd get lots of warning
messages since d-i only has trivial passwd and group databases. However,
udev 137 introduced a udevd option specifically for this kind of
purpose. udev-udeb should start udevd with the --resolve-names=never
option, and then it can simply ship the same 91-permissions.rules as is
shipped in the .deb and this will all work properly.

-- 
Colin Watson   [cjwat...@debian.org]



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#517389: postgresql-8.3: cannot create db cluster during installation 8.3 on lenny

2009-02-27 Thread Ralf Swhajor
Package: postgresql-8.3
Version: 8.3.6-1
Severity: grave
Justification: renders package unusable

the installation process cannot create the db cluster.
all directories .../8.3/main are missing.

here's an error log
Feb 26 10:09:42 in-target: RICHTE POSTGRESQL-CLIENT-COMMON EIN 
(94LENNY1) ...^M
Feb 26 10:09:42 in-target: RICHTE POSTGRESQL-CLIENT-8.3 EIN (8.3.6-1) 
^M
Feb 26 10:09:42 in-target: RICHTE POSTGRESQL-COMMON EIN (94LENNY1) ...^M
Feb 26 10:09:43 debconf: Obsolete command TITLE Konfiguriere 
postgresql-common called
Feb 26 10:09:43 in-target: SUPPORTED_VERSIONS: WARNING: UNKNOWN DEBIAN 
RELEASE: 5.0^M
Feb 26 11:09:43 groupadd[7780]: new group: name=postgres, GID=117
Feb 26 11:09:43 useradd[7784]: new user: name=postgres, UID=108, 
GID=117, home=/var/lib/postgresql, shell=/bin/bash
Feb 26 11:09:43 usermod[7789]: change user `postgres' password
Feb 26 11:09:43 chage[7794]: changed password expiry for postgres
Feb 26 11:09:43 chfn[7797]: changed user `postgres' information
Feb 26 10:09:43 in-target: FÃŒGE BENUTZER POSTGRES ZU GRUPPE SSL-CERT 
HINZU^M
Feb 26 11:09:43 gpasswd[7813]: add member postgres to group ssl-cert by 
root
Feb 26 10:09:44 in-target: RICHTE POSTGRESQL-8.3 EIN (8.3.6-1) ...^M
Feb 26 10:09:44 in-target: CREATING NEW CLUSTER (CONFIGURATION: 
/ETC/POSTGRESQL/8.3/MAIN, DATA: /VAR/LIB/POSTGRESQL/8.3/MAIN)...^M
Feb 26 10:09:44 in-target: SH: /DEV/NULL: KEINE BERECHTIGUNG^M
Feb 26 10:09:44 in-target: FGETS FAILURE: ERFOLG^M
Feb 26 10:09:44 in-target: DAS PROGRAMM »POSTGRES« WIRD VON INITDB 
BENöTIGT, ABER WURDE NICHT IM^M
Feb 26 10:09:44 in-target: SELBEN VERZEICHNIS WIE 
»/USR/LIB/POSTGRESQL/8.3/BIN/INITDB« GEFUNDEN.^M
Feb 26 10:09:44 in-target: PRÃŒFEN SIE IHRE INSTALLATION.^M
Feb 26 10:09:44 in-target: ERROR: INITDB FAILED^M
Feb 26 10:09:44 in-target: ERROR: COULD NOT CREATE DEFAULT CLUSTER. 
PLEASE CREATE IT MANUALLY WITH^M
Feb 26 10:09:44 in-target: ^M
Feb 26 10:09:44 in-target:   PG_CREATECLUSTER 8.3 MAIN --START^M
Feb 26 10:09:44 in-target: ^M
Feb 26 10:09:44 in-target: OR A SIMILAR COMMAND (SEE 'MAN 
PG_CREATECLUSTER').^M
Feb 26 10:09:44 in-target: RICHTE POSTGRESQL EIN (8.3.6-1) ...^M
Feb 26 10:09:44 in-target: RICHTE POSTGRESQL-CLIENT EIN (8.3.6-1) ...^M
Feb 26 10:09:44 in-target: RICHTE POSTGRESQL-CONTRIB-8.3 EIN (8.3.6-1) 
^M
Feb 26 10:09:44 in-target: RICHTE POSTGRESQL-CONTRIB EIN (8.3.6-1) ...^M
Feb 26 10:09:44 in-target: RICHTE POSTGRESQL-DOC-8.3 EIN (8.3.6-1) ...^M
Feb 26 10:09:44 in-target: RICHTE POSTGRESQL-DOC EIN (8.3.6-1) ...^M


-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages postgresql-8.3 depends on:
ii  libc6 2.7-18 GNU C Library: Shared libraries
ii  libcomerr21.41.3-1   common error description library
ii  libkrb53  1.6.dfsg.4~beta1-5 MIT Kerberos runtime libraries
ii  libldap-2.4-2 2.4.11-1   OpenLDAP libraries
ii  libpam0g  1.0.1-5Pluggable Authentication Modules l
ii  libpq58.3.6-1PostgreSQL C client library
ii  libssl0.9.8   0.9.8g-15  SSL shared libraries
ii  libxml2   2.6.32.dfsg-5  GNOME XML library
ii  locales   2.7-18 GNU C Library: National Language (
ii  postgresql-client-8.3 8.3.6-1front-end programs for PostgreSQL 
ii  postgresql-common 94lenny1   PostgreSQL database-cluster manage
ii  ssl-cert  1.0.23 simple debconf wrapper for OpenSSL
ii  tzdata2008h-2time zone and 
daylight-saving time

postgresql-8.3 recommends no packages.

Versions of packages postgresql-8.3 suggests:
pn  oidentd | ident-servernone (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org