Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 185888
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Steev Klimaszewski <steev@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Kenneth Perry <thothonegan@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 185888 depends on: Show dependency tree
Bug 185888 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-07-19 18:02 0000
When i upgraded to dhcp-3.1.0_rc2, networkmanager stoped resolving IPs. dhcdbd
was triggering dhclient to get an IP, but dhclient wasn't answering back. This
was provided by a patch with an -x option, but according to the ebuild for
dhcp-3.1.0_rc2 the newest dhcpcd has its own -x which conflicts.

Right now im just staying with dhcp-3.0.6 which works with the patch.

------- Comment #1 From Cosimo Cecchi 2007-07-20 14:08:13 0000 -------
I can confirm this happens also on my box (~x86).

------- Comment #2 From comio 2007-07-20 14:28:22 0000 -------
same problem here on amd64 arch.

using dhclient directly, the net-if obtains the ip from the dhcp server.

:S

------- Comment #3 From Kenneth Perry 2007-07-20 14:54:45 0000 -------
Oops, forgot to say : i'm on ~amd64 too.

------- Comment #4 From Ben 2007-07-21 02:03:19 0000 -------
I can confirm this bug using NM 0.6.5 an dhcp-3.1.0 on ~x86.
Reverting back to dhcp-3.0.6 worked like a charm. 

------- Comment #5 From Steev Klimaszewski 2007-07-21 02:11:10 0000 -------
Yes, Uberlord alerted me of the issue before the bug was filed, already
discussing the issue with upstream.

------- Comment #6 From Luis Medinas (RETIRED) 2007-07-23 03:43:08 0000 -------
url with the bug upstream added.

Uberlord can we mask dhcp-3.1 for a bit ?

------- Comment #7 From Roy Marples (RETIRED) 2007-07-23 06:39:07 0000 -------
I'm loath to package.mask it as 3.1 contains a lot of fixes to the dhcp server
part of it.

Maybe we could rename the NetworkManager option to -X instead?

------- Comment #8 From Roy Marples (RETIRED) 2007-07-23 10:07:45 0000 -------
just depend on the versions of <net-misc/dhcp-3.1.0 in networkmanager

------- Comment #9 From Jakub Moc (RETIRED) 2007-07-23 19:07:42 0000 -------
*** Bug 186358 has been marked as a duplicate of this bug. ***

------- Comment #10 From Jonas 2007-07-23 19:13:27 0000 -------
To fix this, dhcdbd has to be compiled with the CFLAG option:
-DDHCLIENT_EXTENDED_OPTION_ENVIRONMENT=0

Add this to dhcdbd-2.8-r1.ebuild:
src_compile() {
        emake RPM_OPT_FLAGS="-DDHCLIENT_EXTENDED_OPTION_ENVIRONMENT=0 " || die
}

After this modification everything works fine again.

------- Comment #11 From Jakub Moc (RETIRED) 2007-07-29 18:46:32 0000 -------
*** Bug 187027 has been marked as a duplicate of this bug. ***

------- Comment #12 From Jakub Moc (RETIRED) 2007-08-31 14:29:20 0000 -------
*** Bug 190883 has been marked as a duplicate of this bug. ***

------- Comment #13 From Jakub Moc (RETIRED) 2007-09-01 06:16:34 0000 -------
*** Bug 190937 has been marked as a duplicate of this bug. ***

------- Comment #14 From David Carlos Manuelda 2007-09-03 00:39:42 0000 -------
HOw about putting a blocker inside networkmanager.ebuild?

Something like RDEPEND="(...) !>=dhcp-3.1.0"

------- Comment #15 From Jonas 2007-09-03 18:36:44 0000 -------
How about either bumping to dhcdbd 3.0 or apply my proposed patch?

Remark: In version 3.0 the code in the DHCLIENT_EXTENDED_OPTION_ENVIRONMENT
areas has been removed.

------- Comment #16 From Aquila 2007-09-04 06:55:06 0000 -------
What does resolved upstream mean? How will this be solved for the end user?

------- Comment #17 From Ingmar Vanhassel (RETIRED) 2007-09-04 07:39:31 0000 -------
(In reply to comment #16)
> What does resolved upstream mean? How will this be solved for the end user?
> 

It generally means that fixing this is rather non-trivial, so the gentoo devs
prefer to wait for upstream to solve this. 
Until that happens you can put >=net-misc/dhcp-3.1.0 in
/etc/portage/package.mask, if you use dhcdbd and NetworkManager.

------- Comment #18 From Jonas 2007-09-04 09:22:14 0000 -------
I would claim the issue IS solved by upstream in version 3.0 of dhcdbd and
COULD also be solved for version 2.8 of dhcdbd if compiled with
-DDHCLIENT_EXTENDED_OPTION_ENVIRONMENT=0 (which gives basically the same
result).

Are there any objections?

Please be so kind and test either options I proposed to see if it works (not
only for me).

------- Comment #19 From Xake 2007-09-04 10:02:39 0000 -------
Thank you for breaking stable.

------- Comment #20 From Steev Klimaszewski 2007-09-04 16:52:57 0000 -------
Reopening, since its now broken on stable, I am working on 3.0 but it requires
a development version of dbus so I am currently patching it using avahi as a
template, so its gonna take a bit to get 3.0 in the tree, but I will be fast
tracking it to stable.

------- Comment #21 From Steev Klimaszewski 2007-09-04 18:25:59 0000 -------
And regarding Comment #19, comments like that do absolutely nothing to help the
situation (in fact, they make it worse, as we are doing this for free - if you
want to see it get done faster, pay me to do it - I just spent 4 hours *at my
actual job* working on this to get it fixed, instead of actually making money.)
and remember that just because I am a dev, doesn't mean I am here for you - I
am here for me first and foremost, and if it works for me great, if it works
for you thats great too, but I really don't give a flying fbomb either way.  I
am doing this for me not you, and unless you pay me to care, I really don't. 
Thank you for being so understanding, also, since you are obviously clueless,
the stablization was done without letting the maintainers know - check the bug
quoted in the changelog, there is no mention of NetworkManager or dhcdbd in
there, but they were stablized because of deps.  If you can't handle Gentoo,
and "breaking stable" then perhaps you should head off to another distro rather
than waste your time and mine with stupid comments.

------- Comment #22 From Xake 2007-09-04 19:05:37 0000 -------
You mean you had nothing to do with networkmanager going stable?
Still it has been broken in ~arch since dhcp-3.1 did go there. And according to
uberlord (#190775) he told you about it months ago. Does not a change in deps
work at least waiting for a better/more suitable solution (which I have faith
in you, the devs, will provide sooner or later) and a comment about it in the
ebuild? Or have I missed something fundamental?

------- Comment #23 From Robert Buchholz 2007-09-04 23:09:32 0000 -------
(In reply to comment #22)
> You mean you had nothing to do with networkmanager going stable?

Right.

> Still it has been broken in ~arch since dhcp-3.1 did go there. And according
> to uberlord (#190775) he told you about it months ago. 

Bug severity and priority is a function of time.


> Does not a change in deps
> work at least waiting for a better/more suitable solution (which I have faith
> in you, the devs, will provide sooner or later) and a comment about it in the
> ebuild? Or have I missed something fundamental?

Yes, you missed it causing upgrade-downgrade-cycles:
  http://forums.gentoo.org/viewtopic-t-337517.html

------- Comment #24 From David Carlos Manuelda 2007-09-04 23:54:31 0000 -------
(In reply to comment #21)
> And regarding Comment #19, comments like that do absolutely nothing to help the
> situation (in fact, they make it worse, as we are doing this for free - if you
> want to see it get done faster, pay me to do it - I just spent 4 hours *at my
> actual job* working on this to get it fixed, instead of actually making money.)
> and remember that just because I am a dev, doesn't mean I am here for you - I
> am here for me first and foremost, and if it works for me great, if it works
> for you thats great too, but I really don't give a flying fbomb either way.  I
> am doing this for me not you, and unless you pay me to care, I really don't. 
> Thank you for being so understanding, also, since you are obviously clueless,
> the stablization was done without letting the maintainers know - check the bug
> quoted in the changelog, there is no mention of NetworkManager or dhcdbd in
> there, but they were stablized because of deps.  If you can't handle Gentoo,
> and "breaking stable" then perhaps you should head off to another distro rather
> than waste your time and mine with stupid comments.
> 
This is the first time I speak in a matter of this kind, but I need to say
something.

Steev, you are right, you are a dev and you don't make money with this, but I
don't think you are here just for yourself (I am a dev too :) ), please calm
down and just ignore those newbies.

On the other hand, as a user, I want to say to Peter Hjalmarsson something:
Please, don't blame anyone, a linux distro is powered by developers all arround
the world and people who provide "feedback" opening bugs, requesting
interesting things, etc... and users should never blame on any product, because
you even didn't pay anything for what you have anyways...

To sum up, if you don't have anything to contribute to an open project, just
don't say anything, specially when talking to devs :)

------- Comment #25 From Steev Klimaszewski 2007-09-05 03:06:52 0000 -------
dhcdbd 3.0 is now in the tree, this can be considered fixed, I've opened
another bug for stablizing it.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug