Package: postgresql-8.0
Version: 8.0.3-6
Severity: normal

postgresql-8.0 should install a logrotate file so that the log file is rotated 
along with all the other log files on the system.

I created the /etc/logrotate.d/postgresql-8.0 file, there is a diff:

--- /dev/null   2005-06-28 12:40:42.141591104 +0300
+++ postgresql-8.0      2005-06-28 15:43:33.426791432 +0300
@@ -0,0 +1,9 @@
+/var/log/postgresql/postgresql-8.0-main.log {
+       daily
+       rotate 10
+       copytruncate
+       delaycompress
+       compress
+       notifempty
+       create 640 postgres postgres
+}

It might also help if the generation of this script was done by a function in 

/usr/share/postgresql-common/maintscripts-functions

so that it better fits into the new postgresql package structure. If a patch is 
required let me know, and I might write up one.

-- 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.10-1-k7-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages postgresql-8.0 depends on:
ii  libc6               2.3.2.ds1-22         GNU C Library: Shared libraries an
ii  libcomerr2          1.37+1.38-WIP-0620-1 common error description library
ii  libkrb53            1.3.6-3              MIT Kerberos runtime libraries
ii  libpam0g            0.76-22              Pluggable Authentication Modules l
ii  libpq4              8.0.3-6              PostgreSQL C client library
ii  libreadline5        5.0-10               GNU readline and history libraries
ii  libssl0.9.7         0.9.7g-1             SSL shared libraries
ii  postgresql-client-8 8.0.3-6              front-end programs for PostgreSQL 
ii  postgresql-common   19                   manager for PostgreSQL database cl
ii  zlib1g              1:1.2.2-4            compression library - runtime

postgresql-8.0 recommends no packages.

-- no debconf information


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

Reply via email to