Bug 2284276

Summary: Atomic installs (Silverblue) usually boot to emergency mode since selinux-policy-40.21-1
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: dwalsh, kanru, lvrabec, mmalik, omosnacek, pkoncity, vmojzis, xalt7x.service, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard: openqa
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-04 08:15:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Adam Williamson 2024-06-02 15:30:09 UTC
With selinux-policy-40.21-1 - in both F40 and Rawhide - Silverblue installs almost always boot to emergency mode (not the desktop, as they should). In the journal we see this:

May 31 13:06:12 fedora systemd[1]: Found device dev-disk-by\x2duuid-f3fdd95f\x2dc4b7\x2d4e54\x2d992c\x2d3beca378354c.device - /dev/disk/by-uuid/f3fdd95f-c4b7-4e54-992c-3beca378354c.
May 31 13:06:12 fedora systemd-fsck[689]: fsck.fat 4.2 (2021-01-31)
May 31 13:06:12 fedora systemd-fsck[689]: /dev/vda1: 17 files, 3175/153290 clusters
May 31 13:06:12 fedora systemd[1]: Finished systemd-fsck@dev-disk-by\x2duuid-776E\x2d41A3.service - File System Check on /dev/disk/by-uuid/776E-41A3.
May 31 13:06:12 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-fsck@dev-disk-by\x2duuid-776E\x2d41A3 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 31 13:06:12 fedora systemd[1]: home.mount: Mount path /home is not canonical (contains a symlink).
May 31 13:06:12 fedora systemd[1]: home.mount: Failed with result 'resources'.
May 31 13:06:12 fedora systemd[1]: Failed to mount home.mount - /home.
May 31 13:06:12 fedora systemd[1]: Dependency failed for local-fs.target - Local File Systems.
May 31 13:06:12 fedora systemd[1]: Dependency failed for selinux-autorelabel-mark.service - Mark the need to relabel after reboot.
May 31 13:06:12 fedora systemd[1]: selinux-autorelabel-mark.service: Job selinux-autorelabel-mark.service/start failed with result 'dependency'.

Comment 1 Adam Williamson 2024-06-02 15:30:37 UTC
This is causing openQA tests for every Rawhide update to fail (though they aren't gated, as the Silverblue tests are not marked as gating).

Comment 2 Zdenek Pytela 2024-06-03 11:12:34 UTC
*** Bug 2284340 has been marked as a duplicate of this bug. ***

Comment 3 Adam Williamson 2024-06-03 18:11:39 UTC
It would be awesome if we could get the fix for this landed ASAP, because the failures cause a lot of noise in openQA and make it much harder for me to differentiate other problems.

Comment 4 Zdenek Pytela 2024-06-04 08:15:36 UTC
I worked on the latest reports on priority during the last 3 days, but it took some time as there were not much data available for debugging and we do not have an automated test.
I believe it is fixed now in rawhide.