Commit 9055adb1 authored by intrigeri's avatar intrigeri
Browse files

Test suite setup: update AppArmor tweaks.

Thanks to kibi for coping with the outdated doc and for the help debugging the
resulting issues.
parent 2f98d00f
......@@ -87,11 +87,14 @@ the content of `features/misc_files/` in the Git checkout.
AppArmor tweaks
---------------
If libvirt has the `apparmor` security driver enabled:
* you may need to add the `/tmp/TailsToaster/TailsToasterStorage/*
rw,` line to `/etc/apparmor.d/libvirt/TEMPLATE.qemu`, in the
`profile LIBVIRT_TEMPLATE` section;
If you have AppArmor enabled:
* You need to add the `/tmp/TailsToaster/** rwk,` line
to `/etc/apparmor.d/libvirt/TEMPLATE.qemu`, in the
`profile LIBVIRT_TEMPLATE` section; then delete
`/etc/apparmor.d/libvirt/libvirt-*` and retry.
If you use a custom `TMPDIR` to run the test suite,
replace `/tmp/TailsToaster` with the value of that `$TMPDIR`.
* you may hit various problems, such as denied access to
`/usr/share/ovmf/OVMF.fd`; all such known problems are (as of
2015-08-12) on their way for being fixed upstream in libvirt.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment