Bugzilla – Attachment 54902 Details for
Bug 129648
startmode=ifplugd doesn't set resolv.conf
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
let ifdown wait for ifplugd to terminate
ifup.diff (text/plain), 1.19 KB, created by
Christian Zoz
on 2005-10-20 10:29:44 UTC
(
hide
)
Description:
let ifdown wait for ifplugd to terminate
Filename:
MIME Type:
Creator:
Christian Zoz
Created:
2005-10-20 10:29:44 UTC
Size:
1.19 KB
patch
obsolete
>--- sysconfig/scripts/ifup 2005-09-05 15:19:08.000000000 +0200 >+++ /sbin/ifup 2005-10-20 12:25:09.000000000 +0200 >@@ -336,12 +336,21 @@ > ifdown) > if [ "$HWD_INTERFACETYPE_0" != "wlan" ]; then > $IFPLUGD -i $INTERFACE -k 2>/dev/null >- # When ifplug terminates it calls the down script which >- # in turn runs ifdown without '-o hotplug' or '-o rc' >- # and writes status information. When we sleep a little >- # bit we ensure that we delete all status information >- # after this ifplugd ifdown run. >- sleep 1 >+ # When ifplug terminates it calls the down script which in turn >+ # runs ifdown without '-o hotplug' or '-o rc' and writes status >+ # information. But we must wait and ensure that all this info is >+ # deleted afterwards. >+ # Additionally ifdown must not return before ifplugd has terminated >+ # so that a new ifplugd may be started when calling 'rcnetwork >+ # restart' (See bug 129648). >+ for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do >+ if [ ! -f /var/run/ifplugd.$INTERFACE.pid ] ; then >+ debug "ifplugd terminated" >+ break >+ fi >+ debug "waiting for ifplugd to terminate ($i)" >+ sleep 1 >+ done > fi > ;; > esac
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 129648
: 54902 |
54943
|
55048
|
55090