Bug 2070036

Summary: fapolicyd service causes dracut to generate broken initrd
Product: Red Hat Enterprise Linux 8 Reporter: Ales Musil <amusil>
Component: fapolicydAssignee: Radovan Sroka <rsroka>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 8.6CC: dapospis, ggasparb, lmiksik, mhaicman, michal.skrivanek, mperina, mtessun, pelauter, rsroka, vpolasek, wsato, ymankad
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2070579 (view as bug list) Environment:
Last Closed: 2022-04-01 12:14:10 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:
Bug Depends On:    
Bug Blocks: 2015802, 2070579    
Attachments:
Description Flags
Dracut output - failing host none

Description Ales Musil 2022-03-30 10:49:11 UTC
Created attachment 1869337 [details]
Dracut output - failing host

Created attachment 1869337 [details]
Dracut output - failing host

Description of problem:
Any new initrd image that is generated, once fapolicyd service is started,
makes the machine unbootable. The kernel panics that it cannot execute init.

Version-Release number of selected component (if applicable):
kernel-4.18.0-372.3.1.el8.x86_64
fapolicyd-1.1-1.el8.x86_64
dracut-049-201.git20220131.el8.x86_64
dracut-squash-049-201.git20220131.el8.x86_64
dracut-network-049-201.git20220131.el8.x86_64
dracut-config-generic-049-201.git20220131.el8.x86_64
dracut-config-rescue-049-201.git20220131.el8.x86_64

How reproducible:
100%

Steps to Reproduce:
1. yum install fapolicyd -y
2. service fapolicyd start
3. Run dracut -fv /boot/initramfs-$(uname -r).img
4. Reboot

Actual results:
The host ends up with kernel not being able to execute init.

Additional info:
Clean host without the fapolicyd does not have this problem.

Comment 1 Ales Musil 2022-03-30 10:49:40 UTC
Created attachment 1869338 [details]
Dracut - clean host

Comment 6 Ales Musil 2022-03-31 05:18:52 UTC
Thank you for the investigation, I did not connect the dots yesterday but it is probably connected to BZ#2066300 maybe even the same problem.

Comment 10 Radovan Sroka 2022-04-01 12:14:10 UTC

*** This bug has been marked as a duplicate of bug 2066300 ***