Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 300431 Details for
Bug 237827
Wrong init script
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Further initscript fixes (work around status() and wait for stop completion)
cachefilesd-0.8-initscript2.patch (text/plain), 804 bytes, created by
David Howells
on 2008-04-04 13:52:43 UTC
(
hide
)
Description:
Further initscript fixes (work around status() and wait for stop completion)
Filename:
MIME Type:
Creator:
David Howells
Created:
2008-04-04 13:52:43 UTC
Size:
804 bytes
patch
obsolete
>diff -uNr cachefilesd-0.8-orig/cachefilesd.initd cachefilesd-0.8/cachefilesd.initd >--- cachefilesd-0.8-orig/cachefilesd.initd 2008-04-04 10:29:43.000000000 +0100 >+++ cachefilesd-0.8/cachefilesd.initd 2008-04-04 14:32:33.000000000 +0100 >@@ -52,9 +52,17 @@ > [ $RETVAL -eq 0 ] && touch $LOCKFILE > ;; > stop) >- # Stop daemon. >+ # Stop daemon and wait for it to complete > echo -n $"Shutting down $PROG: " >+ PID=`cat $PIDFILE` > killproc -p $PIDFILE >+ TIMEOUT=10 >+ while expr x`readlink /proc/$PID/exe` : ".*$PROG" >/dev/null >+ do >+ sleep 1 >+ TIMEOUT=`expr $TIMEOUT - 1` >+ if [ $TIMEOUT -lt 0 ]; then break; fi >+ done > RETVAL=$? > echo > [ $RETVAL -eq 0 ] && rm -f $LOCKFILE >@@ -70,7 +78,8 @@ > ;; > condrestart) > if [ -f $LOCKFILE ]; then >- $0 restart >+ $0 stop >+ $0 start > RETVAL=$? > fi > ;;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 237827
: 300431