At least I give a fix like this: https://github.com/alvistack/ceph- ceph/blob/alvistack/v20.2.4/debian/patches/0028-2152298-ceph- smartctl.patch
``` --- a/sudoers.d/ceph-smartctl +++ b/sudoers.d/ceph-smartctl @@ -1,4 +1,4 @@ ## allow ceph daemons (which run as user ceph) to collect device health metrics -ceph ALL=NOPASSWD: /usr/sbin/smartctl -x --json=o /dev/* -ceph ALL=NOPASSWD: /usr/sbin/nvme * smart-log-add --json /dev/* +ceph ALL=(ALL) NOPASSWD: /usr/sbin/smartctl +ceph ALL=(ALL) NOPASSWD: /usr/sbin/nvme ``` -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2152298 Title: Ceph 20.2.0 - wildcards are not allowed in command arguments To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/2152298/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
