Your message dated Sun, 13 Jul 2008 21:52:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#489653: fixed in rssh 2.3.2-8
has caused the Debian Bug report #489653,
regarding rssh: 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 [EMAIL PROTECTED]
immediately.)


-- 
489653: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=489653
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: rssh
Severity: important
Version: 2.3.2-7
User: [EMAIL PROTECTED]
Usertags: goal-dash

Hello maintainer,

While performing an archive wide checkbashisms (from the 'devscripts' package) 
check I've found your package containing one or more /bin/sh scripts making 
use of bashisms.

checkbashisms' output:
> possible bashism in ./usr/share/doc/rssh/examples/mkchroot.sh line 72
> (echo -e): 
>       echo -e "NOT changing owner of root jail. \c"
> possible bashism in ./usr/share/doc/rssh/examples/mkchroot.sh line 88
> (echo -e): 
>       echo -e "NOT changing perms of root jail. \c"
> possible bashism in ./usr/share/doc/rssh/examples/mkchroot.sh line 156
> (echo -e): 
>               echo -e "\t$lib"
> possible bashism in ./usr/share/doc/rssh/examples/mkchroot.sh line 178
> (echo -e): 
> echo -e "\nWARNING: Copying /etc/passwd into the chroot jail.  You may wish"
> possible bashism in ./usr/share/doc/rssh/examples/mkchroot.sh line 179
> (echo -e): 
> echo -e "to edit out unnecessary users and remove any sensitive information"
> possible bashism in ./usr/share/doc/rssh/examples/mkchroot.sh line 180
> (echo -e): 
> echo -e "from it."
> possible bashism in ./usr/share/doc/rssh/examples/mkchroot.sh line 194
> (echo -e): 
>       echo -e "NOT creating /dev/null and /dev/log in the chroot jail. \c"
> possible bashism in ./usr/share/doc/rssh/examples/mkchroot.sh line 195
> (echo -e): 
>       echo -e "You are not root.\n"
> possible bashism in ./usr/share/doc/rssh/examples/mkchroot.sh line 198
> (echo -e): 
> echo -e "Chroot jail configuration completed.\n"
> possible bashism in ./usr/share/doc/rssh/examples/mkchroot.sh line 200
> (echo -e): 
> echo -e "NOTE: if you are not using the passwd file for authentication,"
> possible bashism in ./usr/share/doc/rssh/examples/mkchroot.sh line 201 
(echo -e):
> echo -e "you may need to copy some of the /lib/libnss_* files into the jail.
> \n" 
> possible bashism in ./usr/share/doc/rssh/examples/mkchroot.sh line 203
> (echo -e): 
> echo -e "NOTE: you must MANUALLY edit your syslog rc script to start
> syslogd" 
> possible bashism in ./usr/share/doc/rssh/examples/mkchroot.sh line 204
> (echo -e): 
> echo -e "with appropriate options to log to $jail_dir/dev/log.  In most
> cases," 
> possible bashism in ./usr/share/doc/rssh/examples/mkchroot.sh line 205
> (echo -e): 
> echo -e "you will need to start syslog as:\n"
> possible bashism in ./usr/share/doc/rssh/examples/mkchroot.sh line 206
> (echo -e): 
> echo -e "   /sbin/syslogd -a $jail_dir/dev/log\n\n"
> possible bashism in ./usr/share/doc/rssh/examples/mkchroot.sh line 208
> (echo -e): 
> echo -e "NOTE: we make no guarantee that ANY of this will work for you...
> \c" 
> possible bashism in ./usr/share/doc/rssh/examples/mkchroot.sh line 209
> (echo -e): 
> echo -e "if it\ndoesn't, you're on your own.  Sorry!\n"

Not using bash (or a Debian Policy conformant shell interpreter which does 
provide such an extra feature) as /bin/sh is likely to lead to errors or 
unexpected behaviours.
Please be aware that although bash is currently the default /bin/sh there's a 
release goal for Lenny to make dash the default /bin/sh[1].

If you want more information about dash as /bin/sh, you can read:
http://lists.debian.org/debian-release/2008/01/msg00189.html

For more information please refer to the Debian Policy section 10.4 supporting 
this argument at:
http://www.debian.org/doc/debian-policy/ch-files.html#s-scripts

Hints about how to fix bashisms:
Sometimes these bugs are already fixed in Ubuntu, look at the PTS.
If not already fixed you can read:
https://wiki.ubuntu.com/DashAsBinSh

[1]http://release.debian.org/lenny/goals.txt

Thank you,
-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html



--- End Message ---
--- Begin Message ---
Source: rssh
Source-Version: 2.3.2-8

We believe that the bug you reported is fixed in the latest version of
rssh, which is due to be installed in the Debian FTP archive:

rssh_2.3.2-8.diff.gz
  to pool/main/r/rssh/rssh_2.3.2-8.diff.gz
rssh_2.3.2-8.dsc
  to pool/main/r/rssh/rssh_2.3.2-8.dsc
rssh_2.3.2-8_i386.deb
  to pool/main/r/rssh/rssh_2.3.2-8_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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Russ Allbery <[EMAIL PROTECTED]> (supplier of updated rssh 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.8
Date: Sun, 13 Jul 2008 13:09:38 -0700
Source: rssh
Binary: rssh
Architecture: source i386
Version: 2.3.2-8
Distribution: unstable
Urgency: low
Maintainer: Jesus Climent <[EMAIL PROTECTED]>
Changed-By: Russ Allbery <[EMAIL PROTECTED]>
Description: 
 rssh       - Restricted shell allowing only scp, sftp, cvs, rsync and/or rdist
Closes: 489653
Changes: 
 rssh (2.3.2-8) unstable; urgency=low
 .
   * The upstream mkchroot script uses echo -e, so make it a /bin/bash
     script, which is less invasive than rewriting all of the echo
     statements to printf.  Thanks, Raphael Geissert.  (Closes: #489653)
   * Update standards version to 3.8.0.
     - Add a README.source file pointing to the quilt documentation.
Checksums-Sha1: 
 e68e8118c93baf81e62f13986fa41dec6a06c88d 1182 rssh_2.3.2-8.dsc
 8f75712e6d8e0c614e22e8f69cb68f5453783008 18165 rssh_2.3.2-8.diff.gz
 faba22505813c6d699d2e80ff10ce7aee654ea0e 49148 rssh_2.3.2-8_i386.deb
Checksums-Sha256: 
 13a57d62bd650ed0e37208a5be427d2ab29de2cefb62cf80d1cd7a8f41cd3417 1182 
rssh_2.3.2-8.dsc
 95791c66d94678ce5ccfa408137a56527db07edb7570b9984c92a9de037705a6 18165 
rssh_2.3.2-8.diff.gz
 fa574aa7bf2273598a663bac1bcbdb0415ae71b14c99b36cd8990c7fce487c3a 49148 
rssh_2.3.2-8_i386.deb
Files: 
 b1dec78a6b40dd27528db3e4eec5ab69 1182 net optional rssh_2.3.2-8.dsc
 da4ac359d1ecea9bed52edae4f4d17d5 18165 net optional rssh_2.3.2-8.diff.gz
 dc6b4b10e2436dc55a557620c021a34b 49148 net optional rssh_2.3.2-8_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkh6YcAACgkQ+YXjQAr8dHZK+gCgzGP0FRNGgMDn2d2ZPZn4VvV0
cTgAn1TTP74Zxe+8RA5brke+wWoZtp68
=98Oj
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to