Package: logrotate
Version: 3.7.7-2
Severity: normal

Hello,

I installed the new logrotate from sid, and added to
/etc/logrotate.conf, before "include /etc/logrotate.d", the
directives:
shred
shredcycles 2

I then wanted to make sure the specified shredcycles option was taken
into account, and then wrote into /usr/local/sbin/shred :

#!/bin/sh
set -x
/usr/bin/shred $@

Running as root 'logrotate -v -f /etc/logrotate.conf' outputs on
stderr includes:
+ /usr/bin/shred -u /var/log/apache2/access.log.1

So our custom shred is effectively called, but without the expected
'-n 2' option.


-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-openvz-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=UTF-8 (charmap=UTF-8) (ignored: LC_ALL set 
to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages logrotate depends on:
ii  anacron                       2.3-13.1   cron-like program that doesn't go 
ii  base-passwd                   3.5.19     Debian base system master password
ii  cron                          3.0pl1-105 management of regular background p
ii  libc6                         2.7-16     GNU C Library: Shared libraries
ii  libpopt0                      1.14-4     lib for parsing cmdline parameters
ii  libselinux1                   2.0.65-5   SELinux shared libraries

Versions of packages logrotate recommends:
ii  bsd-mailx [mailx]  8.1.2-0.20071201cvs-3 A simple mail user agent
ii  mailx              1:20071201-3          Transitional package for mailx ren

logrotate suggests no packages.

-- no debconf information

--
  intrigeri <intrig...@boum.org>
  | gnupg key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
  | We're dreaming of something else.
  | Something more clandestine, something happier.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to