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

Bug 51467

Summary: vtun doesn't work with 2.6 without a devfsd.conf patch
Product: Gentoo Linux Reporter: Steven Wagner <stevenwagner>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2004.0   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Steven Wagner 2004-05-19 09:17:15 UTC
I couldn't get vtund to work with 2.6 at all.  Error in /var/log/messages said unable to load tun device.  I found a broken link in my /dev, and then found the exact solution in the debian mailing lists.  http://lists.debian.org/debian-user-danish/2003/09/msg00027.html

The solution is to add this block to the /etc/devfsd.conf:

# Create compatibility link for broken misc/net/tun driver (must uncomment the
# MKOLDCOMPAT for misc above if you want to use this)
REGISTER        ^misc/net/tun$  CFUNCTION GLOBAL unlink   net/tun
REGISTER        ^misc/net/tun$  CFUNCTION GLOBAL symlink  /dev/$devname net/tun
Comment 1 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-06-21 13:59:35 UTC
devfsd bug, not a kernel bug.
Comment 2 Steven Wagner 2004-08-20 15:34:00 UTC
btw...  MKOLDCOMPAT is already turned on in our devfsd.conf
Comment 3 SpanKY gentoo-dev 2005-02-11 17:06:04 UTC
added to cvs, sorry for the delay !