Skip to content

chore: remove swtpm workaround#182

Merged
renner0e merged 1 commit into
mainfrom
remove-swtpm-workaround
May 16, 2026
Merged

chore: remove swtpm workaround#182
renner0e merged 1 commit into
mainfrom
remove-swtpm-workaround

Conversation

@renner0e
Copy link
Copy Markdown
Member

@renner0e renner0e commented May 16, 2026

This was originally added in
ublue-os/bluefin#1231.

It seems to not be needed anymore, I tested this with bootc install and
upgrading an existing system with the workaround and the /usr/bin/swtpm
has the right selinux label system_u:object_r:swtpm_exec_t:s0.

You can verify this with ls -lZ /usr/bin/swtpm.

I am not sure what change caused this to be not needed anymore. Maybe it
was the way rpm-ostree handles selinux things nowadays, rechunking
related?

Fixes: ublue-os/aurora#2152

@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented May 16, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

This was originally added in
ublue-os/bluefin#1231.

It seems to not be needed anymore, I tested this with bootc install and
upgrading an existing system with the workaround and the /usr/bin/swtpm
has the right selinux label `system_u:object_r:swtpm_exec_t:s0`.

You can verify this with `ls -lZ /usr/bin/swtpm`.

I am not sure what change caused this to be not needed anymore. Maybe it
was the way rpm-ostree handles selinux things nowadays, rechunking
related?

Fixes: ublue-os/aurora#2152
@renner0e renner0e force-pushed the remove-swtpm-workaround branch from d4e1337 to 40afa33 Compare May 16, 2026 18:03
@renner0e renner0e marked this pull request as ready for review May 16, 2026 18:04
@renner0e renner0e added this pull request to the merge queue May 16, 2026
Merged via the queue into main with commit cd7b76f May 16, 2026
2 checks passed
@renner0e renner0e deleted the remove-swtpm-workaround branch May 16, 2026 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Virt-manager cannot create/start new VMs

2 participants