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
--- rsyslog.d.orig/50-default.conf      2011-03-23 14:14:53.000000000 +0100
+++ rsyslog.d/50-default.conf   2011-03-23 13:27:43.000000000 +0100
@@ -22,12 +22,6 @@
 mail.warn                      -/var/log/mail.warn
 mail.err                       /var/log/mail.err
 
-#
-# Logging for INN news system.
-#
-news.crit                      /var/log/news/news.crit
-news.err                       /var/log/news/news.err
-news.notice                    -/var/log/news/news.notice
 
 #
 # Some "catch-all" log files.
diff -uNr rsyslog.d.orig/60-news.conf rsyslog.d/60-news.conf
--- rsyslog.d.orig/60-news.conf 1970-01-01 01:00:00.000000000 +0100
+++ rsyslog.d/60-news.conf      2011-03-23 13:37:23.000000000 +0100
@@ -0,0 +1,12 @@
+$FileOwner news
+$FileGroup news
+
+#
+# Logging for INN news system.
+#
+news.crit                      /var/log/news/news.crit
+news.err                       /var/log/news/news.err
+news.notice                    -/var/log/news/news.notice
+
+$FileOwner syslog
+$FileGroup adm

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/740968

Title:
  news logfiles should be owned by news:news for news.daily

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to