Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 355279 - net-misc/dhcpcd-5.2.10-r2 stable request
Summary: net-misc/dhcpcd-5.2.10-r2 stable request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2011-02-17 00:14 UTC by William Hubbs
Modified: 2011-03-23 21:08 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dhcpcd restart (dhcpcd_restart.txt,2.68 KB, text/plain)
2011-02-21 00:21 UTC, David Abbott (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description William Hubbs gentoo-dev 2011-02-17 00:14:36 UTC
Arch teams,

please test and stabilize this version of dhcpcd.

Thanks,

William
Comment 1 Alex Buell 2011-02-18 11:50:19 UTC
Tested OK on SPARC, could stabilise. 
Comment 2 blain 'Doc' Anderson 2011-02-18 21:49:19 UTC
amd64 good
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2011-02-19 17:53:27 UTC
amd64 done. Thanks Agostino
Comment 4 Jordan 2011-02-20 20:55:36 UTC
So dhcpcd's taking a long time to boot and preventing me from connecting to my wlan is normal?
Comment 5 David Abbott (RETIRED) gentoo-dev 2011-02-20 21:01:00 UTC
(In reply to comment #4)
> So dhcpcd's taking a long time to boot and preventing me from connecting to my
> wlan is normal?
> 
@Jordan this is a STABLEREQ bug if you want to open a bug for your issue please follow http://www.gentoo.org/doc/en/bugzilla-howto.xml
thanks
Comment 6 Jordan 2011-02-20 21:39:11 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > So dhcpcd's taking a long time to boot and preventing me from connecting to my
> > wlan is normal?
> > 
> @Jordan this is a STABLEREQ bug if you want to open a bug for your issue please
> follow http://www.gentoo.org/doc/en/bugzilla-howto.xml
> thanks
> 

I had done for for dhcpcd-5.2.8, using bugzilla's search function I cannot find my bug submission. So either it was deleted due to no one caring, or bugzilla's search engine is rubbish. Whatever I'll file another one.
Comment 7 William Hubbs gentoo-dev 2011-02-20 23:13:31 UTC
(In reply to comment #4)
> So dhcpcd's taking a long time to boot and preventing me from connecting to my
> wlan is normal?

Arch teams, this appears to be a user configuration issue, so please continue with stabilization.

Thanks,

William
Comment 8 Outer Measure 2011-02-20 23:45:21 UTC
Please stop the stabilisation until baselayout-2 is stabilised, or provide an alternative init script.  dispatch-conf gives:

--- /etc/init.d/dhcpcd  2011-02-19 23:29:07.000000000 +0800
+++ /etc/init.d/._cfg0000_dhcpcd        2011-02-21 06:59:42.000000000 +0800
@@ -1,5 +1,5 @@
 #!/sbin/runscript
-# Copyright 2007-2008 Roy Marples <roy@marples.name>
+# Copyright 1999-2011 Roy Marples <roy@marples.name>
 # All rights reserved. Released under the 2-clause BSD license.

 command=/sbin/dhcpcd
@@ -9,9 +9,19 @@

 depend()
 {
-       provide net
-       need localmount
-       use logger network
-       after bootmisc modules
-       before dns
+       if [ "${RC_VERSION:-0}" != "0" ]; then
+               provide net
+               need localmount
+               use logger network
+               after bootmisc modules
+               before dns
+       fi
 }
+
+if [ "${RC_VERSION:-0}" = "0" ]; then
+       start()
+       {
+               eerror "This script cannot be used for baselayout-1."
+               return 1
+       }
+fi
Comment 9 David Abbott (RETIRED) gentoo-dev 2011-02-21 00:21:26 UTC
Created attachment 263233 [details]
dhcpcd restart

Tested on stable x86 with latest /etc/init.d/dhcpcd
all good here
Comment 10 Outer Measure 2011-02-21 06:49:23 UTC
(In reply to comment #9)
> Created an attachment (id=263233) [details]
> dhcpcd restart
> 
> Tested on stable x86 with latest /etc/init.d/dhcpcd
> all good here
> 


Huh?  That is _net.eth0_ restart, not _dhcpcd_ restart.

Try issuing "/etc/init.d/dhcpcd restart" instead of your "/etc/init.d/net.eth0 restart".
Comment 11 David Abbott (RETIRED) gentoo-dev 2011-02-21 09:16:49 UTC
OK you are correct;
 /etc/init.d/dhcpcd restart
 * This script cannot be used for baselayout-1.
Comment 12 William Hubbs gentoo-dev 2011-02-21 16:28:48 UTC
(In reply to comment #11)
> OK you are correct;
>  /etc/init.d/dhcpcd restart
>  * This script cannot be used for baselayout-1.

And that is exactly what is supposed to happen. This script can only be used with openrc. Dhcpcd on baselayout 1 is supposed to be run by the net.* scripts when it is needed.

Thanks,

William
Comment 13 Arnaud Launay 2011-02-24 18:49:21 UTC
BTW, there is a problem with this ebuild:

 Fetched file: dhcpcd-5.2.10.tar.bz2 VERIFY FAILED!
 Reason: Filesize does not match recorded size
 Got:      71032
 Expected: 71140
Comment 14 William Hubbs gentoo-dev 2011-02-25 23:45:24 UTC
(In reply to comment #13)
> BTW, there is a problem with this ebuild:
>  Fetched file: dhcpcd-5.2.10.tar.bz2 VERIFY FAILED!
>  Reason: Filesize does not match recorded size
>  Got:      71032
>  Expected: 71140

I spoke with upstream and found that he had inadvertently changed his tarball. However, this is now fixed on his server.

Arch teams, please continue stabilizing.

Arnaud, this should have been handled in a separate bug. In the future, if you have an issue, please open a separate bug and mmake it block the stable request.
Comment 15 Guy Martin (RETIRED) gentoo-dev 2011-02-26 14:42:04 UTC
hppa stable
Comment 16 Brent Baude (RETIRED) gentoo-dev 2011-02-28 15:16:10 UTC
ppc stable
Comment 17 Myckel Habets 2011-02-28 19:55:00 UTC
Builds and runs fine for x86. Please mark stable for x86.
Comment 18 Thomas Kahle (RETIRED) gentoo-dev 2011-03-07 08:49:45 UTC
x86 done. Thanks Myckel, thanks David.
Comment 19 Tobias Klausmann (RETIRED) gentoo-dev 2011-03-12 13:10:17 UTC
Stable on alpha.
Comment 20 Alex Buell 2011-03-12 14:34:03 UTC
Tested on SPARC, seems to get its DHCP information from my DHCPd server jsut fine. Could stabilise.
Comment 21 Markus Meier gentoo-dev 2011-03-13 20:33:45 UTC
arm stable
Comment 22 Raúl Porcel (RETIRED) gentoo-dev 2011-03-20 12:21:41 UTC
ia64/s390/sh/sparc stable
Comment 23 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2011-03-23 21:08:49 UTC
ppc64 stable, last arch closing