Your message dated Sat, 3 Jun 2006 16:07:56 +0200
with message-id <[EMAIL PROTECTED]>
and subject line udev creates /dev/net/tun (bug was fixed ages ago)
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: uml-utilities
Version: 20040114-1
Severity: minor

  I've been experimenting with udev, and discovered that it seems to move
the tunnel device from /dev/net/tun to /dev/tun, causing the creation of a
tap device to fail when ifupdown is being used.  I fixed this by modifying
/etc/network/if-pre-up.d/uml-utilities as follows:

=============
test -x /usr/sbin/tunctl || exit 0
test -n "${IF_TUNCTL_USER}" || exit 0

modprobe tun

/usr/sbin/tunctl -u "${IF_TUNCTL_USER}" -t "${IFACE}" -f /dev/tun

#
# why the hell does this need to be done?
#
chown root:uml-net /dev/tun
chmod 660 /dev/tun
==============

  Probably a general solution would do something like this at the top:

test -c /dev/net/tun && TUN_DEV=/dev/net/tun || TUN_DEV=/dev/tun

  and then use TUN_DEV everywhere.

  Daniel

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.5
Locale: LANG=en_US, LC_CTYPE=en_US (ignored: LC_ALL set to en_US)

Versions of packages uml-utilities depends on:
ii  adduser                     3.52         Add and remove users and groups
ii  libc6                       2.3.2.ds1-11 GNU C Library: Shared libraries an
ii  libncurses5                 5.4-3        Shared libraries for terminal hand
ii  libreadline4                4.3-10       GNU readline and history libraries
ii  makedev                     2.3.1-66     Creates device files in /dev

-- no debconf information


--- End Message ---
--- Begin Message ---
Hello,
as reported on Nov 16th 2004 it seems this bug was gone some time ago.
Udev creates /dev/net/tun nowadays:
# ls /dev/net/tun
ls: /dev/net/tun: No such file or directory
# modprobe tun
# ls /dev/net/tun
/dev/net/tun

bye
-- 
mattia
:wq!

--- End Message ---

Reply via email to