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
This commit is contained in:
Dirk Mueller 2017-12-08 09:16:24 +00:00 committed by Git OBS Bridge
parent f16e85b170
commit a2de1de518
3 changed files with 9 additions and 17 deletions

View File

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

View File

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

View File

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