Bug 51467 - vtun doesn't work with 2.6 without a devfsd.conf patch
Bug#: 51467 Product:  Gentoo Linux Version: 2004.0 Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: base-system@gentoo.org Reported By: stevenwagner@gmail.com
Component: Core system
URL: 
Summary: vtun doesn't work with 2.6 without a devfsd.conf patch
Keywords:  
Status Whiteboard: 
Opened: 2004-05-19 09:17 0000
Description:   Opened: 2004-05-19 09:17 0000
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 From Greg Kroah-Hartman 2004-06-21 13:59:35 0000 -------
devfsd bug, not a kernel bug.

------- Comment #2 From Steven Wagner 2004-08-20 15:34:00 0000 -------
btw...  MKOLDCOMPAT is already turned on in our devfsd.conf

------- Comment #3 From SpanKY 2005-02-11 17:06:04 0000 -------
added to cvs, sorry for the delay !