Bug#342008: bashism in init script
Package: apache2-common
Version: 2.0.55-3
Severity: important
Hi
current apache init script checks wrongly for existing includes. It
uses bashism (resp. bashism is created by grepping apache configs):
Forcing reload of apache 2.0 web server...grep: /etc/apache2/conf.d/[^.#]*: No such file or directory
grep: /etc/apache2/sites-enabled/[^.#]*: No such file or directory
Possible solution is to require bash and change first line of init
script to #!/bin/bash.
--
Michal Čihař | http://cihar.com
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.14-raptor
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages apache2-common depends on:
ii apache2-utils 2.0.55-3 utility programs for webservers
ii debconf 1.4.59 Debian configuration management sy
ii debianutils 2.15.1 Miscellaneous utilities specific t
ii libc6 2.3.5-8.1 GNU C Library: Shared libraries an
ii libdb4.3 4.3.29-1 Berkeley v4.3 Database Libraries [
ii libexpat1 1.95.8-3 XML parsing C library - runtime li
ii libgcc1 1:4.0.2-4 GCC support library
ii libmagic1 4.15-2 File type determination library us
ii lsb-base 3.0-12 Linux Standard Base 3.0 init scrip
ii mime-support 3.35-1 MIME files 'mime.types' & 'mailcap
ii net-tools 1.60-16 The NET-3 networking toolkit
ii openssl 0.9.8a-4 Secure Socket Layer (SSL) binary a
ii ssl-cert 1.0-11 Simple debconf wrapper for openssl
apache2-common recommends no packages.
-- no debconf information
Reply to: