.
OBS-URL: https://build.opensuse.org/package/show/Base:System/syslogd?expand=0&rev=63
This commit is contained in:
parent
0bf29b22e2
commit
1f00c0019d
@ -320,13 +320,5 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
#
|
||||
# Last but not least remove the old (early) service links from SystemV init
|
||||
#
|
||||
for service in /etc/init.d/*.d/*syslog ; do
|
||||
test -h $service || continue
|
||||
/bin/rm -f $service
|
||||
done
|
||||
|
||||
#
|
||||
# end of /lib/systemd/system-generator/syslog-service-generator
|
||||
|
@ -18,7 +18,7 @@ Requires=var-run.mount syslog.target
|
||||
After=var-run.mount
|
||||
Before=syslog.target
|
||||
OnFailure=systemd-kmsg-syslogd.service
|
||||
Names=earlysyslog.service
|
||||
Conflicts=syslog-ng.service rsyslog.service
|
||||
|
||||
#
|
||||
# Now systemd include the further dependency rules and
|
||||
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 20 08:38:55 UTC 2011 - werner@suse.de
|
||||
|
||||
- Add syslink to /dev/null for earlysyslog service unit to avoid
|
||||
to start it twice with systemd
|
||||
- Do not disable SysV service links with systemd
|
||||
- For syslog service unit add conflicts witjh syslog-ng and rsyslog
|
||||
service units
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 08:23:34 UTC 2011 - werner@suse.de
|
||||
|
||||
|
@ -195,6 +195,7 @@ mv sample-s390.conf sample.conf
|
||||
install -m 644 %{SOURCE10} $RPM_BUILD_ROOT%{sysdsysunitdir}/
|
||||
install -m 644 %{SOURCE11} $RPM_BUILD_ROOT%{sysdsysunitdir}/
|
||||
install -m 644 %{SOURCE12} $RPM_BUILD_ROOT%{sysdsysunitdir}/
|
||||
ln -sf /dev/null $RPM_BUILD_ROOT%{sysdsysunitdir}/earlysyslog.service
|
||||
%ifarch s390 s390x
|
||||
sed 's/^KERNEL_LOGLEVEL=1/KERNEL_LOGLEVEL=7/' %{SOURCE2} \
|
||||
> $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.syslog
|
||||
@ -304,6 +305,7 @@ mkdir -p -m 0755 var/run/syslog-ng
|
||||
%config(noreplace) /etc/logrotate.d/syslog
|
||||
%config /etc/init.d/syslog
|
||||
%config /etc/init.d/earlysyslog
|
||||
%config %{sysdsysunitdir}/earlysyslog.service
|
||||
%config %{sysdsysunitdir}/syslog.service
|
||||
%config %{sysdsysunitdir}/klog.service
|
||||
%doc %{_mandir}/man8/syslog.8.gz
|
||||
|
Loading…
Reference in New Issue
Block a user