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

Bug 200433

Summary: net-dns/resolvconf-gentoo does not recreate resolv.conf file after uninstall
Product: Gentoo Linux Reporter: Robert Piasek (RETIRED) <dagger>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 201853    
Bug Blocks:    

Description Robert Piasek (RETIRED) gentoo-dev 2007-11-26 19:27:57 UTC
I've installed resolvconf-gentoo played with it for a while and removed it. Next time I rebooted bootmisc reported an error and stopped system boot. After investigating I found out that I still have /etc/resolv.conf link pointing to /etc/resolvconf/run/ folder which doesn't exist any more. That way bootmisc cheching with -f for /etc/resolv.conf haven't found anything and was unable to touch /etc/resolv.conf. Personally I think boomisc should receive an extra line which would check if resolv.conf is symbolic link and if yes should check if file actually exists. If not standard rm && touch would do.


Reproducible: Always
Comment 1 Roy Marples (RETIRED) gentoo-dev 2007-12-10 14:00:45 UTC
Ebuild on bug #201853 fixes this.
Comment 2 Robert Piasek (RETIRED) gentoo-dev 2007-12-18 11:41:00 UTC
great stuff Roy.
Comment 3 Peter Weller (RETIRED) gentoo-dev 2007-12-31 14:40:59 UTC
openresolv-1.1 in tree, marking as fixed.