Package: gidentd
Version: 0.4.5-7.3
Severity: serious
Justification: Policy 10.8
Tags: patch
gidentd does not rotate logfiles (neither etch nor sid). However the
policy requires this (and my /var/log fills ...):
Policy 10.8 says:
Log files must be rotated occasionally so that they don't grow
indefinitely; ...
A NMU diff is attached.
While investigating your package I also found following bugs:
At least the stable package does not remove logfiles when being purged
(policy says this should [!= must] happen).
Furthermore the package does not build with MAKEFLAGS=-j2.
Helmut
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.23.14 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
diff -ruN gidentd-0.4.5+dfsg1/debian/changelog gidentd-0.4.5+dfsg1-0.2/debian/changelog
--- gidentd-0.4.5+dfsg1/debian/changelog 2008-01-26 15:10:57.000000000 +0100
+++ gidentd-0.4.5+dfsg1-0.2/debian/changelog 2008-01-26 15:17:36.000000000 +0100
@@ -1,3 +1,10 @@
+gidentd (0.4.5+dfsg1-0.2) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fix missing logrotate (policy 10.8, Closes: #nnn).
+
+ -- Helmut Grohne <[EMAIL PROTECTED]> Sat, 26 Jan 2008 14:52:08 +0100
+
gidentd (0.4.5+dfsg1-0.1) unstable; urgency=low
* Non-maintainer upload.
diff -ruN gidentd-0.4.5+dfsg1/debian/control gidentd-0.4.5+dfsg1-0.2/debian/control
--- gidentd-0.4.5+dfsg1/debian/control 2008-01-26 15:10:57.000000000 +0100
+++ gidentd-0.4.5+dfsg1-0.2/debian/control 2008-01-26 15:14:38.000000000 +0100
@@ -9,7 +9,7 @@
Architecture: any
Replaces: ident-server
Provides: ident-server
-Depends: ${shlibs:Depends}, update-inetd
+Depends: ${shlibs:Depends}, update-inetd, logrotate
Conflicts: ident-server
Description: RFC1413 compliant IPv4/IPv6 ident daemon
gidentd is a fully functional, RFC1413 compliant ident daemon,
diff -ruN gidentd-0.4.5+dfsg1/debian/gidentd.logrotate gidentd-0.4.5+dfsg1-0.2/debian/gidentd.logrotate
--- gidentd-0.4.5+dfsg1/debian/gidentd.logrotate 1970-01-01 01:00:00.000000000 +0100
+++ gidentd-0.4.5+dfsg1-0.2/debian/gidentd.logrotate 2008-01-26 15:12:23.000000000 +0100
@@ -0,0 +1,10 @@
+/var/log/gidentd.log {
+ rotate 12
+ weekly
+ compress
+ # Is this necessary? It doesn't hurt though:
+ delaycompress
+ postrotate
+ /etc/init.d/gidentd force-reload
+ endscript
+}
diff -ruN gidentd-0.4.5+dfsg1/debian/rules gidentd-0.4.5+dfsg1-0.2/debian/rules
--- gidentd-0.4.5+dfsg1/debian/rules 2008-01-26 15:10:57.000000000 +0100
+++ gidentd-0.4.5+dfsg1-0.2/debian/rules 2008-01-26 15:14:11.000000000 +0100
@@ -49,6 +49,7 @@
dh_installman debian/gidentd.8
dh_installchangelogs ChangeLog
+ dh_installlogrotate
dh_link
dh_strip