Summary: | dhcpcd +debug doesn't finish during boot | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marijn Schouten (RETIRED) <hkbst> |
Component: | Current packages | Assignee: | Roy Marples (RETIRED) <uberlord> |
Status: | VERIFIED INVALID | ||
Severity: | minor | CC: | cshobe |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Marijn Schouten (RETIRED)
2006-02-19 04:29:53 UTC
The dhcpcd ebuild warns you about the debug USE flag. debug should be enabled on a per ebuild basis, not a global basis. In dhcpcd's case it is great for debugging DHCP server responses but it does not work as a dhcp client itself. *** Bug 149732 has been marked as a duplicate of this bug. *** Perhaps the USE flag could be changed to something more fitting, since the resulting behavior is different from every other ebuild? In any case, it should not hang boot indefinitely without allowing interruption. There should be some sort of forced timeout in the init script. (In reply to comment #3) > Perhaps the USE flag could be changed to something more fitting, since the > resulting behavior is different from every other ebuild? > > In any case, it should not hang boot indefinitely without allowing > interruption. There should be some sort of forced timeout in the init script. > The debug use flag is used to debug dhcp client interaction with a dhcp server. The downside is that this means that it doesn't actually work as a dhcp client. The ebuild warns you about this. Thank you for repeating yourself unecessarily. I'll do the same, and hopefully you actually read what I have to say this time. Since the debug flag causes broken behavior which requires a warning that is easily missed, perhaps the USE flag could be changed to something else for this package, i.e. debugonly. Furthermore, no matter what the warning, the init script should not be able to hang the system boot process rendering the system completely unusable. If a debug dhcpcd is built, then the init script needs to abort after a timeout, say, 60 seconds. This needs addressed as it's very easily to make your system unusable. ebuild warnings are very commonly overlooked and are not an acceptable substitute for a proper fix. dhcpcd-3 no longer does this, so fixed |