Package: postgresql
Version: 7.4.7-6sarge1
Severity: normal

Please see #368335 for a install history.

Currently I have three postgresql-related files in /etc/logrotate/:
postgresql: /etc/logrotate.d/postgresql
postgresql-common: /etc/logrotate.d/postgresql-common
postgresql-contrib: /etc/logrotate.d/postgresql-contrib

The first rotates /var/log/postgresql/postgres.log, the second
/var/log/postgresql/*.log and the third
/var/log/postgresql/autovacuum_log. Clearly the first and second try
to rotate the same file (I don't know if "." has the meaning of one
character or a literal dot (the man page of logrotate is not specific
here), but I assume the latter, hence -contrib does not pose a
problem. 

Logrotate tells me now:
/etc/cron.daily/logrotate:
error: postgresql-common:1 duplicate log entry for
+/var/log/postgresql/postgres.log
run-parts: /etc/cron.daily/logrotate exited with return code 1

I set this as "normal" instead of "minor" because I don't know if
there are (corner) cases where this might cause data loss or DOS for
the postgres-server (both of which I doubt). Please re-adjust severity
if necessary.

Also maybe re-assign to to both postgresql and postgresql-common
(reportbug refused to do this for me).

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11.deb-7-grsec
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages postgresql depends on:
ii  adduser       3.87                       Add and remove users and groups
ii  debconf [debc 1.5.0                      Debian configuration management sy
ii  debianutils   2.16                       Miscellaneous utilities specific t
ii  dpkg          1.13.19                    package maintenance system for Deb
ii  libc6         2.3.6-7                    GNU C Library: Shared libraries
ii  libcomerr2    1.38+1.39-WIP-2006.04.09-1 common error description library
ii  libkrb53      1.4.3-7                    MIT Kerberos runtime libraries
ii  libpam0g      0.79-3.1                   Pluggable Authentication Modules l
ii  libperl5.8    5.8.8-4                    Shared Perl library
ii  libpq3        1:7.4.9-2                  PostgreSQL C client library
pn  libreadline4  <none>                     (no description available)
ii  libssl0.9.7   0.9.7i-1                   SSL shared libraries
ii  mailx         1:8.1.2-0.20050715cvs-1    A simple mail user agent
pn  postgresql-cl <none>                     (no description available)
ii  procps        1:3.2.6-2.2                /proc file system utilities
ii  python2.3     2.3.5-9.1                  An interactive high-level object-o
ii  ucf           2.0010                     Update Configuration File: preserv
ii  zlib1g        1:1.2.3-11                 compression library - runtime

postgresql recommends no packages.
-- 
      Dr. Helge Kreutzmann                     [EMAIL PROTECTED]
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/

Attachment: signature.asc
Description: Digital signature

Reply via email to