Your message dated Thu, 15 Mar 2007 19:21:56 +0100 with message-id <20070315182156.GA20455@wavehammer.waldi.eu.org> and subject line Bug#404794: linux-image-2.6.18-3-686: Pb while trying ioctl on /dev/net/tun (module tun) 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 ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: linux-image-2.6.18-3-686: Pb while trying ioctl on /dev/net/tun (module tun)
- From: Xavier <x.guimard@free.fr>
- Date: Thu, 28 Dec 2006 10:55:15 +0100
- Message-id: <20061228095515.814.62200.reportbug@localhost.localdomain>
Package: linux-image-2.6.18-3-686 Version: 2.6.18-7 Severity: important I'm using qemu (debian version). When I launch it, it does not work and returns: warning: could not configure /dev/net/tun: no virtual network emulation Could not initialize device 'tap' With strace, I've the following error: 431 open("/dev/net/tun", O_RDWR|O_LARGEFILE) = 3 431 ioctl(3, TUNSETIFF, 0xbfd0afc0) = -1 EPERM (Operation not permitted) But it works with linux-image-2.6.17-2-686. Thanks, Xavier -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-3-686 Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15) Versions of packages linux-image-2.6.18-3-686 depends on: ii coreutils 5.97-5 The GNU core utilities ii debconf [debconf-2.0] 1.5.11 Debian configuration management sy ii initramfs-tools [linux-initra 0.85e tools for generating an initramfs ii module-init-tools 3.3-pre3-1 tools for managing Linux kernel mo Versions of packages linux-image-2.6.18-3-686 recommends: pn libc6-i686 <none> (no description available) -- debconf information excluded .
--- End Message ---
--- Begin Message ---
- To: 404794-done@bugs.debian.org
- Subject: Re: Bug#404794: linux-image-2.6.18-3-686: Pb while trying ioctl on /dev/net/tun (module tun)
- From: Bastian Blank <waldi@debian.org>
- Date: Thu, 15 Mar 2007 19:21:56 +0100
- Message-id: <20070315182156.GA20455@wavehammer.waldi.eu.org>
- In-reply-to: <20061228095515.814.62200.reportbug@localhost.localdomain>
- References: <20061228095515.814.62200.reportbug@localhost.localdomain>
On Thu, Dec 28, 2006 at 10:55:15AM +0100, Xavier wrote: > I'm using qemu (debian version). When I launch it, it does not work and returns: > > warning: could not configure /dev/net/tun: no virtual network emulation > Could not initialize device 'tap' > > With strace, I've the following error: > > 431 open("/dev/net/tun", O_RDWR|O_LARGEFILE) = 3 > 431 ioctl(3, TUNSETIFF, 0xbfd0afc0) = -1 EPERM (Operation not permitted) > > But it works with linux-image-2.6.17-2-686. This is not a bug. For security reasons, only root (to be exact: CAP_NET_ADMIN) can generate new tun devices since .18. This will not change, userspace have to acquire this policy. Bastian -- Beam me up, Scotty, there's no intelligent life down here!Attachment: signature.asc
Description: Digital signature
--- End Message ---