|Summary:||dhcpcd +debug doesn't finish during boot|
|Product:||Gentoo Linux||Reporter:||Marijn Schouten (RETIRED) <hkbst>|
|Component:||Current packages||Assignee:||Roy Marples (RETIRED) <uberlord>|
|Package list:||Runtime testing required:||---|
Description Marijn Schouten (RETIRED) 2006-02-19 04:29:53 UTC
Comment 1 Roy Marples (RETIRED) 2006-02-19 05:20:49 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.
Comment 2 Jakub Moc (RETIRED) 2006-10-01 11:05:30 UTC
*** Bug 149732 has been marked as a duplicate of this bug. ***
Comment 3 Casey Allen Shobe 2006-10-01 15:41:12 UTC
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.
Comment 4 Roy Marples (RETIRED) 2006-10-01 15:45:52 UTC
(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.
Comment 5 Casey Allen Shobe 2006-10-01 16:24:22 UTC
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.
Comment 6 Roy Marples (RETIRED) 2006-12-08 06:54:47 UTC
dhcpcd-3 no longer does this, so fixed