[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#4653: smail doesn't set owner/group/mode in savelog call

Package: smail

Oddly, /var/log/smail/logfile had zero length even though mail had been
processed on the system after the last savelog rotation (which is run by
/etc/cron.daily/smail) . The file had group "root".  After changing the group
to "mail", smail again added logs to the file.  I propose to add the patch
below to /etc/cron.daily/smail.

miles:/etc/cron.daily [root] # diff -u smail smail.orig
--- smail       Mon Sep 30 08:55:23 1996
+++ smail.orig  Wed Apr 24 20:07:00 1996
@@ -8,4 +8,4 @@

 set -e
 cd /var/log/smail
-savelog -o root -g mail -m 644 -c 7 logfile paniclog >/dev/null
+savelog -c 7 logfile paniclog >/dev/null            

Dirk Eddelb"uttel                             http://qed.econ.queensu.ca/~edd

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com

Reply to: