This commit is contained in:
parent
f4630f5a4f
commit
206bf874b3
@ -15,7 +15,7 @@
|
|||||||
# Provides: earlysyslog
|
# Provides: earlysyslog
|
||||||
# Required-Start:
|
# Required-Start:
|
||||||
# Required-Stop:
|
# Required-Stop:
|
||||||
# Default-Start: 5
|
# Default-Start: 2 3 5
|
||||||
# Default-Stop:
|
# Default-Stop:
|
||||||
# Description: Start the system logging daemons
|
# Description: Start the system logging daemons
|
||||||
### END INIT INFO
|
### END INIT INFO
|
||||||
|
@ -113,9 +113,11 @@ case "$1" in
|
|||||||
if test -e /var/lock/subsys/earlysyslog ; then
|
if test -e /var/lock/subsys/earlysyslog ; then
|
||||||
# Syslog service already done
|
# Syslog service already done
|
||||||
rm -f /var/lock/subsys/earlysyslog
|
rm -f /var/lock/subsys/earlysyslog
|
||||||
exit 0
|
case "$SYSLOG_DAEMON" in
|
||||||
fi
|
rsyslogd) ;; # switch to normal config
|
||||||
if test "$2" = "early" ; then
|
*) exit 0 ;;
|
||||||
|
esac
|
||||||
|
elif test "$2" = "early" ; then
|
||||||
# Start syslog service early
|
# Start syslog service early
|
||||||
> /var/lock/subsys/earlysyslog
|
> /var/lock/subsys/earlysyslog
|
||||||
fi
|
fi
|
||||||
|
@ -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
|
Wed Sep 3 14:29:46 CEST 2008 - mt@suse.de
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ PreReq: coreutils %fillup_prereq klogd sed
|
|||||||
Provides: syslog
|
Provides: syslog
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Version: 1.4.1
|
Version: 1.4.1
|
||||||
Release: 704
|
Release: 707
|
||||||
Summary: The Syslog daemon
|
Summary: The Syslog daemon
|
||||||
Source: sysklogd-1.4.1.tar.bz2
|
Source: sysklogd-1.4.1.tar.bz2
|
||||||
Source1: logrotate.syslog
|
Source1: logrotate.syslog
|
||||||
@ -238,6 +238,10 @@ fi
|
|||||||
%{omc_svcdir}/syslog.xml
|
%{omc_svcdir}/syslog.xml
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Sep 03 2008 mt@suse.de
|
||||||
- Added log files used by syslog-ng (and rsyslog) daemons to the
|
- Added log files used by syslog-ng (and rsyslog) daemons to the
|
||||||
/etc/logrotate.d/syslog file. Added logrotate to klogd requires.
|
/etc/logrotate.d/syslog file. Added logrotate to klogd requires.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user