Package: inn2
Version: 2.4.2-3
Severity: normal

When innfeed's log reaches 2G (actually, 2.2G according to ls --si),
it begins to silently die whenever it is started. As news.daily does
not rotate the innfeed log, and there's no logrotate entry, this is a
problem.

Suggested fix: add a logrotate entry in /etc/logrotate.d to rotate the
file whenever it reaches 1G. Here's the config file I wrote just now
and added to /etc/logrotate.d:

/var/log/news/innfeed.log {
        monthly
        rotate 5
        olddir /var/log/news/OLD
        missingok
        size 1G 
        postrotate
            /usr/sbin/ctlinnd reload all "innfeed.log/nnrpsend.log logfile 
rotation"
        endscript
        compress
}

-- 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.18.1highmem
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages inn2 depends on:
ii  cron                         3.0pl1-94   management of regular background p
ii  debconf [debconf-2.0]        1.5.1       Debian configuration management sy
ii  exim4                        4.62-1      metapackage to ease exim MTA (v4) 
ii  exim4-daemon-heavy [mail-tra 4.62-1      exim MTA (v4) daemon with extended
ii  inn2-inews                   2.4.2-3     NNTP client news injector, from In
ii  libc6                        2.3.6-7     GNU C Library: Shared libraries
ii  libdb4.3                     4.3.29-6    Berkeley v4.3 Database Libraries [
ii  libperl5.8                   5.8.8-7     Shared Perl library
ii  perl                         5.8.8-7     Larry Wall's Practical Extraction 
ii  perl-base [perlapi-5.8.4]    5.8.8-7     The Pathologically Eclectic Rubbis
ii  procps                       1:3.2.6-2.2 /proc file system utilities
ii  time                         1.7-21      The GNU time program for measuring

inn2 recommends no packages.

-- debconf information:
  inn2/preinst-upgrade-largefiles: false
  inn2/postinst-cannot-start:
  inn2/preinst-upgrade1: false


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

Reply via email to