Bug 237055

Summary: qemu can't generate the tap device with recent kernels
Product: [Fedora] Fedora Reporter: David G. Mackay <mackay_d>
Component: qemuAssignee: Ric Wheeler <rwheeler>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: hdegoede
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-06-11 06:10:13 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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