Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55303 - udev / hotplug does not handle /dev/net/tun
Summary: udev / hotplug does not handle /dev/net/tun
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-27 01:23 UTC by Martin Wegner
Modified: 2005-08-16 11:58 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 Martin Wegner 2004-06-27 01:23:45 UTC
I've activated

Device Drivers  --->
 Networking support  --->
  <*>   Universal TUN/TAP device driver support

im my 2.6.7 kernel. When udev starts after the kernel it says "add event not handled". When I add the output of $INTERFACE in /etc/hotplug/net.agent where "add event not handled" occurs, I see "add /dev/net/tun event not handled" when booting. It is obvious why this is not handled since the cases in net.agent only handle tun* but not /dev/net/tun . So I guess there should be no path /dev/net/ in /dev/net/tun .
This seems to have no appreciable effect on using openvpn, for example.

Reproducible: Always
Steps to Reproduce:
1. Activate "Universal TUN/TAP device driver support" in kernel config
2. Compile kernel, ...
3. Reboot
Actual Results:  
Message "add event not handled"

Expected Results:  
No message

# emerge info
Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7)
=================================================================
System uname: 2.6.7 i686 AMD Duron(tm)
Gentoo Base System version 1.4.16
distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi alsa apache2 apm avi berkdb bonobo cdr clamav crypt cups
dedicated doc dvd encode esd fbcon foomaticdb freetype gd gdbm gif gnome gpm gtk
gtk2 imagemagick imlib java jpeg libg++ libwww mad mikmod mmx motif mpeg mysql
ncurses net nls oggvorbis opengl oss pam pdflib perl png python quicktime radeon
readline ruby samba sdl slang spell sse ssl tcltk tcpd tetex truetype usb videos
x86 xml2 xmms xv zlib"
Comment 1 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-06-30 16:49:51 UTC
Who prints out that message?  The hotplug system?

This is to be expected, the network startup should not handle the tun device.

I don't see the problem here.
Comment 2 Martin Wegner 2004-07-01 01:47:03 UTC
I just thought since something seems to be missing ("add event not handled") that I should report it. If it's expected, ok ...
Comment 3 Greg Kroah-Hartman (RETIRED) gentoo-dev 2005-08-16 11:58:58 UTC
Closed.