Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383763 - net-dns/openresolv - invaliid rundir configuration
Summary: net-dns/openresolv - invaliid rundir configuration
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Jim Ramsay (lack) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 366535
  Show dependency tree
 
Reported: 2011-09-20 05:58 UTC by Alon Bar-Lev
Modified: 2012-06-27 17:24 UTC (History)
1 user (show)

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


Attachments
openresolv-3.4.1.ebuild.diff (openresolv-3.4.1.ebuild.diff,264 bytes, patch)
2011-09-20 06:01 UTC, Alon Bar-Lev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 :)