problems rolling back from F42 to F41

Hi, So I decided to rollback from the F42 based bazzite because of problems with podman containers (https://github.com/ublue-os/bazzite/issues/2492) However, doing the rollback I get the following error message:
kevinh@amdtop:~$ rpm-ostree rebase ostree-image-signed:docker://ghcr.io/ublue-os/bazzite:testing-41.20250410.1
Pulling manifest: ostree-image-signed:docker://ghcr.io/ublue-os/bazzite:testing-41.20250410.1
Checking out tree b3bfbf1... done
Enabled rpm-md repositories: copr:copr.fedorainfracloud.org:bazzite-org:vk_hdr_layer copr:copr.fedorainfracloud.org:ilyaz:LACT copr:copr.fedorainfracloud.org:rodoma92:kde-cdemu-manager copr:copr.fedorainfracloud.org:rodoma92:rmlint copr:copr.fedorainfracloud.org:rok:cdemu copr:copr.fedorainfracloud.org:ublue-os:packages charm fedora-cisco-openh264 fedora-rar fedora-steam updates fedora rpmfusion-free-updates rpmfusion-free rpmfusion-nonfree-updates rpmfusion-nonfree tailscale-stable terra-extras terra copr:copr.fedorainfracloud.org:codifryed:CoolerControl copr:copr.fedorainfracloud.org:bazzite-org:vk_hdr_layer:ml updates-archive
Updating metadata for 'rpmfusion-free-updates'... done
error: Updating rpm-md repo 'rpmfusion-free-updates': Failed to download gpg key for repo 'rpmfusion-free-updates': Curl error (37): Could not read a file:// file for file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-41 [Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-41]
kevinh@amdtop:~$ rpm-ostree rebase ostree-image-signed:docker://ghcr.io/ublue-os/bazzite:testing-41.20250410.1
Pulling manifest: ostree-image-signed:docker://ghcr.io/ublue-os/bazzite:testing-41.20250410.1
Checking out tree b3bfbf1... done
Enabled rpm-md repositories: copr:copr.fedorainfracloud.org:bazzite-org:vk_hdr_layer copr:copr.fedorainfracloud.org:ilyaz:LACT copr:copr.fedorainfracloud.org:rodoma92:kde-cdemu-manager copr:copr.fedorainfracloud.org:rodoma92:rmlint copr:copr.fedorainfracloud.org:rok:cdemu copr:copr.fedorainfracloud.org:ublue-os:packages charm fedora-cisco-openh264 fedora-rar fedora-steam updates fedora rpmfusion-free-updates rpmfusion-free rpmfusion-nonfree-updates rpmfusion-nonfree tailscale-stable terra-extras terra copr:copr.fedorainfracloud.org:codifryed:CoolerControl copr:copr.fedorainfracloud.org:bazzite-org:vk_hdr_layer:ml updates-archive
Updating metadata for 'rpmfusion-free-updates'... done
error: Updating rpm-md repo 'rpmfusion-free-updates': Failed to download gpg key for repo 'rpmfusion-free-updates': Curl error (37): Could not read a file:// file for file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-41 [Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-41]
GitHub
42.20250415: Stable breaks sudo inside of fedora containers · Issu...
Describe the bug So my development container (based on fedora-41) seems busted now in the F42 based bazzite. If I open a shell inside of that podman container and use sudo, I get a new error messag...
29 Replies
geeksville
geeksvilleOP2w ago
anyone have an idea for what to try next?
amel
amel2w ago
do you still have the 41 deployment? post rpm-ostree status -v
geeksville
geeksvilleOP2w ago
thanks for the reply! I haven't deleted any of my prior deployments on my machine. kevinh@amdtop:~$ rpm-ostree status -v State: busy AutomaticUpdates: disabled Transaction: rebase ostree-image-signed:docker://ghcr.io/ublue-os/bazzite:stable-41.20250409.1 Initiator: client(id:cli dbus:1.311 unit:ptyxis-spawn-579aaac1-ccea-48a8-bae4-49cf2858446b.scope uid:1000) Deployments: ● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite:stable (index: 0) Digest: sha256:8d929716c9c5102f9b91fb830d21d5c3f9b6bfe0f63476722ff08a5a07c43276 Version: 42.20250414 (2025-04-15T22:09:44Z) BaseCommit: 14c9a63e756079cc5d2c03875e54d64c24ac8783a9ac5826932158ca63c2c05a Commit: db95e297a3bc5dd22c1042909cefbd108a7ef6b7a8feca389ced2c20ce30cf94 Staged: no StateRoot: default LayeredPackages: coolercontrol liquidctl msr-tools ostree-image-signed:docker://ghcr.io/ublue-os/bazzite:stable (index: 1) Digest: sha256:8d929716c9c5102f9b91fb830d21d5c3f9b6bfe0f63476722ff08a5a07c43276 Version: 42.20250414 (2025-04-15T22:09:44Z) BaseCommit: 14c9a63e756079cc5d2c03875e54d64c24ac8783a9ac5826932158ca63c2c05a Commit: f5ee1ddf86c3e2ee79f3f4a6cd60cc827a09a2aac6f6a36fab31226803e20b9d StateRoot: default LayeredPackages: coolercontrol liquidctl msr-tools
amel
amel2w ago
you dont have a 41 image deployment anymore. as far as i understand you cant rollback or rebase to 41 from 42, most likely due to fedora 42 changes
geeksville
geeksvilleOP2w ago
hmm. bummer. the official announcement to try 42 says:
As always, if you find that you’d rather stay on Bazzite 41 for the time being you can roll back with rpm-ostree rollback.
alas that rollback failed with the same error msg
amel
amel2w ago
true, but in my experiences i have never been able to go successfully go back from 42 to 41 via rebase or rollback. must boot into 41 from grub and remove the 42 deployment i think this wasnt the case with 40->41 upgrade though
geeksville
geeksvilleOP2w ago
oh - so if I select an old 41 deployment from the grub menu (should still be there I think, right?) I can boot into that and then rebasing to 41.x flavors should work?
amel
amel2w ago
if this is all of the deployments you have ... then i think you're out of luck 🥲
geeksville
geeksvilleOP2w ago
oh strange. I was previously running 41 and just updated to 42 now (and it seems pretty fatally busted for developers) (can't do sudo inside of child containers)
amel
amel2w ago
you could have applied a deployment changing command (rpm-ostree kargs or stuff) which deleted your unpinned 41 deployment but if you didnt, im out of ideas honestly
geeksville
geeksvilleOP2w ago
oh thats it. so using ostree kargs discards old deployments? super bummer.
amel
amel2w ago
yeah it creates a new deployment
geeksville
geeksvilleOP2w ago
I guess I'll wait/hope that podman gets fixed. thanks for your help. using ostree kargs discarding all old deployments as a kinda hidden thing is a bummer. i guess I'll read up on how to "pin" deployments so this doesn't happen in the future.
antheas
antheas2w ago
10 times i told kyle to test rollbacks he didnt test rollbacks at least this error is fixable
geeksville
geeksvilleOP2w ago
< the most important thing > 😕
antheas
antheas2w ago
he only did rpm-ostree rollback we just need to add the f41 keys for rpm fusion try that and see if it works its probalby the same key
geeksville
geeksvilleOP2w ago
it might also be a dark pattern problem. I doubt users are especteding using "rpm-ostree kargs" to set some kernel args to discard all non pinned deployments.
antheas
antheas2w ago
so you can do a copy no this one is a bug with having rpm-fusion enabled and losing the previous key
geeksville
geeksvilleOP2w ago
oh thanks. i'll google to find out what rpm fusion is 😉
antheas
antheas2w ago
dont fix is simple cp /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-42 /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-41
geeksville
geeksvilleOP2w ago
omg thats awesome thank you! trying that now
antheas
antheas2w ago
find all the missing keys so we can symlink them
geeksville
geeksvilleOP2w ago
thanks - based on your ptr there was only one more. therefore the commands that just worked for me to rollback to the last f41 stable are:
sudo cp /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-42 /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-41
sudo cp /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-42 /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-41
bazzite-rollback-helper rebase stable-41.20250409.1
sudo cp /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-42 /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-41
sudo cp /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-42 /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-41
bazzite-rollback-helper rebase stable-41.20250409.1
^ to anyone else that needs to rollback to F41, these commands just worked yay! (also now that I'm back in F41 bluetooth works again and sudo works again inside of containers
amel
amel2w ago
you should probs post that on #🎮bazzite too if you havent unles antheas alr did and my eyes cant see
geeksville
geeksvilleOP2w ago
alas - I spoke too soon. I rebooted after the rebase seemed to complete correctly. But after using it for a bit I realized I was in the same (somewhat busted) F42 based version. So I tried rpm-ostree status and saw something about "Finalizing deployment" had an error. details attached:
kevinh@amdtop:~$ rpm-ostree status
State: idle
Warning: failed to finalize previous deployment
error: Finalizing deployment: Finalizing SELinux policy: failed to run semodule: Child process exited with code 1
check `journalctl -b -1 -u ostree-finalize-staged.service`
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite:stable
Digest: sha256:8d929716c9c5102f9b91fb830d21d5c3f9b6bfe0f63476722ff08a5a07c43276
Version: 42.20250414 (2025-04-15T22:09:44Z)
LayeredPackages: coolercontrol liquidctl msr-tools

ostree-image-signed:docker://ghcr.io/ublue-os/bazzite:stable
Digest: sha256:8d929716c9c5102f9b91fb830d21d5c3f9b6bfe0f63476722ff08a5a07c43276
Version: 42.20250414 (2025-04-15T22:09:44Z)
LayeredPackages: coolercontrol liquidctl msr-tools
kevinh@amdtop:~$ rpm-ostree status
State: idle
Warning: failed to finalize previous deployment
error: Finalizing deployment: Finalizing SELinux policy: failed to run semodule: Child process exited with code 1
check `journalctl -b -1 -u ostree-finalize-staged.service`
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite:stable
Digest: sha256:8d929716c9c5102f9b91fb830d21d5c3f9b6bfe0f63476722ff08a5a07c43276
Version: 42.20250414 (2025-04-15T22:09:44Z)
LayeredPackages: coolercontrol liquidctl msr-tools

ostree-image-signed:docker://ghcr.io/ublue-os/bazzite:stable
Digest: sha256:8d929716c9c5102f9b91fb830d21d5c3f9b6bfe0f63476722ff08a5a07c43276
Version: 42.20250414 (2025-04-15T22:09:44Z)
LayeredPackages: coolercontrol liquidctl msr-tools
and the journalctl messages:
kevinh@amdtop:~$ journalctl -b -1 -u ostree-finalize-staged.service
Apr 17 17:40:18 amdtop systemd[1]: Finished ostree-finalize-staged.service - OSTree Finalize Staged Deployment.
Apr 17 17:41:58 amdtop systemd[1]: Stopping ostree-finalize-staged.service - OSTree Finalize Staged Deployment...
Apr 17 17:41:58 amdtop ostree[9275]: Finalizing staged deployment
Apr 17 17:41:59 amdtop ostree[9275]: Copying /etc changes: 33 modified, 1 removed, 151 added
Apr 17 17:41:59 amdtop ostree[9275]: Copying /etc changes: 33 modified, 1 removed, 151 added
Apr 17 17:41:59 amdtop ostree[9299]: bwrap: execvp semodule: No such file or directory
Apr 17 17:41:59 amdtop ostree[9275]: error: Finalizing deployment: Finalizing SELinux policy: failed to run semodule: Child process exited with code 1
Apr 17 17:41:59 amdtop systemd[1]: ostree-finalize-staged.service: Control process exited, code=exited, status=1/FAILURE
Apr 17 17:41:59 amdtop systemd[1]: ostree-finalize-staged.service: Failed with result 'exit-code'.
Apr 17 17:41:59 amdtop systemd[1]: Stopped ostree-finalize-staged.service - OSTree Finalize Staged Deployment.
Apr 17 17:41:59 amdtop systemd[1]: ostree-finalize-staged.service: Consumed 465ms CPU time, 93.5M memory peak.
kevinh@amdtop:~$ journalctl -b -1 -u ostree-finalize-staged.service
Apr 17 17:40:18 amdtop systemd[1]: Finished ostree-finalize-staged.service - OSTree Finalize Staged Deployment.
Apr 17 17:41:58 amdtop systemd[1]: Stopping ostree-finalize-staged.service - OSTree Finalize Staged Deployment...
Apr 17 17:41:58 amdtop ostree[9275]: Finalizing staged deployment
Apr 17 17:41:59 amdtop ostree[9275]: Copying /etc changes: 33 modified, 1 removed, 151 added
Apr 17 17:41:59 amdtop ostree[9275]: Copying /etc changes: 33 modified, 1 removed, 151 added
Apr 17 17:41:59 amdtop ostree[9299]: bwrap: execvp semodule: No such file or directory
Apr 17 17:41:59 amdtop ostree[9275]: error: Finalizing deployment: Finalizing SELinux policy: failed to run semodule: Child process exited with code 1
Apr 17 17:41:59 amdtop systemd[1]: ostree-finalize-staged.service: Control process exited, code=exited, status=1/FAILURE
Apr 17 17:41:59 amdtop systemd[1]: ostree-finalize-staged.service: Failed with result 'exit-code'.
Apr 17 17:41:59 amdtop systemd[1]: Stopped ostree-finalize-staged.service - OSTree Finalize Staged Deployment.
Apr 17 17:41:59 amdtop systemd[1]: ostree-finalize-staged.service: Consumed 465ms CPU time, 93.5M memory peak.
I guess the meat of the error is: bwrap: execvp semodule: No such file or directory Apr 17 17:41:59 amdtop ostree[9275]: error: Finalizing deployment: Finalizing SELinux policy: failed to run semodule: Child process exited with code 1 alas, I have to go out to a dinner now. i'll look at this again tomorrow (taipei time)
BTekV4
BTekV42w ago
same here
No description
TwilitWave
TwilitWave2w ago
I'm also having this issue, haha. The fix for rpmfusion works insofar as making the rebase appear to complete, but then on reboot it doesn't actually stage it and gives the same error above relating to the bwrap semodule.
TwilitWave
TwilitWave2w ago
Fedora Discussion
Fedora Silverblue Rawhide can't rebase back to F41
As of Fedora Rawhide ~2024.01.18, I can’t rebase back to Fedora 41. I don’t have a Fedora 41 deployment to fix that. ❯ journalctl -b -1 -u ostree-finalize-staged.service Jan 21 13:11:15 abc123321bca systemd[1]: Finished ostree-finalize-staged.service - OSTree Finalize Staged Deployment. Jan 21 13:11:37 abc123321bca systemd[1]: Stopping os...
geeksville
geeksvilleOP2w ago
man - so crazy

Did you find this page helpful?