Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 383763

Summary: net-dns/openresolv - invaliid rundir configuration
Product: Gentoo Linux Reporter: Alon Bar-Lev <alon.barlev>
Component: New packagesAssignee: Jim Ramsay (lack) (RETIRED) <lack>
Status: RESOLVED FIXED    
Severity: major CC: lack
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 366535    
Attachments: openresolv-3.4.1.ebuild.diff

Description Alon Bar-Lev 2011-09-20 05:58:31 UTC
Just found out why after boot sometime computer has no valid dns.

The openresolv is configured to store interface information at /var/lib/run and not at /var/run. So interface data is not cleaned after boot.

This is caused as --rundir defaults to --localstatedir while econf (correctly) pass /var/lib to --localstatedir.

To fix simply use --rundir=/var/run at econf.
Comment 1 Alon Bar-Lev 2011-09-20 06:01:33 UTC
Created attachment 287111 [details, diff]
openresolv-3.4.1.ebuild.diff
Comment 2 Alon Bar-Lev 2011-09-21 18:54:45 UTC
What happened to "Gentoo Linux bug wranglers"?
Comment 3 Mike Gilbert gentoo-dev 2011-09-24 15:57:43 UTC
(In reply to comment #2)

We have lives too. :)
Comment 4 Alon Bar-Lev 2011-10-11 18:12:08 UTC
PLEASE?
This is trival bug and trivial solution.
Comment 5 Alon Bar-Lev 2011-10-22 18:52:03 UTC
lack?
Comment 6 Alon Bar-Lev 2011-11-15 22:58:14 UTC
flameyes, can you please look into this?
It affect almost anyone.
Thanks!
Comment 7 Alon Bar-Lev 2011-11-23 17:58:35 UTC
Is openresolv is unmaintained?
Comment 8 Jim Ramsay (lack) (RETIRED) gentoo-dev 2012-06-27 17:24:49 UTC
Sorry for the long delay - I don't use openresolv any more and have fallen behind on my bug queue (life gets in the way, you know!)

Fixed in revbump.

Please keep bugging me in the future if there are more issues you need fixed.  I can't promise I'll be fast, but I can promise I'll eventually address things :)