Your message dated Sat, 28 May 2005 18:18:33 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Fwd: Fixed in upload of postgresql-common 11 to experimental
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 25 May 2005 12:36:44 +0000
>From [EMAIL PROTECTED] Wed May 25 05:36:44 2005
Return-path: <[EMAIL PROTECTED]>
Received: from mail.t-systems.cz [212.67.76.249] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Dav7r-0008Jx-00; Wed, 25 May 2005 05:36:44 -0700
Received: from mefisto.t-systems.cz (faust.t-systems.cz [10.246.110.12])
        by mail.t-systems.cz (Postfix) with ESMTP id B4E0589AB7
        for <[EMAIL PROTECTED]>; Wed, 25 May 2005 14:36:28 +0200 (CEST)
Received: from mina ([10.246.109.111]) by mefisto.t-systems.cz with Microsoft 
SMTPSVC(6.0.3790.211);
         Wed, 25 May 2005 14:36:03 +0200
Date: Wed, 25 May 2005 14:35:53 +0200 (CEST)
From: Petr Salinger <[EMAIL PROTECTED]>
X-X-Sender: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: postgresql-common: fresh install of postgresql 8.0 fails (with LANG
 != C)
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; 
BOUNDARY="4127879021-1931123809-1117024553=:26420"
X-OriginalArrivalTime: 25 May 2005 12:36:03.0646 (UTC) 
FILETIME=[50758DE0:01C56126]
X-T-Systems_Czech-MailScanner: Found to be clean
X-T-Systems_Czech-MailScanner-SpamCheck: not spam (whitelisted),
        SpamAssassin (score=-5.138, required 5, autolearn=not spam,
        ALL_TRUSTED -3.30, AWL -0.74, BAYES_40 -1.10)
X-MailScanner-From: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--4127879021-1931123809-1117024553=:26420
Content-Type: TEXT/PLAIN; charset=iso-8859-2; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE

Package: postgresql-common
Version: 9
Severity: important
Tags: experimental l10n


Hi.

I tried to install postgresql-8.0 with LANG=3Dcs_CZ:

apt-get install postgresql-8.0
=2E..
Creating new cluster (configuration: /etc/postgresql/8.0/main, data: /var/l=
ib/postgresql/8.0/main)...
Moving configuration file /var/lib/postgresql/8.0/main/pg_hba.conf to /etc/=
postgresql/8.0/main...
Moving configuration file /var/lib/postgresql/8.0/main/pg_ident.conf to /et=
c/postgresql/8.0/main...
Moving configuration file /var/lib/postgresql/8.0/main/postgresql.conf to /=
etc/postgresql/8.0/main...
Configuring postgresql.conf to use port 5432...
Starting PostgreSQL 8.0 database server: main(FAILED)

Error: Could not parse locale out of pg_controldata output
invoke-rc.d: initscript postgresql-8.0, action "start" failed.


The problem is that pg_controldata is called with LANG=3Dcs_CZ,
and pg_ctlcluster is unable to parse such output.

Output of pg_controldata for LANG=3Dcs_CZ:
=2E..
LC_COLLATE (porovn=E1v=E1n=ED =F8et=ECzc=F9):                           cs_=
CZ
LC_CTYPE (typy znak=F9):                             cs_CZ

Output of pg_controldata for LANG=3DC:
=2E..
LC_COLLATE:                           cs_CZ
LC_CTYPE:                             cs_CZ

The "regex" used in pg_ctlcluster is /^LC_CTYPE:\s*(\S+)\s*$/

One solution is to change "regex" to /^LC_CTYPE.*:\s*(\S+)\s*$,
the second one (probably better) is to call pg_controldata with LANG=3DC.

Regards,

 =09Petr


-- System Information:
Debian Release: 3.1
   APT prefers testing
   APT policy: (990, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-eta
Locale: LANG=3Dcs_CZ, LC_CTYPE=3Dcs_CZ (charmap=3DISO-8859-2)

-- no debconf information

--4127879021-1931123809-1117024553=:26420--

---------------------------------------
Received: (at 310716-done) by bugs.debian.org; 28 May 2005 16:19:05 +0000
>From [EMAIL PROTECTED] Sat May 28 09:19:05 2005
Return-path: <[EMAIL PROTECTED]>
Received: from box79162.elkhouse.de [213.9.79.162] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Dc41g-00034h-00; Sat, 28 May 2005 09:19:05 -0700
Received: from martin by box79162.elkhouse.de with local (Exim 4.50)
        id 1Dc41C-0002Yf-3r
        for [EMAIL PROTECTED]; Sat, 28 May 2005 18:18:34 +0200
Date: Sat, 28 May 2005 18:18:33 +0200
From: Martin Pitt <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Fwd: Fixed in upload of postgresql-common 11 to experimental
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="mYCpIKhGyMATD0i+"
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,VALID_BTS_CONTROL 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 


--mYCpIKhGyMATD0i+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi!

This bug only affected experimental, so it can be closed now.

Martin

----- Forwarded message from Martin Pitt <[EMAIL PROTECTED]> -----

=46rom: Martin Pitt <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: Martin Pitt <[EMAIL PROTECTED]>
Subject: Fixed in upload of postgresql-common 11 to experimental
Date: Sat, 28 May 2005 10:32:40 -0400
X-Spam-Status: No, score=3D0.0 required=3D4.0 tests=3DAWL,BAYES_50 autolear=
n=3Dno=20
        version=3D3.0.3

tag 310716 + fixed-in-experimental

quit

This message was generated automatically in response to an
upload to the experimental distribution.  The .changes file follows.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 28 May 2005 16:02:59 +0200
Source: postgresql-common
Binary: postgresql-common
Architecture: source all
Version: 11
Distribution: experimental
Urgency: low
Maintainer: Martin Pitt <[EMAIL PROTECTED]>
Changed-By: Martin Pitt <[EMAIL PROTECTED]>
Description:=20
 postgresql-common - manager for PostgreSQL database clusters
Closes: 310716
Changes:=20
 postgresql-common (11) experimental; urgency=3Dlow
 .
   * pg_ctlcluster: Cleaned up variables.
   * Factored out change_ugid() to PgCommon.pm and use it in the scripts.
   * Added pg_maintenance(8) program.
   * Activated formerly disabled postgresql-common.cron.d which calls
     pg_maintenance.
   * pg_createcluster: Default to cluster owner 'postgres' if no owner is
     specified.
   * pg_ctlcluster: Fix pg_controldata output parsing and call pg_controlda=
ta
     under locale 'C' to work with all locales. Closes: #310716
   * pg_createcluster: Added --socket-dir option.
   * PgCommon.pm: Fix declaration of @lines in set_conf_value() to avoid
     duplicating the lines in configuration files.
   * PgCommon.pm: Converted to use strict to avoid future errors.
   * pg_maintenance: Removed option '-e' from vacuumdb call (leftover from
     debugging).
   * PgCommon.pm, user_cluster_map(): If several clusters exist, but no
     mapping is configured, return not only the default port's cluster vers=
ion,
     but also its name. This fixes the socket directory determination for t=
his
     case.
   * debian/rules: Fix clean target to remove the manpages created from POD
     again.
   * pg_upgradecluster: Provide socket directory arguments to psql and
     pg_dumpall to make it work for sockets which are not in /tmp.
Files:=20
 8449f716e88497079e23feca45b0424c 578 misc optional postgresql-common_11.dsc
 2212421cf7ca758819487cec7e5154b5 26068 misc optional postgresql-common_11.=
tar.gz
 8d346cfe655103bfb52e5b0e9601079b 45982 misc optional postgresql-common_11_=
all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCmHuDDecnbV4Fd/IRAvGJAKDHywmLEJLQgTkdBQlo/9OYuFLKhwCgp+d1
BSTIVOr/RSZdtNER0SJm77c=3D
=3DcoS4
-----END PGP SIGNATURE-----


----- End forwarded message -----

--=20
Martin Pitt              http://www.piware.de
Ubuntu Developer   http://www.ubuntulinux.org
Debian Developer        http://www.debian.org

--mYCpIKhGyMATD0i+
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCmJnZDecnbV4Fd/IRAjopAJ9eRVXfEOFFAwMP/3ed9GFLZAWWPQCgxn86
Y/fz70/KPC+MRyPQdpLgmjY=
=BXvA
-----END PGP SIGNATURE-----

--mYCpIKhGyMATD0i+--


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

Reply via email to