Package: postgresql-common Version: 128 Severity: normal /etc/init.d/postgresql status apparently reports exit status 0 even if servers are down. For example:
$ pg_lsclusters Version Cluster Port Status Owner Data directory Log file 8.4 main 5433 online postgres /var/lib/postgresql/8.4/main /var/log/postgresql/postgresql-8.4-main.log 9.0 main 5432 down postgres /var/lib/postgresql/9.0/main /var/log/postgresql/postgresql-9.0-main.log 9.1 main 5434 online postgres /var/lib/postgresql/9.1/main /var/log/postgresql/postgresql-9.1-main.log $ sudo /etc/init.d/postgresql status Running clusters: 8.4/main Running clusters: Running clusters: 9.1/main peter@vanquo:~$ echo $? 0 See http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html for standard exit codes. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (101, 'experimental') Architecture: i386 (x86_64) Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages postgresql-common depends on: ii adduser 3.113 ii debconf [debconf-2.0] 1.5.41 ii logrotate 3.8.1-1 ii lsb-base 3.2-28 ii postgresql-client-common 128 ii procps 1:3.2.8-11 ii ssl-cert 1.0.28 postgresql-common recommends no packages. postgresql-common suggests no packages. -- debconf information excluded -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

