Your message dated Wed, 13 Jan 2010 09:22:56 +0000
with message-id <e1nuzri-0000dc...@ries.debian.org>
and subject line Bug#564498: fixed in stone 2.3.e-2
has caused the Debian Bug report #564498,
regarding stone failed to install : incorrect use of command substitution in
postinst
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
564498: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=564498
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: stone
Version: 2.3.e-1.1
Severity: grave
Tags: patch
Justification: renders package unusable
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu lucid ubuntu-patch
With dash (or bash) as default shell stone is uninstallable.
This is due to the use of command expansion syntax to retrieve values
stored in $DOMAINNAME and $HOSTNAME in postinst script.
This results in an uninstallable package with dash and invalid certficate with
bash.
BTW, when the certicate already exists, the message to the user display the
wrong path.
== HOW TO REPRODUCE ==
$ apt-get install stone
Fails with the following message
Setting up stone (2.3.e-1ubuntu1) ...
dpkg: error processing stone (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
stone
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up stone (2.3.e-1ubuntu1) ...
You already have /etc/certs/stone.pem
== VERSION ==
Reproduced with
stone | 2.3.e-1ubuntu1 | karmic/universe | source, amd64, i386
stone | 2.3.e-1.1 | lucid/universe | source, amd64, i386
In Ubuntu, we've applied the attached patch to achieve the following:
* debian/postinst:
- Fix incorrect use of command expansion which prevent
installation of the package with dash (LP: #495539)
- Display the right path to the certificate when it already exists
We thought you might be interested in doing the same.
-- System Information:
Debian Release: squeeze/sid
APT prefers lucid-updates
APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500,
'lucid-proposed'), (500, 'lucid-backports'), (500, 'lucid')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-9-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u stone-2.3.e/debian/postinst stone-2.3.e/debian/postinst
--- stone-2.3.e/debian/postinst
+++ stone-2.3.e/debian/postinst
@@ -6,7 +6,7 @@
PATH=$PATH:/usr/bin/ssl
if [ -f stone.pem ]
then
- echo "You already have /etc/certs/stone.pem"
+ echo "You already have `pwd`/stone.pem"
else
HOSTNAME=`hostname -s`
DOMAINNAME=`hostname -d`
@@ -14,10 +14,10 @@
.
.
.
-$(DOMAINNAME)
-$(HOSTNAME)
+$DOMAINNAME
+$HOSTNAME
stone
-r...@$(HOSTNAME).$(DOMAINNAME)
+r...@$hostname.$domainname
+
# req -new -x509 -nodes -out stone.pem -keyout stone.pem
ln -sf stone.pem `openssl x509 -noout -hash < stone.pem`.0
@@ -28 +28 @@
-#DEBHELPER#
\ No newline at end of file
+#DEBHELPER#
diff -u stone-2.3.e/debian/changelog stone-2.3.e/debian/changelog
diff -u stone-2.3.e/debian/control stone-2.3.e/debian/control
--- stone-2.3.e/debian/control
+++ stone-2.3.e/debian/control
@@ -1,7 +1,8 @@
Source: stone
Section: net
Priority: optional
-Maintainer: Takuo KITAME <kit...@debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
+XSBC-Original-Maintainer: Takuo KITAME <kit...@debian.org>
Build-Depends: debhelper (>> 3.0.0), libssl-dev
Standards-Version: 3.8.0
--- End Message ---
--- Begin Message ---
Source: stone
Source-Version: 2.3.e-2
We believe that the bug you reported is fixed in the latest version of
stone, which is due to be installed in the Debian FTP archive:
stone_2.3.e-2.diff.gz
to main/s/stone/stone_2.3.e-2.diff.gz
stone_2.3.e-2.dsc
to main/s/stone/stone_2.3.e-2.dsc
stone_2.3.e-2_i386.deb
to main/s/stone/stone_2.3.e-2_i386.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 564...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Takuo Kitame <kit...@debian.org> (supplier of updated stone 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 ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 13 Jan 2010 17:32:34 +0900
Source: stone
Binary: stone
Architecture: source i386
Version: 2.3.e-2
Distribution: unstable
Urgency: low
Maintainer: Takuo Kitame <kit...@debian.org>
Changed-By: Takuo Kitame <kit...@debian.org>
Description:
stone - TCP/IP packet repeater in the application layer
Closes: 564498
Changes:
stone (2.3.e-2) unstable; urgency=low
.
[ Jean-Baptiste Lallement (#564498) ]
* debian/postinst:
- Fix incorrect use of command expansion which prevent
installation of the package with dash (closes: #564498)
- Display the right path to the certificate when it already exists
.
[ Takuo Kitame ]
* fix lintian errors.
Checksums-Sha1:
dd48c8957ad475d038927659273be4127e5ddceb 1571 stone_2.3.e-2.dsc
aaf560db828097494cba5015738ce6175f0966c3 7532 stone_2.3.e-2.diff.gz
69c560d3d0b47cc9786ed8e7f085bf92aa036ed0 71970 stone_2.3.e-2_i386.deb
Checksums-Sha256:
90670cd20cac156eb731aa8db922ee6705e1e5e60c3a3d596ffc1b9cf0a47a50 1571
stone_2.3.e-2.dsc
72a1c7e395057950b3425ebcfd2e6f46d79e425cbc85e4a123be060b5d0ed248 7532
stone_2.3.e-2.diff.gz
e51cde4b6e2b15be8e90da612598ffa173ae4a3d3fc3f75aa103051fc85005a9 71970
stone_2.3.e-2_i386.deb
Files:
c7948275860069078a6d95a32d9bc422 1571 net optional stone_2.3.e-2.dsc
3d121efd7f539c751bb0e7b0d85cb007 7532 net optional stone_2.3.e-2.diff.gz
450d5b45f13b6c9a3f40403186721e59 71970 net optional stone_2.3.e-2_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQIVAwUBS02IYj1pA9/h0xbcAQgggRAApRNRcNDT2JpdfblWNLipS6E83tk8s19B
2LtSOpdQ8S6AwxL7Ell2S0lF3eEuJBS9nS60klXJHH720tgTCRXWlhZJ3RGfvTWA
al53zoJ/quulKhey5nFICmtBMb07qZdonDvZQ0hM+mkPmdGl7nGYmqfi6dGOAxoP
YvAo3mshsrTJlVlEU+WRH6u8vMzCq5/k4DBlTI3W3z4WXct083EaBaP+9sKlEKfF
w2vx50KJTMRW0rWg1Burn4bVjo8AE37jnCbIwJS6BpenOxBD7yLN/45krOikTTaE
+XZ9Wu19SWYracEnyzQjqwQc6+2mIvrLSsYWRbSgArEzYj025enjXot5JqGKX1xA
By0lDN+CFnBnFN4Zz+eF8muxf8kd7VD4fUl6KrjVfZOYpKeDNOvWEQ+OPJ3Y/BD2
bVI7Oy0aZ5MH6aC31Nsb/z/7WPd2pJKwmkpBgQr+WZlwg/CbEwoQjfopfdcWg0cC
ysgaxTYbOcQPXtW/F+FnEVSnUqPbjKPNpskNf6mCC3Warr8PcYVvJLIQqkxXFFhu
zbUQTNIh9YDnwVQxYiUk5y0xZ4GZjcAj4mxJH6IglE1IYbv+FfoUo7U+7KJeVj59
4EQJ+KwWWVaFNxNxW/TV5TYqPmqJYXywBBqBujGHY2tKLfEn56QqV5JCIKtxQziu
FET73cmX+V8=
=qBuG
-----END PGP SIGNATURE-----
--- End Message ---