Package: schleuder
Version: 2.1.1-2
Severity: normal
Tags: patch

Hi,

in current testing, with logrotate 3.8.1-1:

  root@host:~# /usr/sbin/logrotate /etc/logrotate.conf
  error: skipping "/var/log/schleuder/schleuder.log" because parent
  directory has insecure permissions (It's world writable or writable
  by group which is not "root") Set "su" directive in config file to
  tell logrotate which user/group should be used for rotation.

The following patch fixes this bug for me:

--- etc/logrotate.d/schleuder.orig      2012-01-30 01:04:35.123912953 +0100
+++ etc/logrotate.d/schleuder   2012-01-30 01:02:13.898319100 +0100
@@ -6,4 +6,5 @@
        delaycompress
        notifempty
        create 640 schleuder schleuder
+       su root schleuder
 }

Cheers,
--
  intrigeri
  | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
  | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc
  | We're dreaming of something else.
  | Something more clandestine, something happier.



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

Reply via email to