Package: postgresql-common
Version: 24
Severity: normal

There is logrotate script /etc/logrotate.d/postgresql-common
which is not helpfule when the database server does not exist on
current host. Daily maintenance mail error messages display:

    /etc/cron.daily/logrotate:
    error: error accessing /var/log/postgresql: No such file or directory
    error: postgresql-common:1 glob failed for /var/log/postgresql/*.log
    run-parts: /etc/cron.daily/logrotate exited with return code 1

Package should create directory /var/log/postgresql during
install. Like in debian/dirs

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US)

postgresql-common depends on no packages.

Versions of packages postgresql-common recommends:
ii  openssl                       0.9.7g-1   Secure Socket Layer (SSL) binary a

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to