OBS User unknown 2008-10-06 15:15:43 +00:00 committed by Git OBS Bridge
parent f4630f5a4f
commit 206bf874b3
4 changed files with 18 additions and 5 deletions

View File

@ -15,7 +15,7 @@
# Provides: earlysyslog
# Required-Start:
# Required-Stop:
# Default-Start: 5
# Default-Start: 2 3 5
# Default-Stop:
# Description: Start the system logging daemons
### END INIT INFO

View File

@ -113,9 +113,11 @@ case "$1" in
if test -e /var/lock/subsys/earlysyslog ; then
# Syslog service already done
rm -f /var/lock/subsys/earlysyslog
exit 0
fi
if test "$2" = "early" ; then
case "$SYSLOG_DAEMON" in
rsyslogd) ;; # switch to normal config
*) exit 0 ;;
esac
elif test "$2" = "early" ; then
# Start syslog service early
> /var/lock/subsys/earlysyslog
fi

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Oct 2 16:15:24 CEST 2008 - mt@suse.de
- Fixed start in /etc/init.d/syslog script to restart rsyslogd
with correct config when running in early mode (bnc#431599),
changed to use earlysyslog in runleves 2 and 3 as well.
-------------------------------------------------------------------
Wed Sep 3 14:29:46 CEST 2008 - mt@suse.de

View File

@ -27,7 +27,7 @@ PreReq: coreutils %fillup_prereq klogd sed
Provides: syslog
AutoReqProv: on
Version: 1.4.1
Release: 704
Release: 707
Summary: The Syslog daemon
Source: sysklogd-1.4.1.tar.bz2
Source1: logrotate.syslog
@ -238,6 +238,10 @@ fi
%{omc_svcdir}/syslog.xml
%changelog
* Thu Oct 02 2008 mt@suse.de
- Fixed start in /etc/init.d/syslog script to restart rsyslogd
with correct config when running in early mode (bnc#431599),
changed to use earlysyslog in runleves 2 and 3 as well.
* Wed Sep 03 2008 mt@suse.de
- Added log files used by syslog-ng (and rsyslog) daemons to the
/etc/logrotate.d/syslog file. Added logrotate to klogd requires.