Skip to content

Commit 928d65b

Browse files
committed
Merge pull request #3871 from canonical/fix_qemu_native_mount_regression
Fix the snap qemu native mount regression
1 parent dd96f28 commit 928d65b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/platform/backends/qemu/qemu_vm_process_spec.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@ profile %1 flags=(attach_disconnected) {
123123
capability setgid,
124124
capability setuid,
125125
126+
# for bridge helper
127+
capability net_admin,
128+
capability net_raw,
129+
126130
network inet stream,
127131
network inet6 stream,
128132
@@ -154,7 +158,7 @@ profile %1 flags=(attach_disconnected) {
154158
/{usr/,}bin/cat rmix,
155159
156160
# to execute bridge helper
157-
%4/bin/bridge_helper,
161+
%4/bin/bridge_helper ix,
158162
159163
# for restore
160164
/{usr/,}bin/bash rmix,

0 commit comments

Comments
 (0)