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

Bug 28464

Summary: vtun device numbers aren't in devfs
Product: Gentoo Linux Reporter: David Bryson (RETIRED) <mutex>
Component: [OLD] Core systemAssignee: Martin Schlemmer (RETIRED) <azarah>
Status: RESOLVED WONTFIX    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description David Bryson (RETIRED) gentoo-dev 2003-09-11 11:46:19 UTC
So, I'm not a pro at devfs, but the default devfs features don't seem to be
configured for tun devices very well.
It seems that vtun expects /dev/net/tunXX where XX is a number.  However, it
appears as though when you load the tun module, only /dev/net/tun is created.
Vtun's config file expects tun devices with number on the end, and sometimes
refuses to run unless a symling from tun -> tun0 is created.
It would be nice if devfs figured this out and created tun devices on its own.
Unfortunately I don't know much about devfs, but if I have time, I will look
into it.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-09-14 08:18:07 UTC
This is actually a kernel issue if you ask me.

----------------add to devfsd.conf---------------------
REGISTER        ^net/tun$     CFUNCTION GLOBAL mksymlink $devname net/tun0
UNREGISTER      ^net/tun$     CFUNCTION GLOBAL unlink tun0