news logfiles should be owned by news:news for news.daily
Bug #740968 reported by
Koos van den Hout
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rsyslog (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: rsyslog
news.daily could not open /var/log/
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: rsyslog 4.2.0-2ubuntu8.1
ProcVersionSign
Uname: Linux 2.6.32-28-generic i686
Architecture: i386
Date: Wed Mar 23 13:39:59 2011
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: rsyslog
To post a comment you must log in.
Workaround, separate logging rules for newws (for readability) and change the FileOwner and FileGroup.
diff -uNr rsyslog. d.orig/ 50-default. conf rsyslog. d/50-default. conf d.orig/ 50-default. conf 2011-03-23 14:14:53.000000000 +0100 d/50-default. conf 2011-03-23 13:27:43.000000000 +0100
--- rsyslog.
+++ rsyslog.
@@ -22,12 +22,6 @@
mail.warn -/var/log/mail.warn
mail.err /var/log/mail.err
-# news/news. crit news/news. err news/news. notice
-# Logging for INN news system.
-#
-news.crit /var/log/
-news.err /var/log/
-news.notice -/var/log/
# d.orig/ 60-news. conf rsyslog. d/60-news. conf d.orig/ 60-news. conf 1970-01-01 01:00:00.000000000 +0100 d/60-news. conf 2011-03-23 13:37:23.000000000 +0100 news/news. crit news/news. err news/news. notice
# Some "catch-all" log files.
diff -uNr rsyslog.
--- rsyslog.
+++ rsyslog.
@@ -0,0 +1,12 @@
+$FileOwner news
+$FileGroup news
+
+#
+# Logging for INN news system.
+#
+news.crit /var/log/
+news.err /var/log/
+news.notice -/var/log/
+
+$FileOwner syslog
+$FileGroup adm