[Bug 1968335] Re: apparmor profile needs extension

Ubuntu Foundations Team Bug Bot 1968335 at bugs.launchpad.net
Fri Apr 8 16:20:35 UTC 2022


The attachment "add_socket_and_nvram.diff" seems to be a patch.  If it
isn't, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are a member of the ~ubuntu-reviewers,
unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to swtpm in Ubuntu.
https://bugs.launchpad.net/bugs/1968335

Title:
  apparmor profile needs extension

Status in swtpm package in Ubuntu:
  New

Bug description:
  Hi team,
  I've tried to create a socket activated systemd service for supplying a software tpm for qemu. As it didn't worked I recognized that the swtpm package ships an apparmor profile. To make it work i've to add a read/write/lock permission for the tpm's nvram folder and a read/write permission for the tpm's unix socket used for the connection with qemu.

  Since there is no default location for the tpm nvram (correct?) I
  suggest using "/var/lib/swtpm" which follows the /var/lib/<package>
  convention.

  Since there is no default location for the tpm unix socket I suggest
  using "/run/swtpm/sock" which follows the systemd.socket unit
  conventions

  A patch which adds the settings is attached to this message.

  Greetings,
  André

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/swtpm/+bug/1968335/+subscriptions




More information about the foundations-bugs mailing list