Bug#439715: apache2.2-common: /etc/init.d/apache2 contains bash-specific directives
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
Reply to: