Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Bug#439715: apache2.2-common: /etc/init.d/apache2 contains bash-specific directives

From: Iustin Pop <iusty(at)k1024.org>
Date: Sun Aug 26 2007 - 15:42:13 EDT


Package: apache2.2-common
Version: 2.2.3-4+etch1
Severity: normal

Hi,

/etc/init.d/apache2, at lines 105 and 108, contains the [[ ... ]] syntax, which is bash-specific, even if the init script begins with #!/bin/sh -e

This makes the script break when one uses another posix-compliant shell as /bin/sh, such as dash.

Thanks,
iustin

  • System Information: Debian Release: 4.0 APT prefers stable APT policy: (900, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.20.9-sonia Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages apache2.2-common depends on:

ii  apache2-utils              2.2.3-4+etch1 utility programs for webservers
ii  libmagic1                  4.17-5etch2   File type determination library us
ii  lsb-base                   3.1-23.2etch1 Linux Standard Base 3.1 init scrip
ii  mime-support               3.39-1        MIME files 'mime.types' & 'mailcap
ii  net-tools                  1.60-17       The NET-3 networking toolkit
ii  procps                     1:3.2.7-3     /proc file system utilities

apache2.2-common recommends no packages.

  • no debconf information

--

To UNSUBSCRIBE, email to debian-apache-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org Received on Sun Aug 26 15:49:20 2007

Do you need help?X

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 07:57:16 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library