Comment 11 for bug 2060345

Revision history for this message
Miha Purg (mihap) wrote (last edit ):

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=

[Install]
#WantedBy=multi-user.target ceph.target
WantedBy=multi-user.target
---

# 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.