Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51467 - vtun doesn't work with 2.6 without a devfsd.conf patch
Summary: vtun doesn't work with 2.6 without a devfsd.conf patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-19 09:17 UTC by Steven Wagner
Modified: 2005-02-11 17:06 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 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 !