"Failed to finalize previous deployment" due to semodule
Hi! I've created my own image with BlueBuild (which has been a great experience so far!), and attempted to rebase to it. However, when I reboot my system, I'm still on the previous image, and when I run
rpm-ostree status
rpm-ostree status
, I get this warning:
brage@brages-datamaskin:~$ rpm-ostree statusState: idleWarning: 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: […]
brage@brages-datamaskin:~$ rpm-ostree statusState: idleWarning: 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: […]
When running the suggested command, this is what I see:
brage@brages-datamaskin:~$ journalctl -b -1 -u ostree-finalize-staged.service[…]mars 18 21:39:31 brages-datamaskin ostree[9612]: error: Finalizing deployment: Finalizing SELinux policy: failed to run semodule: Child process exited with code 1mars 18 21:39:31 brages-datamaskin systemd[1]: ostree-finalize-staged.service: Control process exited, code=exited, status=1/FAILUREmars 18 21:39:31 brages-datamaskin systemd[1]: ostree-finalize-staged.service: Failed with result 'exit-code'.mars 18 21:39:31 brages-datamaskin systemd[1]: Stopped ostree-finalize-staged.service - OSTree Finalize Staged Deployment.[…]
brage@brages-datamaskin:~$ journalctl -b -1 -u ostree-finalize-staged.service[…]mars 18 21:39:31 brages-datamaskin ostree[9612]: error: Finalizing deployment: Finalizing SELinux policy: failed to run semodule: Child process exited with code 1mars 18 21:39:31 brages-datamaskin systemd[1]: ostree-finalize-staged.service: Control process exited, code=exited, status=1/FAILUREmars 18 21:39:31 brages-datamaskin systemd[1]: ostree-finalize-staged.service: Failed with result 'exit-code'.mars 18 21:39:31 brages-datamaskin systemd[1]: Stopped ostree-finalize-staged.service - OSTree Finalize Staged Deployment.[…]
Does anyone have any idea what the issue could be?