Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 237055 - qemu can't generate the tap device with recent kernels
qemu can't generate the tap device with recent kernels
Product: Fedora
Classification: Fedora
Component: qemu (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Ric Wheeler
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-04-18 23:37 EDT by David G. Mackay
Modified: 2008-06-11 06:10 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-06-11 06:10:13 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David G. Mackay 2007-04-18 23:37:35 EDT
Description of problem:
With kernels >= 2.6.18, creation of the tap device requires CAP_NET_ADMIN
capability.  As a result, qemu can't create the tap device.  

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
One workaround is to use tunctl from the User Mode Linux uml_utils available via
http://user-mode-linux.sourceforge.net/dl-sf.html.  The Copyright statement in
the spec file needs to be changed to License.  After that, an rpmbuild generates
an rpm.  It would be nice to have that in extras.
Comment 1 Bug Zapper 2008-05-13 22:47:09 EDT
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
Comment 3 Daniel Berrange 2008-06-11 06:10:13 EDT
QEMU requires root to create TAP devices. This is expected behaviour.

Use VDE or one of the non-TAP based networking options if running as non-root

Note You need to log in before you can comment on or make changes to this bug.