Package: logwatch
Version: 7.4.0+svn20111221rev79-1
Severity: important

Dear Maintainer,

I've just installed logwatch on wheezy and discovered, that the TmpDir which is 
defined in 
logwacht.conf is not created during package installation. Here's what I've done 
on a fresh
wheezy: 

aptitude install logwatch
cp /usr/share/logwatch/default.conf/logwatch.conf /etc/logwatch/conf/.

root@host:~# /etc/cron.daily/00logwatch 
/var/cache/logwatch No such file or directory at /usr/sbin/logwatch line 633.

best regards,
Werner Detter

The following line should fix the issue (untested):
--- rules.org   2012-02-04 09:57:16.058182246 +0100
+++ rules       2012-02-04 09:56:52.546303968 +0100
@@ -48,6 +48,9 @@
        cp -a debian/contrib/logwatch-postfix/postfix-logwatch 
$(SHAREDIR)/scripts/services/postfix
        cp -a debian/contrib/logwatch-postfix/postfix-logwatch.conf 
$(SHAREDIR)/default.conf/services/postfix.conf
 
+       # create TmpDir for Logwatch
+       mkdir -p /var/cache/logwatch
+
        # Fix permissions of scripts
        chmod -R 0755 $(SHAREDIR)/scripts


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages logwatch depends on:
ii  perl                            5.14.2-6
ii  postfix [mail-transport-agent]  2.8.7-1

Versions of packages logwatch recommends:
ii  libdate-manip-perl  6.30-1

Versions of packages logwatch suggests:
pn  fortune-mod  <none>

-- Configuration Files:
/etc/cron.daily/00logwatch changed [not included]

-- no debconf information



-- 
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