Skip to content

Commit 0c11a65

Browse files
evgeniehelms
authored andcommitted
fapolicyd workaround for RHEL-37912
1 parent 75e24b6 commit 0c11a65

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,13 @@ jobs:
7474
if: matrix.security != 'none'
7575
run: |
7676
./forge security --mode ${{ matrix.security }}
77+
- name: Apply fapolicyd workarounds
78+
# https://access.redhat.com/solutions/7072618 / https://issues.redhat.com/browse/RHEL-37912
79+
# https://github.com/theforeman/foreman-fapolicyd/blob/develop/15-foreman-container.rules
80+
if: matrix.security == 'fapolicyd'
81+
run: |
82+
vagrant ssh --command "echo 'allow perm=any pattern=ld_so exe=/usr/bin/crun : path=/usr/lib64/libsystemd.so.0' | sudo tee -a /etc/fapolicyd/rules.d/15-foremanctl.rules" quadlet
83+
vagrant ssh quadlet -- sudo systemctl restart fapolicyd
7784
- name: Run image pull
7885
run: |
7986
./foremanctl pull-images

0 commit comments

Comments
 (0)