Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159450 - mark net-dns/resolvconf-gentoo-1.2 stable
Summary: mark net-dns/resolvconf-gentoo-1.2 stable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: MIPS Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-30 01:31 UTC by Roy Marples (RETIRED)
Modified: 2007-05-19 17:20 UTC (History)
0 users

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 Roy Marples (RETIRED) gentoo-dev 2006-12-30 01:31:58 UTC
kthxbye
Comment 1 Roy Marples (RETIRED) gentoo-dev 2006-12-30 02:59:10 UTC
Opps, forgot to add the arches. My bad.
Comment 2 Bryan Østergaard (RETIRED) gentoo-dev 2006-12-30 07:18:35 UTC
Stable on Alpha.
Comment 3 Andrej Kacian (RETIRED) gentoo-dev 2006-12-30 07:25:48 UTC
x86 done
Comment 4 Timothy Redaelli (RETIRED) gentoo-dev 2006-12-30 14:17:06 UTC
ppc done
Comment 5 Tom Gall (RETIRED) gentoo-dev 2006-12-30 21:29:39 UTC
stable on ppc64, but given the way resolvconf works and that it isn't documented in the 2006.1 handbook I wonder if this package shouldn't be masked on releases prior to 2007.0.

Not a fun surprise for the average bear when their resolv.conf file disppears on them. :-)
Comment 6 Roy Marples (RETIRED) gentoo-dev 2006-12-31 02:12:31 UTC
(In reply to comment #5)
> stable on ppc64, but given the way resolvconf works and that it isn't
> documented in the 2006.1 handbook I wonder if this package shouldn't be masked
> on releases prior to 2007.0.
> 
> Not a fun surprise for the average bear when their resolv.conf file disppears
> on them. :-)

/etc/resolv.conf should never disappear with resolvconf
And, resolvconf only updates it when requested. What exact issue are you trying to describe here?

Comment 7 Gustavo Zacarias (RETIRED) gentoo-dev 2007-01-02 05:08:50 UTC
sparc stable.
Comment 8 Bryan Østergaard (RETIRED) gentoo-dev 2007-01-04 12:04:27 UTC
IA64 stable.
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2007-01-08 14:19:51 UTC
Stable for HPPA.
Comment 10 Antti Mäkelä 2007-01-26 13:18:25 UTC
(In reply to comment #6)
> /etc/resolv.conf should never disappear with resolvconf
> And, resolvconf only updates it when requested. What exact issue are you trying
> to describe here?

  For me - after a hard crash when using Cisco's VPN client, my resolv.conf vanished and it hasn't been regenerated ever since. I haven't had time to see how to fix this yet, anyway:

# pwd
/etc
ls -l resolv*

resolvconf:
total 0
drwxr-xr-x 2 root root  6 Apr 10  2006 resolv.conf.d
lrwxrwxrwx 1 root root 24 Jan  1 20:16 run -> ../../var/run/resolvconf
drwxr-xr-x 2 root root  6 Apr 10  2006 update-libc.d
drwxr-xr-x 2 root root 17 Jan  1 20:20 update.d

Running resolvconf -u does not restore the resolv.conf. Right now I have manually generated resolv.conf. If I bring interface down and back up my manual resolv.conf vanishes again. 

I suppose I should just put resolv.conf symlink back and problem would be solved but it bothers me why resolvconf does not regenerate it automatically.

More information: The stuff at /var/run/resolvconf seems fine - ./interfaces/wlan contains the correct servers learned via DHCP. If I copy this file to /etc/resolv.conf everything works for a while.

# pwd
/var/run/resolvconf

# ls -R -l
.:
total 4
-rw-r--r-- 1 root root  5 Jan 26 15:13 added_order
drwxr-xr-x 2 root root 17 Jan 26 15:13 interfaces

./interfaces:
total 4
-rw-r--r-- 1 root root 113 Jan 26 15:13 wlan
Comment 11 Antti Mäkelä 2007-01-26 13:21:23 UTC
Ok - now that I've actually looked at the code at /etc/resolvconf/update.d/libc, it contains at the very beginning

[[ $(readlink /etc/resolv.conf 2>/dev/null) \
        != "resolvconf/run/resolv.conf" ]] && exit 0

So if some misbehaving thing that is not using resolvconf screws things up withour properly restoring the previous state (such as a hard-crashing VPN client - so it does not restore the symlink), resolvconf breaks.

How about some new rc-parameter, FORCE_RESOLVCONF_SYMLINK or something...?
Comment 12 Roy Marples (RETIRED) gentoo-dev 2007-01-27 12:19:35 UTC
(In reply to comment #11)
> How about some new rc-parameter, FORCE_RESOLVCONF_SYMLINK or something...?

Possibly.

However, that should not affect 1.2 from being marked stable as it's not a regression. You should open a new bug requesting this enchancement.
Comment 13 Steve Dibb (RETIRED) gentoo-dev 2007-01-30 05:49:29 UTC
amd64 stable
Comment 14 Joshua Kinard gentoo-dev 2007-05-19 17:20:57 UTC
mips stable.