Package: postgresql Version: 7.4.7-6sarge1 Severity: normal Tags: patch
/etc/init.d/postgresql does not contain any bashisms but specifies /bin/bash as interpreter. It would be better to cater for people who have another POSIX interpreter at /bin/sh to specify that in the shebang. Mark -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (400, 'testing'), (300, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.16.1 Locale: LANG=en_GB, LC_CTYPE=iso_8859_1 (charmap=ISO-8859-1) (ignored: LC_ALL set to en_GB) Versions of packages postgresql depends on: ii adduser 3.63 Add and remove users and groups ii debconf [debconf 1.4.30.13 Debian configuration management sy ii debianutils 2.8.4 Miscellaneous utilities specific t ii dpkg 1.10.28 Package maintenance system for Deb ii libc6 2.3.6-7 GNU C Library: Shared libraries ii libcomerr2 1.38-2 common error description library ii libkrb53 1.4.3-5 MIT Kerberos runtime libraries ii libpam0g 0.76-22 Pluggable Authentication Modules l ii libperl5.8 5.8.4-8sarge4 Shared Perl library ii libpq3 7.4.7-6sarge1 PostgreSQL C client library ii libreadline4 4.3-15 GNU readline and history libraries ii libssl0.9.7 0.9.7e-3sarge1 SSL shared libraries ii mailx 1:8.1.2-0.20040524cvs-4 A simple mail user agent ii postgresql-clien 7.4.7-6sarge1 front-end programs for PostgreSQL ii procps 1:3.2.5-1 /proc file system utilities ii python2.3 2.3.5-3sarge1 An interactive high-level object-o ii ucf 1.17 Update Configuration File: preserv ii zlib1g 1:1.2.2-4.sarge.2 compression library - runtime -- debconf information: postgresql/upgrade/preserve_location: $PGDATA/.. * postgresql/settings/day_month_order: European postgresql/upgrade/policy: true postgresql/enable_lang: true postgresql/very_old_version_warning: true postgresql/upgrade/dump_location: $PGDATA/.. postgresql/convert-pg_hba.conf: true * postgresql/initdb/location: /var/lib/postgres/data * postgresql/settings/locale: en_GB * postgresql/purge_data_too: false
--- /etc/init.d/postgresql 2005-05-18 09:22:38.000000000 +0100 +++ /tmp/postgresql 2006-05-24 23:46:14.000000000 +0100 @@ -1,4 +1,4 @@ -#! /bin/bash +#! /bin/sh # # NOTE TO SYSTEM ADMINISTRATORS # # To stop postgresql running, use the update-rc.d facility, or file-rc

