stable

swtpm-0.8.1-9.fc40

FEDORA-2024-4e9a0ffab8 created by stefanberger a year ago for Fedora 40

Add yet another patch with more SELinux permissions


Add another patch with more SELinux permissions

How to install

Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:

sudo dnf upgrade --refresh --advisory=FEDORA-2024-4e9a0ffab8

This update has been submitted for testing by stefanberger.

a year ago

This update's test gating status has been changed to 'waiting'.

a year ago

This update's test gating status has been changed to 'waiting'.

a year ago

This update has obsoleted swtpm-0.8.1-8.fc40, and has inherited its bugs and notes.

a year ago
User Icon targetedpanda commented & provided feedback a year ago
karma

Tested with both swtpm-0.8.1-8.fc40 and the issue that swtpm-0.8.1-8.fc40 addressed is also addressed by this one, swtpm-0.8.1-9.fc40. I was able to start VMs without issue in session mode after having been unable to do so on swtpm-0.8.1-7.fc40.

This update's test gating status has been changed to 'passed'.

a year ago

This update has been pushed to testing.

a year ago
User Icon bug2k24 commented & provided feedback a year ago
karma

This resolves the issue I had creating and starting VMs using tpm in both system and session mode.

BZ#2278905 Creating AND using VMs not working IF swtpm is used AND IF SELinux is enabled; virt-manager is used; creating and using swtpm VMs causes different AVC denial logs

This update can be pushed to stable now if the maintainer wishes

a year ago

This update has been submitted for stable by stefanberger.

a year ago
User Icon vgaetera commented & provided feedback a year ago
karma

Works for me, but some denials specific to system mode appear on a new host:

> journalctl -b _AUDIT_TYPE_NAME=AVC _COMM=swtpm_localca
May 05 13:14:10 fedora audit[5810]: AVC avc:  denied  { add_name } for  pid=5810 comm="swtpm_localca" name=".lock.swtpm-localca" scontext=system_u:system_r:virtqemud_t:s0 tcontext=system_u:object_r:var_lib_t:s0 tclass=dir permissive=1
May 05 13:14:10 fedora audit[5810]: AVC avc:  denied  { create } for  pid=5810 comm="swtpm_localca" name=".lock.swtpm-localca" scontext=system_u:system_r:virtqemud_t:s0 tcontext=system_u:object_r:var_lib_t:s0 tclass=file permissive=1
May 05 13:14:11 fedora audit[5810]: AVC avc:  denied  { setattr } for  pid=5810 comm="swtpm_localca" name="swtpm-localca-rootca-privkey.pem" dev="vda2" ino=1052978 scontext=system_u:system_r:virtqemud_t:s0 tcontext=system_u:object_r:var_lib_t:s0 tclass=file permissive=1

Some other denials also happen in system mode but those seem unrelated to swtpm.

BZ#2278905 Creating AND using VMs not working IF swtpm is used AND IF SELinux is enabled; virt-manager is used; creating and using swtpm VMs causes different AVC denial logs
User Icon py0xc3 commented & provided feedback a year ago
karma

I have not reproduced the very issue of bug2k24, but all other issues seem solved. I have no swtpm-specific denials left in system mode in my logs.

BZ#2278905 Creating AND using VMs not working IF swtpm is used AND IF SELinux is enabled; virt-manager is used; creating and using swtpm VMs causes different AVC denial logs
User Icon targetedpanda commented & provided feedback a year ago
karma

Reaffirming my karma from above, this time with the bug attribution for BZ#2278905.

BZ#2278905 Creating AND using VMs not working IF swtpm is used AND IF SELinux is enabled; virt-manager is used; creating and using swtpm VMs causes different AVC denial logs

This update has been pushed to stable.

a year ago

Please log in to add feedback.

Metadata
Type
bugfix
Karma
4
Signed
Content Type
RPM
Test Gating
Autopush Settings
Unstable by Karma
-3
Stable by Karma
3
Stable by Time
14 days
Dates
submitted
a year ago
in testing
a year ago
in stable
a year ago
approved
a year ago
BZ#2278905 Creating AND using VMs not working IF swtpm is used AND IF SELinux is enabled; virt-manager is used; creating and using swtpm VMs causes different AVC denial logs
0
4

Automated Test Results