From a2de1de51859d53a2fb497b1d5211902f9a0cdb370f6095d7a1726f060c301d0 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 8 Dec 2017 09:16:24 +0000 Subject: [PATCH] Accepting request 555086 from home:kukuk:branches:Base:System - Disable news by default, we don't need to clobber all systems with this for the very few remaining news servers OBS-URL: https://build.opensuse.org/request/show/555086 OBS-URL: https://build.opensuse.org/package/show/Base:System/rsyslog?expand=0&rev=280 --- rsyslog.changes | 6 ++++++ rsyslog.conf.in | 6 +++--- rsyslog.spec | 14 -------------- 3 files changed, 9 insertions(+), 17 deletions(-) diff --git a/rsyslog.changes b/rsyslog.changes index 9d13210..72ca4f0 100644 --- a/rsyslog.changes +++ b/rsyslog.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 7 14:56:03 CET 2017 - kukuk@suse.de + +- Disable news by default, we don't need to clobber all systems + with this for the very few remaining news servers + ------------------------------------------------------------------- Thu Nov 23 13:41:39 UTC 2017 - rbrown@suse.com diff --git a/rsyslog.conf.in b/rsyslog.conf.in index 21e037e..5759609 100644 --- a/rsyslog.conf.in +++ b/rsyslog.conf.in @@ -139,9 +139,9 @@ mail.err /var/log/mail.err # # news-messages # -news.crit -/var/log/news/news.crit -news.err -/var/log/news/news.err -news.notice -/var/log/news/news.notice +#news.crit -/var/log/news/news.crit +#news.err -/var/log/news/news.err +#news.notice -/var/log/news/news.notice # enable this, if you want to keep all news messages # in one file #news.* -/var/log/news.all diff --git a/rsyslog.spec b/rsyslog.spec index a85b8dc..6b6150a 100644 --- a/rsyslog.spec +++ b/rsyslog.spec @@ -238,11 +238,6 @@ Source15: rsyslog.firewall # PATCH-FIX-OPENSUSE rsyslog-unit.patch crrodriguez@opensuse.org Customize upstream systemd unit for openSUSE needs. Patch0: rsyslog-unit.patch Patch1: 0001-imgssapi-fix-compiler-warnings.patch -%if 0%{?suse_version} > 1320 -# Ensure "news" exists - bsc#1068678 -Requires(post): user(news) -Requires(post): group(news) -%endif # this is a dirty hack since % dir does only work for the specified directory and nothing above # but I want to be able to switch this to /etc/apparmor.d once the profiles received more testing @@ -875,15 +870,6 @@ touch var/log/mail; chmod 640 var/log/mail touch var/log/mail.info; chmod 640 var/log/mail.info touch var/log/mail.warn; chmod 640 var/log/mail.warn touch var/log/mail.err; chmod 640 var/log/mail.err -test -f var/log/news && mv -f var/log/news var/log/news.bak -mkdir -p -m 0750 var/log/news -chown news:news var/log/news -touch var/log/news/news.crit; chmod 640 var/log/news/news.crit -chown news:news var/log/news/news.crit -touch var/log/news/news.err; chmod 640 var/log/news/news.err -chown news:news var/log/news/news.err -touch var/log/news/news.notice; chmod 640 var/log/news/news.notice -chown news:news var/log/news/news.notice # # touch the additional log files we are using #