Your message dated Tue, 22 Nov 2005 08:47:10 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#334968: fixed in postgresql-7.4 1:7.4.9-2
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; 14 Oct 2005 08:45:22 +0000
>From [EMAIL PROTECTED] Fri Oct 14 01:45:22 2005
Return-path: <[EMAIL PROTECTED]>
Received: from mail.t-systems.cz [212.67.76.249]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1EQLBq-0005kD-00; Fri, 14 Oct 2005 01:45:22 -0700
Received: from mefisto.t-systems.cz (faust.t-systems.cz [10.246.110.12])
by mail.t-systems.cz (Postfix) with ESMTP id 5D62A8A21E
for <[EMAIL PROTECTED]>; Fri, 14 Oct 2005 10:45:16 +0200 (CEST)
Received: from enigma ([10.246.109.32]) by mefisto.t-systems.cz with Microsoft
SMTPSVC(6.0.3790.211);
Fri, 14 Oct 2005 10:45:16 +0200
Date: Fri, 14 Oct 2005 10:45:15 +0200 (CEST)
From: Petr Salinger <[EMAIL PROTECTED]>
X-X-Sender: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: postgresql-8.1: "postrm purge" fails when /var/lib/postgresql is
symbolic link
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-OriginalArrivalTime: 14 Oct 2005 08:45:16.0209 (UTC)
FILETIME=[9966DA10:01C5D09B]
X-T-Systems_Czech-MailScanner: Found to be clean
X-T-Systems_Czech-MailScanner-SpamCheck: not spam (whitelisted),
SpamAssassin (score=-5.857, required 5, autolearn=not spam,
ALL_TRUSTED -3.30, AWL 0.04, BAYES_00 -2.60)
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-Level:
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
Package: postgresql-8.1
Version: 8.0+8.1beta3-1
Severity: minor
Hi.
Today I want to drop 8.1beta2 and install 8.1beta3.
But "apt-get remove --purge postgresql-8.1 postgresql-client-8.1" failed.
Our setup (before purge):
$ ls -al /var/lib/postgresql
lrwxr-xr-x 1 root root 10 May 25 15:06 /var/lib/postgresql -> /db/pgdata
$ ls -al /var/lib/postgresql/
total 28
drwxr-xr-x 4 postgres postgres 4096 Oct 14 10:06 .
drwxr-xr-x 7 root root 4096 Jul 13 15:27 ..
-rw------- 1 postgres postgres 98 Oct 11 16:45 .Xauthority
-rw------- 1 postgres postgres 1531 Oct 14 10:15 .bash_history
-rw------- 1 postgres postgres 1565 Oct 14 10:08 .psql_history
drwxr-xr-x 3 postgres postgres 4096 May 25 14:03 8.0
drwxr-xr-x 3 postgres postgres 4096 Oct 14 10:06 8.1
The problem is in clean_dir()
clean_dir() {
if [ -d "$1" ]; then
rmdir --ignore-fail-on-non-empty "$1"
fi
}
because test -d is sucessfull:
$ test -L /var/lib/postgresql ; echo $?
0
$ test -d /var/lib/postgresql ; echo $?
0
I don't know whether it is expected behaviour of test
(in fact, I am surprised), but fix in postrm should be easy:
[ -d "$1" -a ! -L "$1" ]
Affected is also postgresql-8.0 and probably postgresql-7.4
Regards
Petr
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.12-eta
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages postgresql-8.1 depends on:
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libcomerr2 1.37-2sarge1 common error description library
ii libkrb53 1.3.6-2sarge2 MIT Kerberos runtime libraries
ii libpam0g 0.76-22 Pluggable Authentication Modules l
ii libpq4 8.0.4-1ts PostgreSQL C client library
ii libreadline5 5.0-10 GNU readline and history libraries
ii libssl0.9.7 0.9.7e-3 SSL shared libraries
ii postgresql-client-8.1 8.0+8.1beta3-1ts1 front-end programs for PostgreSQL
ii postgresql-common 27 manager for PostgreSQL database cl
ii zlib1g 1:1.2.2-4.sarge.2 compression library - runtime
-- no debconf information
---------------------------------------
Received: (at 334968-close) by bugs.debian.org; 22 Nov 2005 16:51:22 +0000
>From [EMAIL PROTECTED] Tue Nov 22 08:51:22 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 4.50)
id 1EebIU-0006Zg-QP; Tue, 22 Nov 2005 08:47:10 -0800
From: Martin Pitt <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#334968: fixed in postgresql-7.4 1:7.4.9-2
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Tue, 22 Nov 2005 08:47:10 -0800
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-Level:
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
Source: postgresql-7.4
Source-Version: 1:7.4.9-2
We believe that the bug you reported is fixed in the latest version of
postgresql-7.4, which is due to be installed in the Debian FTP archive:
libpq3_7.4.9-2_i386.deb
to pool/main/p/postgresql-7.4/libpq3_7.4.9-2_i386.deb
postgresql-7.4_7.4.9-2.diff.gz
to pool/main/p/postgresql-7.4/postgresql-7.4_7.4.9-2.diff.gz
postgresql-7.4_7.4.9-2.dsc
to pool/main/p/postgresql-7.4/postgresql-7.4_7.4.9-2.dsc
postgresql-7.4_7.4.9-2_i386.deb
to pool/main/p/postgresql-7.4/postgresql-7.4_7.4.9-2_i386.deb
postgresql-client-7.4_7.4.9-2_i386.deb
to pool/main/p/postgresql-7.4/postgresql-client-7.4_7.4.9-2_i386.deb
postgresql-contrib-7.4_7.4.9-2_i386.deb
to pool/main/p/postgresql-7.4/postgresql-contrib-7.4_7.4.9-2_i386.deb
postgresql-doc-7.4_7.4.9-2_all.deb
to pool/main/p/postgresql-7.4/postgresql-doc-7.4_7.4.9-2_all.deb
postgresql-plperl-7.4_7.4.9-2_i386.deb
to pool/main/p/postgresql-7.4/postgresql-plperl-7.4_7.4.9-2_i386.deb
postgresql-plpython-7.4_7.4.9-2_i386.deb
to pool/main/p/postgresql-7.4/postgresql-plpython-7.4_7.4.9-2_i386.deb
postgresql-pltcl-7.4_7.4.9-2_i386.deb
to pool/main/p/postgresql-7.4/postgresql-pltcl-7.4_7.4.9-2_i386.deb
postgresql-server-dev-7.4_7.4.9-2_all.deb
to pool/main/p/postgresql-7.4/postgresql-server-dev-7.4_7.4.9-2_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Martin Pitt <[EMAIL PROTECTED]> (supplier of updated postgresql-7.4 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 22 Nov 2005 14:13:34 +0100
Source: postgresql-7.4
Binary: postgresql-plpython-7.4 postgresql-client-7.4 postgresql-7.4
postgresql-contrib-7.4 libpq3 postgresql-doc-7.4 postgresql-plperl-7.4
postgresql-server-dev-7.4 postgresql-pltcl-7.4
Architecture: source i386 all
Version: 1:7.4.9-2
Distribution: unstable
Urgency: low
Maintainer: Martin Pitt <[EMAIL PROTECTED]>
Changed-By: Martin Pitt <[EMAIL PROTECTED]>
Description:
libpq3 - PostgreSQL C client library
postgresql-7.4 - object-relational SQL database, version 7.4 server
postgresql-client-7.4 - front-end programs for PostgreSQL 7.4
postgresql-contrib-7.4 - additional facilities for PostgreSQL
postgresql-doc-7.4 - documentation for the PostgreSQL database management
system
postgresql-plperl-7.4 - PL/Perl procedural language for PostgreSQL 7.4
postgresql-plpython-7.4 - PL/Python procedural language for PostgreSQL 7.4
postgresql-pltcl-7.4 - PL/TCL procedural language for PostgreSQL 7.4
postgresql-server-dev-7.4 - development files for PostgreSQL 7.4 server-side
programming
Closes: 334968
Changes:
postgresql-7.4 (1:7.4.9-2) unstable; urgency=low
.
* debian/postgresql-7.4.postrm: clean_dir(): Ensure that directory is not a
symbolic link before attempting to rmdir it. Closes: #334968
* Rebuild against OpenSSL 0.9.8.
Files:
1a5260e7edca486575067bdb93e24e45 1057 misc optional postgresql-7.4_7.4.9-2.dsc
5d0064acfd53835e94e28a021bcfc2f3 24794 misc optional
postgresql-7.4_7.4.9-2.diff.gz
7905ec07e07ca74c316f5c8d4891c4d8 1161482 doc optional
postgresql-doc-7.4_7.4.9-2_all.deb
fc31c131386f4d3184f29bce8b1d55ba 421732 libdevel optional
postgresql-server-dev-7.4_7.4.9-2_all.deb
6340c66513570dbdd8872194cfc4ebf7 3192684 misc optional
postgresql-7.4_7.4.9-2_i386.deb
62cca6eaafb281342abf75a258947e7c 861048 misc optional
postgresql-client-7.4_7.4.9-2_i386.deb
a452f6d83701fcf0168aea01c572bf22 94830 libs optional libpq3_7.4.9-2_i386.deb
1953adcb75d27bfc7cdfe28ce9a2a122 450560 misc optional
postgresql-contrib-7.4_7.4.9-2_i386.deb
abc438be917cc4930d4e55c731a16bb8 21590 misc optional
postgresql-plperl-7.4_7.4.9-2_i386.deb
5308ad9a4b318775ff404450ac548afc 23732 misc optional
postgresql-plpython-7.4_7.4.9-2_i386.deb
e6094872b82029bd6964045f915fea0b 25308 misc optional
postgresql-pltcl-7.4_7.4.9-2_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDg0jbDecnbV4Fd/IRAj1wAJ9ImQdGKgbRI6PQh6FPCRu2v0K3YwCg3oTY
xXK74ESGueZtUPOgm18i4lw=
=d7oG
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]