swtpm/debian
Stefan Berger cc52b200b0 debian: Add rule to allow usage of /var/tmp directory (QEMU)
QEMU's functional tests need access to /var/tmp/**. To avoid the following
type of AppArmor permission failures add a rule that allows access to
/var/tmp/**.

 type=AVC msg=audit(1730829888.863:260): apparmor="DENIED" \
   operation="mknod" class="file" profile="swtpm" \
   name="/var/tmp/qemu_3r9txw7z/swtpm-socket" pid=3925 comm="swtpm" \
   requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000FSUID="stefanb" \
   OUID="stefanb"

[ To run the QEMU's functional tests use the following command:
    make check-functional ]

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2024-11-06 15:22:58 -05:00
..
source build: Enable building of Debian package 2016-01-12 19:56:00 -05:00
changelog build-sys: Bump up version to 0.10.0 at beginning of dev cycle 2024-06-27 09:37:21 -04:00
clean debian: Do not remove swtpm_cuse.8 via clean file 2022-09-19 10:00:46 -04:00
compat Debian: Fix build warnings by updating compat to '10' 2021-05-07 16:56:15 -04:00
control build-sys/rpm/debian: Add gmp library and devel package as dependency 2023-08-22 21:21:03 -04:00
copyright build: Enable building of Debian package 2016-01-12 19:56:00 -05:00
not-installed Debian packaging improvements 2021-07-26 17:22:41 -04:00
rules debian: Add swtpm apparmor profile 2022-05-05 20:58:30 -04:00
swtpm-dev.install Debian packaging improvements 2021-07-26 17:22:41 -04:00
swtpm-libs.install Debian packaging improvements 2021-07-26 17:22:41 -04:00
swtpm-tools.install Move *.conf and *.options to man5 2021-11-22 18:30:17 -05:00
swtpm-tools.postinst.in d/swtpm-tools postinst: create the TSS user if it does not exist 2021-10-07 12:47:08 -04:00
swtpm.install debian: Add swtpm apparmor profile 2022-05-05 20:58:30 -04:00
usr.bin.swtpm debian: Add rule to allow usage of /var/tmp directory (QEMU) 2024-11-06 15:22:58 -05:00