I narrowed down the issue to 'ceph-*.target' unit files (e.g. ceph-mds.target, ceph-mon.target).
The unit files list 'ceph.target' both in the "Wants" and the "WantedBy" directives, which trigger the
bug in OpenSCAP. If either of the directives are removed (in all problematic files), OpenSCAP no longer crashes:
---
[Unit]
Description=ceph target allowing to start/stop all ceph-mds@.service instances at once
PartOf=ceph.target
After=ceph-mon.target
Before=ceph.target
#Wants=ceph.target ceph-mon.target
Wants=
I'm not familiar with ceph so I don't really know how either of these changes will
affect functionality, but it might be worth looking into as a potential
workaround for the time being.
I narrowed down the issue to 'ceph-*.target' unit files (e.g. ceph-mds.target, ceph-mon.target).
The unit files list 'ceph.target' both in the "Wants" and the "WantedBy" directives, which trigger the
bug in OpenSCAP. If either of the directives are removed (in all problematic files), OpenSCAP no longer crashes:
--- mon.target
[Unit]
Description=ceph target allowing to start/stop all ceph-mds@.service instances at once
PartOf=ceph.target
After=ceph-
Before=ceph.target
#Wants=ceph.target ceph-mon.target
Wants=
[Install] multi-user. target ceph.target multi-user. target
#WantedBy=
WantedBy=
---
# systemctl daemon-reload
# systemctl reenable ceph*target
I'm not familiar with ceph so I don't really know how either of these changes will
affect functionality, but it might be worth looking into as a potential
workaround for the time being.