Please make qemu-bridge-helper suid as suggested in the qemu docs

Bug #1882420 reported by Wren Turkal
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qemu (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

The script at /usr/lib/qemu/qemu-bridge-helper is supposed to be suid root. I think it would also be useful to have a /etc/qemu/bridge.conf.

Bridge.conf should probably contain a commented example.

Or may even better would be to create a default virbr0 bridge and just add that to the bridge.conf. Maybe use IPs from one of the test nets for ipv4 and something appropriate from ipv6 private space. Here's an RFC that lists all the reserved private nets. https://tools.ietf.org/html/rfc6890

For more info on the qemu stuff, please see https://wiki.qemu.org/Features/HelperNetworking.

Paride Legovini (paride)
no longer affects: debian
Revision history for this message
Paride Legovini (paride) wrote :

Hi Wren,

Not setting the suid bit on qemu-bridge-helper is a deliberate choice due to the security concerns outlined in [1], see also the Ubuntu changelog entry for version 2.1+dfsg-3 of qemu.

On setting up a default bridge: I don't think it's something the qemu package should do, as things like networking are normally manager by higher level tools (e.g. libvirt), and there's not way to add a default that fits a broad enough set of cases without interfering with the existing setups.

I think this is a "Won't Fix" bug, but I'm setting it to Incomplete for the moment, to leave it open to further discussion, if needed. If you do not agree please change the bug status back to New after commenting back and we'll look at it again; if you do agree please change the status to Won't Fix.

Thanks!

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691138

Changed in qemu (Ubuntu):
status: New → Incomplete
Revision history for this message
Nikos Mavrogiannopoulos (nmavrogiannopoulos) wrote :

What can be a solution for that? Without making it root suid (which is a good thing) applications like gnome-boxes fail in an ungraceful way that is very hard to understand.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.