Bug 401

Summary: dhcpxd doesn\'t run correctly in ifup
Product: Sisyphus Reporter: Mikhail Zabaluev <mhz>
Component: initscriptsAssignee: Dmitry V. Levin <ldv>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P4    
Version: unstable   
Hardware: all   
OS: Linux   
Attachments:
Description Flags
0000401-ifup-dhcpxd.patch none

Description Mikhail Zabaluev 2002-01-17 11:33:42 MSK
By default, dhcpxd forks itself in the background, even before the configuration is done. This:
1) doesn\'t play good with initlog -- dhcpxd appears to block on output;
2) doesn\'t fit into the service startup model -- the ifup script should not return until the interface is either configured, or failed to configure.Fortunately, there is -w option that prevents dhcpxd from forking. The timeout in case of dead Ethernet is not prolonged, so I think it should be OK to wait for a while.
A patch is provided for clarity.
---

---

Comment 1 Dmitry V. Levin 2002-01-18 12:47:19 MSK
Thanks,
fixed in initscripts-5.49-ipl38mdk.
Comment 2 Dmitry V. Levin 2002-01-18 12:47:19 MSK
Thanks,
fixed in initscripts-5.49-ipl38mdk.