Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28464 - vtun device numbers aren't in devfs
Summary: vtun device numbers aren't in devfs
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-11 11:46 UTC by David Bryson (RETIRED)
Modified: 2003-09-14 08:18 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 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