flathub / flathub/org.virt_manager.virt-manager

Permission needed to create network?

Open
#108 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
14
Forks
7
PR merge metrics
No merged PRs in 30d

Description

I installed virt-manager + the QEMU add-on via flathub.

When trying to create a new network, I got "operation not permitted":

Image

```
Error creating virtual network: error creating bridge interface virbr0: Operation not permitted

Traceback (most recent call last):
File "/app/share/virt-manager/virtManager/asyncjob.py", line 67, in cb_wrapper
callback(asyncjob, *args, **kwargs)
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/share/virt-manager/virtManager/createnet.py", line 427, in _async_net_create
netobj.create()
~~~~~~~~~~~~~^^
File "/app/lib/python3.13/site-packages/libvirt.py", line 3623, in create
raise libvirtError('virNetworkCreate() failed')
libvirt.libvirtError: error creating bridge interface virbr0: Operation not permitted
```

I think this is because the add-on would use a user session, right? Is there a way for the flathub version of qemu/virtmanager to use system session instead?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the network-creation failure in the Flathub package and inspect the Flatpak permissions and libvirt session used. The traceback points to virtManager/createnet.py and virtManager/asyncjob.py; done means confirming whether system-session access is supported and documenting the required configuration or limitation.

Written by the indexing model from the issue text.

Assessment

Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.