Debian Bug report logs - #476759
ltsp-server: bashism in /bin/sh script

version graph

Package: ltsp-server; Maintainer for ltsp-server is Debian LTSP Maintainers <team+ltsp@tracker.debian.org>; Source for ltsp-server is src:ltsp (PTS, buildd, popcon).

Reported by: Raphael Geissert <atomo64@gmail.com>

Date: Fri, 18 Apr 2008 22:57:04 UTC

Severity: important

Found in version ltsp/5.0.40~bzr20080319-1

Fixed in version ltsp/5.1.5-1

Done: Vagrant Cascadian <vagrant@freegeek.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to LTSP Debian/Ubuntu Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>:
Bug#476759; Package ltsp-server. (full text, mbox, link).


Message #3 received at maintonly@bugs.debian.org (full text, mbox, reply):

From: Raphael Geissert <atomo64@gmail.com>
To: maintonly@bugs.debian.org
Subject: ltsp-server: bashism in /bin/sh script
Date: Fri, 18 Apr 2008 17:55:38 -0500
Package: ltsp-server
Severity: important
Version: 5.0.40~bzr20080319-1
User: debian-release@lists.debian.org
Usertags: goal-dash

Hello maintainer,

While performing an archive wide checkbashisms (from the 'devscripts' package) 
check I've found your package containing a /bin/sh script making 
use of a bashism.

checkbashisms' output:
> possible bashism in ./usr/sbin/ltsp-update-kernels line 82 (should be >word
> 2>&1): [ -e /selinux/enforce ] && /sbin/restorecon -R $TFTPDIR &> /dev/null

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




Reply sent to Vagrant Cascadian <vagrant@freegeek.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Raphael Geissert <atomo64@gmail.com>:
Bug acknowledged by developer. (full text, mbox, link).


Message #8 received at 476759-close@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <vagrant@freegeek.org>
To: 476759-close@bugs.debian.org
Subject: Bug#476759: fixed in ltsp 5.1.5-1
Date: Fri, 25 Apr 2008 18:02:04 +0000
Source: ltsp
Source-Version: 5.1.5-1

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

ltsp-client-builder_5.1.5-1_all.udeb
  to pool/main/l/ltsp/ltsp-client-builder_5.1.5-1_all.udeb
ltsp-client-core_5.1.5-1_i386.deb
  to pool/main/l/ltsp/ltsp-client-core_5.1.5-1_i386.deb
ltsp-client_5.1.5-1_i386.deb
  to pool/main/l/ltsp/ltsp-client_5.1.5-1_i386.deb
ltsp-server-standalone_5.1.5-1_all.deb
  to pool/main/l/ltsp/ltsp-server-standalone_5.1.5-1_all.deb
ltsp-server_5.1.5-1_all.deb
  to pool/main/l/ltsp/ltsp-server_5.1.5-1_all.deb
ltsp_5.1.5-1.diff.gz
  to pool/main/l/ltsp/ltsp_5.1.5-1.diff.gz
ltsp_5.1.5-1.dsc
  to pool/main/l/ltsp/ltsp_5.1.5-1.dsc
ltsp_5.1.5.orig.tar.gz
  to pool/main/l/ltsp/ltsp_5.1.5.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 476759@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@freegeek.org> (supplier of updated ltsp 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 25 Apr 2008 11:50:58 -0500
Source: ltsp
Binary: ltsp-server ltsp-server-standalone ltsp-client-core ltsp-client ltsp-client-builder
Architecture: source all i386
Version: 5.1.5-1
Distribution: unstable
Urgency: low
Maintainer: LTSP Debian/Ubuntu Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>
Changed-By: Vagrant Cascadian <vagrant@freegeek.org>
Description: 
 ltsp-client - LTSP client environment
 ltsp-client-builder - build an LTSP environment in the installer target (udeb)
 ltsp-client-core - LTSP client environment
 ltsp-server - basic LTSP server environment
 ltsp-server-standalone - complete LTSP server environment
Closes: 476759
Changes: 
 ltsp (5.1.5-1) unstable; urgency=low
 .
   * new upstream version:
     - updated example dnsmasq configuration:
       + use same ip address range as example for isc dhcpd
       + add options to enable tftp server
     - fix bashism in ltsp-update-kernels (Closes: #476759)
     - use common functions for ltsp-client-setup init script
   * ltsp-cleint-core:
     - suggest netcat
   * ltsp-client:
     - depend on netcat
     - limit to amd64, i386 and powerpc
Checksums-Sha1: 
 8408d315f8ffbc53c4774133647315ade995bf9f 1449 ltsp_5.1.5-1.dsc
 a3ad29915e46c5bb917a367ffb7d481b5cf49fbf 138838 ltsp_5.1.5.orig.tar.gz
 7b7da1ca00404869d34af9485ddad03f1ac66d3e 65719 ltsp_5.1.5-1.diff.gz
 656f17587dd6959ecda2bbec8e894f4398f46ef0 91596 ltsp-server_5.1.5-1_all.deb
 869a15c7afdf2af2e79ee470d75d44a5e7e02ceb 39534 ltsp-server-standalone_5.1.5-1_all.deb
 dc8c07dcb9485f2067e6c63efafd286f3cd58a0f 7338 ltsp-client-builder_5.1.5-1_all.udeb
 9dda7a1908857936cb170bb9405a3edfabe9e27e 73186 ltsp-client-core_5.1.5-1_i386.deb
 90f56ac885a6f1476aeb127241f4635080cf32d1 38534 ltsp-client_5.1.5-1_i386.deb
Checksums-Sha256: 
 e0e6d59535cf06e9b34043c37b85980aee5d99d5bdbb0ee1e7649eef3ab11df4 1449 ltsp_5.1.5-1.dsc
 52f75f1ee95acf8f9d8a7b7730c280109803e496ba7e89aba9c5596d458da139 138838 ltsp_5.1.5.orig.tar.gz
 d92b6372e14e2a5898da4011c04fa467df4da186750213b2226c8330a1f665b0 65719 ltsp_5.1.5-1.diff.gz
 7705db4a2a93af10adf5e20c77deb1baac4d696c3f7ee3aa7cf3227e3ab70fb5 91596 ltsp-server_5.1.5-1_all.deb
 4f5a7e2ec283e4c5f2801c9c915fda556bbe8daa06f3218120f29cb7366be73d 39534 ltsp-server-standalone_5.1.5-1_all.deb
 3bdcb846f1f8814c89e2a602b2e49868746ec5b2589f0830b0e22cc7353a2e34 7338 ltsp-client-builder_5.1.5-1_all.udeb
 595c067fb62194bae2f6dacd93ee20cb17ea4d5c30e61c6af6da4df97428c74a 73186 ltsp-client-core_5.1.5-1_i386.deb
 7648ac6e3bc2f46cd281f94cd4895f8eed097b18622e94ca620f181e84f4352a 38534 ltsp-client_5.1.5-1_i386.deb
Files: 
 8b89b329c4a5b7e1079cd4bc3df18678 1449 misc extra ltsp_5.1.5-1.dsc
 b1bb3f7dee3bdd9c134ce0e1ed22e58e 138838 misc extra ltsp_5.1.5.orig.tar.gz
 ed8c3ec26585d61bc06a98c938efe56c 65719 misc extra ltsp_5.1.5-1.diff.gz
 47b0894b09e6779fc32a1fa0cfa87d2e 91596 misc extra ltsp-server_5.1.5-1_all.deb
 86e9f609852c4df038f4ef9772acda8a 39534 misc extra ltsp-server-standalone_5.1.5-1_all.deb
 444d7c1dd089ca44efa2b668295ebfc1 7338 debian-installer extra ltsp-client-builder_5.1.5-1_all.udeb
 aed5ad5efcc94004f263558b8112e3a8 73186 misc extra ltsp-client-core_5.1.5-1_i386.deb
 ee325d0aa3576fc3f1a15a90aab72d02 38534 misc extra ltsp-client_5.1.5-1_i386.deb
Package-Type: udeb

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

iD8DBQFIEhUrlPc63BPWGpkRAiSjAJ0dRB6n4uhFJXaIMaHfbCal0Cj4rgCdH8pt
yI7WE7015p5mkbbeQsgOttk=
=qm2x
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 04 Jun 2008 07:32:37 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jul 1 13:15:06 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.