Bug 401 - dhcpxd doesn\'t run correctly in ifup
Summary: dhcpxd doesn\'t run correctly in ifup
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: initscripts (show other bugs)
Version: unstable
Hardware: all Linux
: P4 major
Assignee: Dmitry V. Levin
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-17 11:33 MSK by Mikhail Zabaluev
Modified: 2003-08-25 15:18 MSD (History)
0 users

See Also:


Attachments
0000401-ifup-dhcpxd.patch (deleted)
2002-01-17 11:33 MSK, Mikhail Zabaluev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.