Bugzilla – Attachment 432995 Details for
Bug 698174
klogd use /var/run/subsys (deprecated)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Forgot Password
[patch]
Patch to remove the use of subsys in /var/run location
syslog.patch (text/plain), 1.90 KB, created by
Bruno Friedmann
on 2011-06-06 08:19:52 UTC
(
hide
)
Description:
Patch to remove the use of subsys in /var/run location
Filename:
MIME Type:
Creator:
Bruno Friedmann
Created:
2011-06-06 08:19:52 UTC
Size:
1.90 KB
patch
obsolete
>--- syslog 2011-06-06 10:13:43.005265511 +0200 >+++ syslog.origin 2011-05-27 12:36:45.000000000 +0200 >@@ -96,8 +96,8 @@ > test "$1" == "stop" && exit 0 > exit 5 > } >-test -s /var/lock/syslogd && { >- read -t 5 syslog_use < /var/lock/syslogd >+test -s /var/lock/subsys/syslogd && { >+ read -t 5 syslog_use < /var/lock/subsys/syslogd > } > test -z "$syslog_use" && syslog_use=${syslog_bin} > syslog_use_pid="/var/run/${syslog_use##*\/}.pid" >@@ -117,16 +117,16 @@ > rc_reset > case "$1" in > start) >- if test -e /var/lock/earlysyslog ; then >+ if test -e /var/lock/subsys/earlysyslog ; then > # Syslog service already done >- rm -f /var/lock/earlysyslog >+ rm -f /var/lock/subsys/earlysyslog > case "$SYSLOG_DAEMON" in > rsyslogd) ;; # switch to normal config > *) exit 0 ;; > esac > elif test "$2" = "early" ; then > # Start syslog service early >- > /var/lock/earlysyslog >+ > /var/lock/subsys/earlysyslog > fi > > if ! test -e /dev/xconsole ; then >@@ -137,7 +137,7 @@ > if test -s ${syslog_use_pid} ; then > killproc -p ${syslog_use_pid} ${syslog_use} > echo -n "Re-" >- rm -f /var/lock/syslogd >+ rm -f /var/lock/subsys/syslogd > fi > echo -n "Starting syslog services" > test -z "$KERNEL_LOGLEVEL" && KERNEL_LOGLEVEL=1 >@@ -181,7 +181,7 @@ > rc_status > > # Remember the currently used syslog daemon >- echo ${syslog_bin} > /var/lock/syslogd >+ echo ${syslog_bin} > /var/lock/subsys/syslogd > > if test $? -eq 0 ; then > if test "$start_klogd" = yes ; then >@@ -192,7 +192,7 @@ > rc_status -v > ;; > stop) >- rm -f /var/lock/earlysyslog >+ rm -f /var/lock/subsys/earlysyslog > test "$2" = "early" && exit 0 > > echo -n "Shutting down syslog services" >@@ -202,7 +202,7 @@ > killproc ${klog_bin} > fi > killproc -p ${syslog_use_pid} ${syslog_use} ; rc_status -v >- rm -f /var/lock/syslogd >+ rm -f /var/lock/subsys/syslogd > ;; > try-restart|condrestart) > if test "$1" = "condrestart"; then
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 698174
: 432995