severity 341060 normal
tag 341060 unreproducible moreinfo
thanks
Hi Henrique!
Henrique de Moraes Holschuh [2005-11-28 0:22 -0200]:
> Package: sysfsutils
> Version: 1.3.0-3
> Severity: grave
> Justification: renders package unusable
>=20
> if [ "$f1" ] ;... is NOT valid shell syntax. Nor is [ ... -a "$f2" ].
> You're missing a "-n" in front of all bare string tests inside [ ].
The script runs fine with bash and dash, and [ "$foo" ] is common
practice and described in test(1):
-n STRING
the length of STRING is nonzero
STRING equivalent to -n STRING
Downgrading severity since this runs fine at least on the majority of
installations.
So what exactly breaks for you? According to your initial report you
have /bin/sh linked to /bin/bash, do you use another shell?
Please give me the output of sh -nx /etc/init.d/sysfsutils if it
really breaks for you.
Message-ID: <email address hidden>
Date: Mon, 28 Nov 2005 12:42:46 +0100
From: Martin Pitt <email address hidden>
To: Henrique de Moraes Holschuh <email address hidden>,
<email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#341060: initscript: completely broken
--pvezYHf7grwyp3Bc Disposition: inline Transfer- Encoding: quoted-printable
Content-Type: text/plain; charset=us-ascii
Content-
Content-
severity 341060 normal
tag 341060 unreproducible moreinfo
thanks
Hi Henrique!
Henrique de Moraes Holschuh [2005-11-28 0:22 -0200]:
> Package: sysfsutils
> Version: 1.3.0-3
> Severity: grave
> Justification: renders package unusable
>=20
> if [ "$f1" ] ;... is NOT valid shell syntax. Nor is [ ... -a "$f2" ].
> You're missing a "-n" in front of all bare string tests inside [ ].
The script runs fine with bash and dash, and [ "$foo" ] is common
practice and described in test(1):
-n STRING
the length of STRING is nonzero
STRING equivalent to -n STRING
Downgrading severity since this runs fine at least on the majority of
installations.
So what exactly breaks for you? According to your initial report you
have /bin/sh linked to /bin/bash, do you use another shell?
Please give me the output of sh -nx /etc/init. d/sysfsutils if it
really breaks for you.
Thanks,
Martin www.piware. de www.ubuntu. com www.debian. org
--=20
Martin Pitt http://
Ubuntu Developer http://
Debian Developer http://
In a world without walls and fences, who needs Windows and Gates?
--pvezYHf7grwyp3Bc pgp-signature; name="signature .asc" Description: Digital signature Disposition: inline
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
nbV4Fd/ IRAiswAKCi5mZJU JT/UjpHdgPMHbLH vgrU3gCg4i+ H y4tIFBBA=
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDiu01Dec
MUn7OiXdndrxkEc
=w8DD
-----END PGP SIGNATURE-----
--pvezYHf7grwyp 3Bc--