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, OpenSCAP no longer 
crashes:

---
[Unit]
Description=ceph target allowing to start/stop all [email protected] 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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2060345

Title:
  oscap crashes during audit on the system with ceph-mds package
  installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/usg/+bug/2060345/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to