Bug#230038: apache-common: Bashism in /usr/share/apache/postinst.common causes upgrade failure
Package: apache-common
Version: 1.3.29.0.1-4
Severity: normal
Lines 37 and 145 of /usr/share/apache/postinst.common assumes that
"printf" understands \xNN escapes, which is true under bash, but fails
if /bin/sh is another POSIX-compliant Bourne shell replacement, in
this case "dash". Changing lines 37 and 145 from "export IFS=`printf
'\x07'`" to "IFS=`printf '\007'`" seems to have fixed the problem.
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux leviathan 2.4.18-leviathan #8 SMP Tue Aug 6 01:52:33 EDT 2002 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages apache-common depends on:
ii apache-utils 1.3.29.0.1-4 Utility programs for webservers
ii debconf 1.4.7 Debian configuration management sy
ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an
ii libdb4.2 4.2.52-9 Berkeley v4.2 Database Libraries [
ii libexpat1 1.95.6-6 XML parsing C library - runtime li
ii mime-support 3.24-1 MIME files 'mime.types' & 'mailcap
ii perl [perl5] 5.8.2-2 Larry Wall's Practical Extraction
ii sed 4.0.7-3 The GNU sed stream editor
-- debconf information:
apache-common/logs:
apache-shared/restart: true
* apache-common/confignotes:
apache-common/old-logrotate-exists:
apache-shared/debconf-modules: mod_userdir, mod_unique_id, mod_status, mod_speling, mod_setenvif, mod_rewrite, mod_python, mod_perl, mod_negotiation, mod_mime_magic, mod_mime, mod_log_config, mod_include, mod_expires, mod_dir, mod_cgi, mod_autoindex, mod_auth_mysql, mod_auth, mod_alias, mod_access, mod_php4, mod_dav
Reply to: