Your message dated Thu, 28 Jun 2012 19:33:11 +0000
with message-id <[email protected]>
and subject line Bug#669576: fixed in sudo 1.8.5p2-1
has caused the Debian Bug report #669576,
regarding sudo-ldap.postinst: 40: [: missing ]
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 [email protected]
immediately.)
--
669576: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=669576
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sudo-ldap
Version: 1.8.3p2-1
Severity: important
Tags: patch
Dear Maintainer,
When installing sudo-ldap using apt-get I encountered the following output:
-- 8< --
Setting up sudo-ldap (1.8.3p2-1) ...
/var/lib/dpkg/info/sudo-ldap.postinst: 40: [: missing ]
-- 8< --
Line 40 of sudo-ldap.postinst reads like so:
if [ -e /etc/ldap/ldap.conf && ! -e /etc/sudo-ldap.conf ];then
&& is used between commands, but -a is used between predicates in [ ] pairs
When I changed && to -a, the package installed successfully. A patch that does
this is at the end of this message.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: armel (armv5tel)
Kernel: Linux 3.0.0-1-kirkwood
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages sudo-ldap depends on:
ii libc6 2.13-27
ii libldap-2.4-2 2.4.28-1.1
ii libpam-modules 1.1.3-7
ii libpam0g 1.1.3-7
sudo-ldap recommends no packages.
sudo-ldap suggests no packages.
-- Configuration Files:
/etc/sudoers [Errno 13] Permission denied: u'/etc/sudoers'
/etc/sudoers.d/README [Errno 13] Permission denied: u'/etc/sudoers.d/README'
-- no debconf information
---
debian/sudo-ldap.postinst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/debian/sudo-ldap.postinst b/debian/sudo-ldap.postinst
index 464afc9..0aa57a9 100644
--- a/debian/sudo-ldap.postinst
+++ b/debian/sudo-ldap.postinst
@@ -37,7 +37,7 @@ update-rc.d sudo start 75 2 3 4 5 . >/dev/null
# create symlink to ease transition to new path for ldap config
# if old config file exists and new one doesn't
-if [ -e /etc/ldap/ldap.conf && ! -e /etc/sudo-ldap.conf ];then
+if [ -e /etc/ldap/ldap.conf -a ! -e /etc/sudo-ldap.conf ];then
ln -s ldap/ldap.conf /etc/sudo-ldap.conf
fi
--
1.7.9.1
--- End Message ---
--- Begin Message ---
Source: sudo
Source-Version: 1.8.5p2-1
We believe that the bug you reported is fixed in the latest version of
sudo, which is due to be installed in the Debian FTP archive:
sudo-ldap_1.8.5p2-1_i386.deb
to main/s/sudo/sudo-ldap_1.8.5p2-1_i386.deb
sudo_1.8.5p2-1.debian.tar.gz
to main/s/sudo/sudo_1.8.5p2-1.debian.tar.gz
sudo_1.8.5p2-1.dsc
to main/s/sudo/sudo_1.8.5p2-1.dsc
sudo_1.8.5p2-1_i386.deb
to main/s/sudo/sudo_1.8.5p2-1_i386.deb
sudo_1.8.5p2.orig.tar.gz
to main/s/sudo/sudo_1.8.5p2.orig.tar.gz
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.
Bdale Garbee <[email protected]> (supplier of updated sudo 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: SHA512
Format: 1.8
Date: Thu, 28 Jun 2012 12:01:37 -0600
Source: sudo
Binary: sudo sudo-ldap
Architecture: source i386
Version: 1.8.5p2-1
Distribution: unstable
Urgency: low
Maintainer: Bdale Garbee <[email protected]>
Changed-By: Bdale Garbee <[email protected]>
Description:
sudo - Provide limited super user privileges to specific users
sudo-ldap - Provide limited super user privileges to specific users
Closes: 655417 655883 655948 669576
Changes:
sudo (1.8.5p2-1) unstable; urgency=low
.
* new upstream version
* patch to use flock on hurd, run autoconf in rules, closes: #655883
* patch to avoid calling unlink with null pointer on hurd, closes: #655948
* patch to actually use hardening build flags, closes: #655417
* fix sudo-ldap.postinst syntax issue, closes: #669576
Checksums-Sha1:
2c210d52e521d7bd998f6558bde7aeab1d320725 1867 sudo_1.8.5p2-1.dsc
1bf378ffb6fef801a7f5d0ca90f8ab849f79d1be 1746344 sudo_1.8.5p2.orig.tar.gz
6a82b0b5beb5d301a1eb9bd09f318c07875ee564 24307 sudo_1.8.5p2-1.debian.tar.gz
1229cf3b843d9155b6ec5e1f39f9663e67ea7dca 835182 sudo_1.8.5p2-1_i386.deb
9ee94c9975a3e21fe3bc6ba89b9b2cf2447a6591 854552 sudo-ldap_1.8.5p2-1_i386.deb
Checksums-Sha256:
bc6062473297767f9415245fb66fccaef00f49539802d8857f506269fbd31d24 1867
sudo_1.8.5p2-1.dsc
c32ae2bc3faf83444c82ca75ccb10ad3684d8222e3535f164c4a4db7cdddf8cf 1746344
sudo_1.8.5p2.orig.tar.gz
683614af44a9f4a47834d41665b1f747d15e1e4d9d2d2af73e7a22937c5cf7b5 24307
sudo_1.8.5p2-1.debian.tar.gz
3974b2f71ad1bc0de7055febcc4dcdfffa4bad7c33a9d4a5965969a3c408ccd8 835182
sudo_1.8.5p2-1_i386.deb
e77ca2a70acb111aef775cde88a629ca4d125a8ac0e3315a24a5c3a104b42330 854552
sudo-ldap_1.8.5p2-1_i386.deb
Files:
1f9f1aa1892eeec8e849e466b2e4d893 1867 admin optional sudo_1.8.5p2-1.dsc
dc42ed9f0946d92273762d0ae7314d59 1746344 admin optional
sudo_1.8.5p2.orig.tar.gz
6b4e6c4cf304ec91ef45780154ee8184 24307 admin optional
sudo_1.8.5p2-1.debian.tar.gz
92f4313e621a0f2631e0267dc24cac96 835182 admin optional sudo_1.8.5p2-1_i386.deb
1d851529637f8379b3eb9910d02a6eb1 854552 admin optional
sudo-ldap_1.8.5p2-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIVAwUBT+ymHjqTYZbAldlBAQr8uxAAwHJkp4Z34ENdjpxDmkbN9A0/1OLWTfU7
4rGg31Pv2oK0Bh/65T5q1BTuITnAjSypv63VyOOfbkqYBwgpCdJGYu6wJqXxaaQq
2TlJjk9e/0qNJHO0U99WY7RNZNXfIpsvEvodjxSm+LWkgTyxZCY93/1lJtIRZbqV
Eiq8HtR97ETJs7y/PNAtiWMezr3n7q0pSgCKjRntwqgukAffBqqYPUEjDcYZNaOF
dYQH19AioyijJUPmpq6rvF2RNEP0wd8Yi3MfVZ/aTSJNLWk62kAfrnuxli6jvLuA
MXj8KiePeZ+z2s1SpRk+mjDRud1n4KEXlhaiL0SF1NXqYl2nz6IgUSO6Qpju6Qvq
NbJoZivQPuXCE+yHmIHS4MdGZy/dAC93a//d+vpmzQrZDm3LEMejJldpS3sLwg96
KiEBn6snGiIvFZqj9Ml3R7WgOWEfPI1+nXp+VfbAEzerfSpVH8lwgUzUBdI4G/4e
GCHzYIkxv2znRn5AWWGivIYZt6IWt40NBWq84HY6neNMp7jmHRHS2gftSKcxHS+x
k2LI9wVjI03rJacmmXbSFX90H1fDcNlEmrlBG4m/FBozJin7lDNHvf/Fon1JHTil
jxmfD6azn5TMgiGBHxNlUVWHAHhEow1WCt98ql96MjSrYmNBx+ZZrAj+QGI1Gmpv
/l/+GWpWci8=
=rR3z
-----END PGP SIGNATURE-----
--- End Message ---