Your message dated Fri, 16 Jan 2015 15:18:56 +0000
with message-id <e1yc8fo-0003xl...@franck.debian.org>
and subject line Bug#772195: fixed in 389-ds-base 1.3.3.5-3
has caused the Debian Bug report #772195,
regarding 389-ds-base: bashism in /bin/sh script
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.)
--
772195: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772195
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: 389-ds-base
Severity: serious
Version: 1.3.3.5-2
User: debian-rele...@lists.debian.org
Usertags: goal-dash
Hi,
I've ran checkbashisms (from the 'devscripts' package) over the whole
archive and I found that your package has a /bin/sh script that uses a
"bashism".
checkbashisms' output:
> possible bashism in ./usr/sbin/saveconfig line 34 (should be 'b = a'):
> if [ $? == 1 ]
> possible bashism in ./usr/sbin/dn2rdn line 42 (should be 'b = a'):
> if [ $? == 1 ]
> possible bashism in ./usr/sbin/dbverify line 48 (should be 'b = a'):
> if [ $? == 1 ]
> possible bashism in ./usr/sbin/dbverify line 59 (should be 'b = a'):
> if [ $display_version == "yes" ]; then
> possible bashism in ./usr/sbin/restoreconfig line 34 (should be 'b = a'):
> if [ $? == 1 ]
> possible bashism in ./usr/sbin/suffix2instance line 35 (should be 'b = a'):
> if [ "$args" == "" ]
> possible bashism in ./usr/sbin/suffix2instance line 42 (should be 'b = a'):
> if [ $? == 1 ]
> possible bashism in ./usr/sbin/vlvindex line 48 (should be 'b = a'):
> if [ $? == 1 ]
> possible bashism in ./usr/sbin/bak2db line 61 (should be 'b = a'):
> if [ $? == 1 ]
> possible bashism in ./usr/sbin/stop-dirsrv line 42 (should be 'b = a'):
> if [ -d "/lib/systemd/system" ] && [ "$(id -u)" == "0" ];then
> possible bashism in ./usr/sbin/ldif2ldap line 43 (should be 'b = a'):
> if [ "$input_file" == "" ]
> possible bashism in ./usr/sbin/ldif2ldap line 50 (should be 'b = a'):
> if [ $? == 1 ]
> possible bashism in ./usr/sbin/ldif2ldap line 70 (should be 'b = a'):
> if [ "$rootdn" == "" ]; then
> possible bashism in ./usr/sbin/ldif2ldap line 102 (should be 'b = a'):
> if [ "$security" == "on" ]; then
> possible bashism in ./usr/sbin/ldif2ldap line 103 (should be 'b = a'):
> if [ "$protocol" == "STARTTLS" ] || [ "$protocol" == "" ]; then
> possible bashism in ./usr/sbin/ldif2ldap line 104 (should be 'b = a'):
> if [ "$error" == "yes" ]; then
> possible bashism in ./usr/sbin/ldif2ldap line 107 (should be 'b = a'):
> if [ "$openldap" == "yes" ]; then
> possible bashism in ./usr/sbin/ldif2ldap line 119 (should be 'b = a'):
> if [ "$security" == "on" ]; then
> possible bashism in ./usr/sbin/ldif2ldap line 120 (should be 'b = a'):
> if [ "$protocol" == "LDAPS" ] || [ "$protocol" == "" ]; then
> possible bashism in ./usr/sbin/ldif2ldap line 121 (should be 'b = a'):
> if [ "$error" == "yes" ]; then
> possible bashism in ./usr/sbin/ldif2ldap line 124 (should be 'b = a'):
> if [ "$openldap" == "yes" ]; then
> possible bashism in ./usr/sbin/ldif2ldap line 136 (should be 'b = a'):
> if [ "$ldapi" == "on" ] && [ "$openldap" == "yes" ]; then
> possible bashism in ./usr/sbin/ldif2ldap line 137 (should be 'b = a'):
> if [ "$protocol" == "LDAPI" ] || [ "$protocol" == "" ]; then
> possible bashism in ./usr/sbin/ldif2ldap line 138 (should be 'b = a'):
> if [ "$(id -u)" == "0" ] && [ "$autobind" == "on" ]; then
> possible bashism in ./usr/sbin/ldif2ldap line 139 (should be 'b = a'):
> if [ "$error" == "yes" ]; then
> possible bashism in ./usr/sbin/ldif2ldap line 144 (should be 'b = a'):
> if [ "$error" == "yes" ]; then
> possible bashism in ./usr/sbin/ldif2ldap line 161 (should be 'b = a'):
> if [ "$protocol" == "LDAP" ] || [ "$protocol" == "" ]; then
> possible bashism in ./usr/sbin/ldif2ldap line 162 (should be 'b = a'):
> if [ "$error" == "yes" ]; then
> possible bashism in ./usr/sbin/ldif2ldap line 165 (should be 'b = a'):
> if [ "$openldap" == "yes" ]; then
> possible bashism in ./usr/sbin/ldif2db line 85 (should be 'b = a'):
> if [ $? == 1 ]
> possible bashism in ./usr/sbin/db2index line 62 (should be 'b = a'):
> if [ $? == 1 ]
> possible bashism in ./usr/sbin/db2bak line 60 (should be 'b = a'):
> if [ $? == 1 ]
> possible bashism in ./usr/sbin/upgradednformat line 58 (should be 'b =
a'):
> if [ $? == 1 ]
> possible bashism in ./usr/sbin/upgradedb line 42 (should be 'b = a'):
> if [ $? == 1 ]
> possible bashism in ./usr/sbin/db2ldif line 140 (should be 'b = a'):
> if [ $? == 1 ]
> possible bashism in ./usr/sbin/monitor line 44 (should be 'b = a'):
> if [ $? == 1 ]
> possible bashism in ./usr/sbin/monitor line 69 (should be 'b = a'):
> if [ "$rootdn" == "" ]; then
> possible bashism in ./usr/sbin/monitor line 106 (should be 'b = a'):
> if [ "$security" == "on" ]; then
> possible bashism in ./usr/sbin/monitor line 107 (should be 'b = a'):
> if [ "$protocol" == "STARTTLS" ] || [ "$protocol" == "" ]; then
> possible bashism in ./usr/sbin/monitor line 108 (should be 'b = a'):
> if [ "$error" == "yes" ]; then
> possible bashism in ./usr/sbin/monitor line 111 (should be 'b = a'):
> if [ "$openldap" == "yes" ]; then
> possible bashism in ./usr/sbin/monitor line 123 (should be 'b = a'):
> if [ "$security" == "on" ]; then
> possible bashism in ./usr/sbin/monitor line 124 (should be 'b = a'):
> if [ "$protocol" == "LDAPS" ] || [ "$protocol" == "" ]; then
> possible bashism in ./usr/sbin/monitor line 125 (should be 'b = a'):
> if [ "$error" == "yes" ]; then
> possible bashism in ./usr/sbin/monitor line 128 (should be 'b = a'):
> if [ "$openldap" == "yes" ]; then
> possible bashism in ./usr/sbin/monitor line 140 (should be 'b = a'):
> if [ "$ldapi" == "on" ] && [ "$openldap" == "yes" ]; then
> possible bashism in ./usr/sbin/monitor line 141 (should be 'b = a'):
> if [ "$protocol" == "LDAPI" ] || [ "$protocol" == "" ]; then
> possible bashism in ./usr/sbin/monitor line 142 (should be 'b = a'):
> if [ "$(id -u)" == "0" ] && [ "$autobind" == "on" ]; then
> possible bashism in ./usr/sbin/monitor line 143 (should be 'b = a'):
> if [ "$error" == "yes" ]; then
> possible bashism in ./usr/sbin/monitor line 148 (should be 'b = a'):
> if [ "$error" == "yes" ]; then
> possible bashism in ./usr/sbin/monitor line 160 (should be 'b = a'):
> if [ "$protocol" == "LDAP" ] || [ "$protocol" == "" ]; then
> possible bashism in ./usr/sbin/monitor line 161 (should be 'b = a'):
> if [ "$error" == "yes" ]; then
> possible bashism in ./usr/sbin/monitor line 164 (should be 'b = a'):
> if [ "$openldap" == "yes" ]; then
> possible bashism in ./usr/sbin/start-dirsrv line 67 (should be 'b = a'):
> if [ -d "/lib/systemd/system" ] && [ "$(id -u)" == "0" ];then
> possible bashism in ./etc/init.d/dirsrv line 121 (sleep only takes one
> integer):
> sleep 0.5
Not using bash (or a Debian Policy compliant shell interpreter that doesn't
provide such an extra feature) as /bin/sh is likely to lead to errors or
unexpected behaviours. Please be aware that dash is the default /bin/sh.
Please closely examine the above output and the script, and determine
what the proper severity of the bug is, and adjust it accordingly. If
it's important or greater please hurry to get this fixed for jessie.
Hints about how to fix bashisms can be found at:
https://wiki.ubuntu.com/DashAsBinSh
Thanks in advance,
Raphael Geissert
--- End Message ---
--- Begin Message ---
Source: 389-ds-base
Source-Version: 1.3.3.5-3
We believe that the bug you reported is fixed in the latest version of
389-ds-base, which is due to be installed in the Debian FTP archive.
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 772...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Timo Aaltonen <tjaal...@debian.org> (supplier of updated 389-ds-base 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...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Fri, 16 Jan 2015 15:40:23 +0200
Source: 389-ds-base
Binary: 389-ds 389-ds-base-libs 389-ds-base-libs-dbg 389-ds-base-dev
389-ds-base 389-ds-base-dbg
Architecture: source all amd64
Version: 1.3.3.5-3
Distribution: unstable
Urgency: medium
Maintainer: Debian 389ds Team
<pkg-fedora-ds-maintain...@lists.alioth.debian.org>
Changed-By: Timo Aaltonen <tjaal...@debian.org>
Description:
389-ds - 389 Directory Server suite - metapackage
389-ds-base - 389 Directory Server suite - server
389-ds-base-dbg - 389 Directory Server suite - server debugging symbols
389-ds-base-dev - 389 Directory Server suite - development files
389-ds-base-libs - 389 Directory Server suite - libraries
389-ds-base-libs-dbg - 389 Directory Server suite - library debugging symbols
Closes: 772195
Changes:
389-ds-base (1.3.3.5-3) unstable; urgency=medium
.
* use-bash-instead-of-sh.diff: Drop admin_scripts.diff and patch the
scripts to use bash instead of trying to fix bashisms. (Closes:
#772195)
Checksums-Sha1:
19c0f3be766473252f671fba4d69a89dc4d031ac 2578 389-ds-base_1.3.3.5-3.dsc
bb43dc34bde87175c169cccb9981999f263c0c03 3273753
389-ds-base_1.3.3.5.orig.tar.bz2
f8ccd66857a1c61146d9bcaa114b014eba87c1d6 22332
389-ds-base_1.3.3.5-3.debian.tar.xz
5ef0971dbf47edd1611d6bae65f812b03782c1eb 15172 389-ds_1.3.3.5-3_all.deb
590eb1f4eba989b30982109a0e5194a1862da7e6 385748
389-ds-base-libs_1.3.3.5-3_amd64.deb
c912c3025b49861af2770cc51e2e70af8776bfd2 1280004
389-ds-base-libs-dbg_1.3.3.5-3_amd64.deb
1eb997b455aa604e7b351223d810082864c8595d 68380
389-ds-base-dev_1.3.3.5-3_amd64.deb
5a14d99c5bedb4c61402b949866b90104bfaec1b 1457472
389-ds-base_1.3.3.5-3_amd64.deb
b215ad472343800c1526269139b3982a8d3f87d9 4176326
389-ds-base-dbg_1.3.3.5-3_amd64.deb
Checksums-Sha256:
c2a8497ecfe394d1b6c6bef7a134bbd961b6e24c04a6c0f073f7fed7009abb31 2578
389-ds-base_1.3.3.5-3.dsc
85f69e65909f7a8286717290f699e61be89c6534e926bcb5b4a6644f950e8827 3273753
389-ds-base_1.3.3.5.orig.tar.bz2
94830926f22279193cfa1fb0df9943bae31b29f4dc066e775205eb7e68cf7215 22332
389-ds-base_1.3.3.5-3.debian.tar.xz
4ef5a7f5002743692bd803d8e6891fd5139ef4dbdd001dba38b7cc6e7933de1e 15172
389-ds_1.3.3.5-3_all.deb
3460f96dee65cc359e7d864e5bc50d5a8175ce596b9c4fc590920b3957c6a9de 385748
389-ds-base-libs_1.3.3.5-3_amd64.deb
6d3774b2860425185dc4775476804f630414c6a2e774b6bf6ff87ec912eef2b5 1280004
389-ds-base-libs-dbg_1.3.3.5-3_amd64.deb
7e401bf2cb067ae1c60da6525b9e855c65698d2c428c4cddb33c06052ab9ff99 68380
389-ds-base-dev_1.3.3.5-3_amd64.deb
6558d681cc48d1a6e4dd6cd446957ca885c513e8ccc100cb8c02ac4db65f6d12 1457472
389-ds-base_1.3.3.5-3_amd64.deb
9fdaa1dcae1d309248b3b5b479f693c4079ecf593d829c0cf294316422131ceb 4176326
389-ds-base-dbg_1.3.3.5-3_amd64.deb
Files:
5a9218df1f54c431aac8b28a0d1120c0 2578 net optional 389-ds-base_1.3.3.5-3.dsc
84869d46184039fce976b858e663232e 3273753 net optional
389-ds-base_1.3.3.5.orig.tar.bz2
949eb80de2b6605f2178266d21c25076 22332 net optional
389-ds-base_1.3.3.5-3.debian.tar.xz
12f45571c03960960a8023d2c9e59b80 15172 net optional 389-ds_1.3.3.5-3_all.deb
9ba052fee47162a53b9d47724bcfd371 385748 libs optional
389-ds-base-libs_1.3.3.5-3_amd64.deb
8307ae485c63c0e850a8fc4e3b78b2db 1280004 debug extra
389-ds-base-libs-dbg_1.3.3.5-3_amd64.deb
3c2266fc04c9f6f29c08d7ea5aee8614 68380 libdevel optional
389-ds-base-dev_1.3.3.5-3_amd64.deb
bb03ed1143180340e651e7f5641d1e4d 1457472 net optional
389-ds-base_1.3.3.5-3_amd64.deb
86455d050e70b26940b5c3177930fa3c 4176326 debug extra
389-ds-base-dbg_1.3.3.5-3_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBAgAGBQJUuRWaAAoJEMtwMWWoiYTc/48P/Az3W/l0uNr6xz4nhl4PFg9T
rwDqG3Z7wv/0s93BgH1GALs/dpR2kjOuTf8Kr3nxzrhSH3znLzAt4WVYHMVBOAP4
Y0L0bxy/qnlVo/RlWrwoCy81D/6U/+8zc3B0TZdODv8wUcPgGe5d6/IBJGt4hDL1
5LynWPF4tb2itibSPsgk6soGEWSCreJO6VgGEz8ArB1LAS0ysYn6z8yoJOp99MM0
XF18/FPcne88H/v740DtKb5SykM589rVGtRa30d5mWnFbVRWsgN5ut2meKST4FbE
NJXV0zy7NkOW7YXQbhFDLEOV9SufTdy+emVTqa3Yj1ausHCVkRvDBps8DomqbULD
dn7r6iNQ1rJk095NslKPvYEs1TksO+ZGQaVd0vB35esI9M9s/2CoOdq+ON8/UokK
rOcsnRL8NNdcd4ddj+YJ4wzCbIVryOsH4/AqSwp7Nj/bwGJEIW4nBirpvpj8CnEl
pfySrA3ynA0mZbXtc1RuJQkV429hA8jp3RyPxQgpcLsGeg+eQOUnpArYImidJYn3
SJiPNoZCa3+h7c5aPRdcChVo+2ofqkC/oJ2TjV/xnOd6igCLG6STrD2ntuN9/xdV
afvfh8aHvAaEQotv1gL0qFKyX5hJiAk4qpA73V2z+4rzSAdBz1R/o7xhFmBTLN9L
KXPqBm+TSip6CxqKSGoO
=rLLy
-----END PGP SIGNATURE-----
--- End Message ---