Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 312385 - stablereq: =net-misc/dhcpcd-5.2.8
Summary: stablereq: =net-misc/dhcpcd-5.2.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on: 262097 328227 331087 343925
Blocks: 334341
  Show dependency tree
 
Reported: 2010-03-31 13:34 UTC by Andrew Brouwers
Modified: 2011-03-24 09:20 UTC (History)
12 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Brouwers 2010-03-31 13:34:12 UTC
I've been using the 5.x series for a month or so on my stable machine without much issue.

Reproducible: Always
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-03-31 13:49:00 UTC
Last I heard, the 5.x series could only be used (reliably) with baselayout-2/openrc
Comment 2 Andrew Brouwers 2010-03-31 13:55:35 UTC
(In reply to comment #1)
> Last I heard, the 5.x series could only be used (reliably) with
> baselayout-2/openrc
> 

Oh, bummer.  My system was also bumped to baselayout2 a while ago, so I guess that explains it.  Feel free to close then, since that might not happen for awhile.
Comment 3 Roy Marples 2010-04-06 12:04:47 UTC
5.2.2 is a very good stable candidate as it fixes one Linux specific issue with the 5.2 series and a long standing issue with wireless on Linux for the whole 5.x series.
Comment 4 Roy Marples 2010-04-06 12:07:08 UTC
(In reply to comment #1)
> Last I heard, the 5.x series could only be used (reliably) with
> baselayout-2/openrc

This is not true - the dhcpcd module for baselayout-1 can easily be backported from openrc.
Comment 5 Nick White 2010-04-09 08:40:39 UTC
FWIW, I've been using dhcpcd 5.0.4 for over 6 months now, and it's been much more reliable than 4.0.x
Comment 6 William Hubbs gentoo-dev 2010-04-09 19:17:08 UTC
All,

I haven't pushed for stabilization of this series because of bug #284631.

It is definitely a show-stopper for at least one user, but I don't know about anyone else.
Does anyone have any suggestions?

William
Comment 7 Roy Marples 2010-04-09 21:56:26 UTC
(In reply to comment #6)
> It is definitely a show-stopper for at least one user

It's not a dhcpcd bug. dhcpcd-4 enables clientid by default, dhcpcd-5 not so. His DHCP server rejects messages without a clientid (which is a bug with the DHCP server). His provided traces prove this even though he claims he has enabled clientid.
Comment 8 Jeremy Murphy 2010-06-12 00:39:27 UTC
So, what's actually holding up stabilization of the 5.x series?  The only open bug has been reported by only one user and seems impenetrable to investigation.  Can we not consider the possibility that it is an isolated case?
And what of backporting from openrc, is that yet to be implemented?  It runs fine on baselayout-1 for a trivial network configuration on my laptop anyway.
I think it would be unfortunate if stabilization of the 5.x series was delayed when there is nothing serious wrong with it.
Comment 9 Jeremy Murphy 2010-07-17 08:21:38 UTC
William, could we add the arch testing teams to this bug so that it can get some more real-world testing?  If, as Roy has said, bug #284631 is not in fact a real bug, then it will never be resolved and dhcpcd will never be stabilized.
Comment 10 William Hubbs gentoo-dev 2010-07-17 17:01:39 UTC
(In reply to comment #9)
> William, could we add the arch testing teams to this bug so that it can get
> some more real-world testing?  If, as Roy has said, bug #284631 is not in fact
> a real bug, then it will never be resolved and dhcpcd will never be stabilized.


I understand that some critical updates have happened since 5.2.2, so I would want to stabilize 5.2.6.  Roy, am I correct here?  If so, we can't do that until 7 Aug.

Also, how much would it break baselayout 1?  I'm not sure that base-system is going to want to back port anything since we are working toward openrc/baselayout stabilization.
Comment 11 Jeremy Murphy 2010-08-04 00:38:15 UTC
(In reply to comment #4)
> (In reply to comment #1)
> > Last I heard, the 5.x series could only be used (reliably) with
> > baselayout-2/openrc
> 
> This is not true - the dhcpcd module for baselayout-1 can easily be backported
> from openrc.

So, how do we find a volunteer to do this?  I'm not sure what it involves.

Also, this bug should probably depend on 328227 and 331087.
Comment 12 William Hubbs gentoo-dev 2010-08-04 01:34:13 UTC
(In reply to comment #11)
> (In reply to comment #4)
> > (In reply to comment #1)
> > > Last I heard, the 5.x series could only be used (reliably) with
> > > baselayout-2/openrc
> > 
> > This is not true - the dhcpcd module for baselayout-1 can easily be backported
> > from openrc.
> So, how do we find a volunteer to do this?  I'm not sure what it involves.

I'm not sure that we do since the base-system team is more interested in stabilizing baselayout-2 and openrc.

> Also, this bug should probably depend on 328227 and 331087.

The bugs you suggested as dependencies are correct, and I have added them.

Also, I added 262097, which is a bug requesting that the dhcpcd module be backported  for another issue, and 295613, which is the openrc tracker.  Depending on base-system's response to the first bug, I will either remove it or the openrc tracker from the dependencies.
Comment 13 Jeremy Murphy 2010-08-04 02:34:15 UTC
How much work is there in backporting it?  I can understand that the baselayout team probably aren't interested, but the rest of us using stable are.  Surely there is someone who has done this sort of thing before for whom it wouldn't be much trouble?
Comment 14 Alexander Holler 2010-08-04 22:29:12 UTC
I just hit a bug whit dhcpcd-4 and kernel 2.6.35.

https://bugzilla.kernel.org/show_bug.cgi?id=16187

Seems this will affect many other users if they are switching to 2.6.35 as it seems to be unrelated to the network-driver used.
Comment 15 Alexander Holler 2010-08-04 22:57:31 UTC
And 5.2.7 is needed, 5.2.6 still has the bug.
Comment 16 William Hubbs gentoo-dev 2010-08-05 21:15:54 UTC
(In reply to comment #15)
> And 5.2.7 is needed, 5.2.6 still has the bug.

5.2.6 was removed from the tree.

The very earliest we can stabilize will be when a new release of baselayout-1 with a fix for bug #262097 goes stable or when baselayout-2 or openrc goes stable (bug #295613).
Comment 17 Jeremy Murphy 2010-08-27 00:11:27 UTC
Looks like kernel security trumps everything, so I guess this bug can be closed now.
Comment 18 Jeremy Murphy 2010-08-27 13:17:34 UTC
Actually I rushed in a bit quickly with that comment, 5.2.7 has so far only been made stable for x86 and hppa.
Comment 19 Andrew Brouwers 2010-08-27 13:30:41 UTC
(In reply to comment #18)
> Actually I rushed in a bit quickly with that comment, 5.2.7 has so far only
> been made stable for x86 and hppa.
> 

The rest will come once they get the kernel marked.
Should I close it as dupe (or fixed) ?
Comment 20 Jeroen Roovers (RETIRED) gentoo-dev 2010-10-21 18:27:52 UTC
@William: I think this is what we want now, even though 5.2.8 is out? We really need this for the blocked bug, I think.

@everyoneelse: Please refrain from fiddling with this bug and let the package maintainers make official changes. Keep comments to a minimum too.
Comment 21 William Hubbs gentoo-dev 2010-10-22 19:41:53 UTC
Jeroen,

I'm not sure what you mean by "this", but I believe you are referring to the summary requesting > 5.2.7 stabilization.

I would say that's what we need.  Also, I think we need to wait
 for > gentoo-sources-2.6.35.

Am I understanding you correctly?
Comment 22 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-10-22 19:53:33 UTC
(In reply to comment #21)
> Jeroen,
> 
> I'm not sure what you mean by "this", but I believe you are referring to the
> summary requesting > 5.2.7 stabilization.
> 
> I would say that's what we need.  Also, I think we need to wait
>  for > gentoo-sources-2.6.35.
> 
> Am I understanding you correctly?

And a new version of bl1 to go stable (comment #16). I'm not sure which version, though. So, we are at the point where gentoo-sources-2.6.35, dhcpcd-5.2.7 and some version of baselayout-1 need to be stablized together.
Comment 23 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-11-03 01:05:22 UTC
(In reply to comment #16)

> The very earliest we can stabilize will be when a new release of baselayout-1
> with a fix for bug #262097 goes stable or when baselayout-2 or openrc goes
> stable (bug #295613).
> 

So, bug 295613 or bug 343925. I just made this one depend on 343925 now. I *guess* people can move on with >dhcpcd-5.2.7 after doing bug 343925.

William: You explicitly ACK to get this bug moving again...
Comment 24 William Hubbs gentoo-dev 2010-11-09 20:38:11 UTC
Arch teams,

this must be stabilized simultaneously with
>=sys-kernel/gentoo-sources-2.6.35 and bug 343925.

It is a few days early for 5.2.8, but I do not see that as an issue since there are no bugs.
Comment 25 Agostino Sarubbo gentoo-dev 2010-11-09 21:01:18 UTC
since, on amd64, baselayout-1.12.14-r1 was stabilized, I proceeded to test dhcpcd and that seems have not problems. Amd64 ok.
Comment 26 Agostino Sarubbo gentoo-dev 2010-11-09 21:44:42 UTC
(In reply to comment #25)
> since, on amd64, baselayout-1.12.14-r1 was stabilized, I proceeded to test
> dhcpcd and that seems have not problems. Amd64 ok.
> 

tested with gentoo-sources-.35-r12 and git-sources-.37-rc1
Comment 27 Michael Weber (RETIRED) gentoo-dev 2010-11-11 10:18:56 UTC
works on arm, but need to check bug 334341 first
Comment 28 Jeremy Murphy 2010-11-21 11:37:26 UTC
5.2.8 is fine on x86.

Maybe the dependency on #343925 (OpenRC) can be removed since baselayout is fixed?

It was mentioned in comment #24 that this needs to be stabilized simultaneously with 2.6.35, but why can't we stabilize earlier?
Comment 29 William Hubbs gentoo-dev 2010-11-21 18:14:29 UTC
(In reply to comment #28)
> Maybe the dependency on #343925 (OpenRC) can be removed since baselayout is
> fixed?

I think you mean the dependency on bug #295613.  I don't really want to remove it until the new baselayout-1 is stabilized everywhere and that bug is closed.

> It was mentioned in comment #24 that this needs to be stabilized simultaneously
> with 2.6.35, but why can't we stabilize earlier?

We can't stabilize earlier because of bug #331087.


Comment 30 Christian Faulhammer (RETIRED) gentoo-dev 2010-11-23 23:31:22 UTC
x86 takes the lead...the brave architecture in your neighbourhood.
Comment 31 Jeroen Roovers (RETIRED) gentoo-dev 2010-11-24 15:00:10 UTC
Stable for HPPA.
Comment 32 Henno Schooljan 2010-11-24 16:22:54 UTC
On x86 I get this error with the new dhcpcd whenever service dependencies are cached:

 * Caching service dependencies ...
 *  Cannot add provide 'net', as a service with the same name exists!                                                                                     [ ok ]

Commenting out the "provide net" line in the /etc/init.d/dhcpcd file removed the error, but I'm not sure if this is a good idea.
Everything seems to work ok though, despite this error.
Comment 33 Alex Buell 2010-11-26 10:58:45 UTC
Tested on SPARC, still sets its hostname FQDN correctly, so I guess it's good to go. 
Comment 34 Faustus 2010-11-28 11:26:54 UTC
(In reply to comment #32)

Same here (x86):
 *  Cannot add provide 'net', as a service with the same name exists!                     [ ok ]
Comment 35 Tobias Klausmann (RETIRED) gentoo-dev 2010-12-15 19:12:42 UTC
Stable on alpha.
Comment 36 Markus Meier gentoo-dev 2010-12-15 22:01:43 UTC
arm stable
Comment 37 Markos Chandras (RETIRED) gentoo-dev 2010-12-20 12:32:02 UTC
amd64 done. Thanks Agostino
Comment 38 Jordan 2010-12-21 03:42:33 UTC
This new version prevents my laptop from connecting to my network and takes a very long time to start up. I compiled dhcpcd-4.0.15 and both issues were resolved.
Comment 39 William Hubbs gentoo-dev 2010-12-21 04:07:22 UTC
(In reply to comment #38)
> This new version prevents my laptop from connecting to my network and takes a
> very long time to start up. I compiled dhcpcd-4.0.15 and both issues were
> resolved.

I'm guessing you are running a linux kernel earlier than 2.6.35. If that is the case, upgrade your kernel to 2.6.35 or newer then try this again.
Comment 40 Jordan 2010-12-21 13:49:16 UTC
(In reply to comment #39)
> (In reply to comment #38)
> > This new version prevents my laptop from connecting to my network and takes a
> > very long time to start up. I compiled dhcpcd-4.0.15 and both issues were
> > resolved.
> 
> I'm guessing you are running a linux kernel earlier than 2.6.35. If that is the
> case, upgrade your kernel to 2.6.35 or newer then try this again.
> 

No, I am running zen-sources-2.6.36-zen1
Comment 41 William Hubbs gentoo-dev 2010-12-21 14:14:12 UTC
(In reply to comment #40)
> No, I am running zen-sources-2.6.36-zen1

In that case, please open a separate bug for your issue. This bug is a stabilization request only.

Thanks,

William
Comment 42 William Hubbs gentoo-dev 2010-12-21 15:09:07 UTC
(In reply to comment #32)
> On x86 I get this error with the new dhcpcd whenever service dependencies are
> cached:
>  * Caching service dependencies ...
>  *  Cannot add provide 'net', as a service with the same name exists!          
>                                                                           [ ok
> ]
> Commenting out the "provide net" line in the /etc/init.d/dhcpcd file removed
> the error, but I'm not sure if this is a good idea.
> Everything seems to work ok though, despite this error.

I've never seen this error with openrc, so it is an issue with baselayout-1 and how it handles dependencies.

You should be fine running dhcpcd from the net.* scripts, which is how it is supposed to be run with baselayout-1.
Comment 43 Peter Karlsson 2010-12-23 12:58:37 UTC
(In reply to comment #38)
> This new version prevents my laptop from connecting to my network and takes a
> very long time to start up. I compiled dhcpcd-4.0.15 and both issues were
> resolved.
> 

I think I have the same issue as you. Added a bug here: https://bugs.gentoo.org/show_bug.cgi?id=349486
Comment 44 Raúl Porcel (RETIRED) gentoo-dev 2010-12-26 17:10:03 UTC
ia64/s390/sh/sparc stable
Comment 45 Brent Baude (RETIRED) gentoo-dev 2010-12-28 15:39:10 UTC
ppc64 stable
Comment 46 Faustus 2011-01-18 17:33:53 UTC
(In reply to comment #42)
> I've never seen this error with openrc, so it is an issue with baselayout-1 and how it handles dependencies.
> 
> You should be fine running dhcpcd from the net.* scripts, which is how it is
> supposed to be run with baselayout-1.

So perhaps "provide net" should be removed from /etc/init.d/dhcpcd on baselayout-1? Or removed altogether - does it serve any purpose on baselayout-2?

This message is really annoying - it appears on each depscan update.
Comment 47 William Hubbs gentoo-dev 2011-01-19 04:36:09 UTC
(In reply to comment #46)
> (In reply to comment #42)
> > I've never seen this error with openrc, so it is an issue with baselayout-1 and how it handles dependencies.
> > 
> > You should be fine running dhcpcd from the net.* scripts, which is how it is
> > supposed to be run with baselayout-1.
> So perhaps "provide net" should be removed from /etc/init.d/dhcpcd on
> baselayout-1? Or removed altogether - does it serve any purpose on
> baselayout-2?
> This message is really annoying - it appears on each depscan update.

The bug for this is bug #346805. This is an issue in baselayout-1. For some reason, it doesn't like having more than one init script present that provides net.

I can't remove the 'provide net' line from dhcpcd's init script, because it can be run standalone (without the net scripts at all) to control all of the network interfaces on a system.
Comment 48 William Hubbs gentoo-dev 2011-01-19 16:11:11 UTC
ppc team,

what is your status wrt stabilizing this?

Thanks,

William

Comment 49 Michael Weber (RETIRED) gentoo-dev 2011-03-24 09:20:38 UTC
ppc stabled this, but forgot to remove itself from CC, removing+closing

  28 Feb 2011; Brent Baude <ranger@gentoo.org> dhcpcd-5.2.10-r2.ebuild:
  stable ppc, bug 355279

I remove bug 295613 from the dep list, to enable reso/fix. This dep was ignored by all.