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:
14
rsyslog.spec
14
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
|
||||
#
|
||||
|
Reference in New Issue
Block a user