[Bug 2152298] [NEW] Ceph 20.2.0 - wildcards are not allowed in command arguments

Alan Baghumian 2152298 at bugs.launchpad.net
Wed May 13 08:06:19 UTC 2026


Public bug reported:

After installing a Ceph Tentacle cluster on Ubuntu 26.04 LTS using ceph-
by-ansible (1).

The ceph-base package installs /etc/sudoers.d/ceph-smartctl which
generates the following warning messages every time sudo is executed:

$ sudo ceph -s
/etc/sudoers.d/ceph-smartctl:3:20: wildcards are not allowed in command arguments
ceph ALL=NOPASSWD: /usr/sbin/smartctl -x --json=o /dev/*
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/etc/sudoers.d/ceph-smartctl:4:20: wildcards are not allowed in command arguments
ceph ALL=NOPASSWD: /usr/sbin/nvme * smart-log-add --json /dev/*
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

We need to get this addressed.

Thanks,
Alan


(1) https://github.com/alanbach/ceph-by-ansible

** Affects: ceph (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Ceph 20.2.0 - wildcards are not allowed in command arguments

Status in ceph package in Ubuntu:
  New

Bug description:
  After installing a Ceph Tentacle cluster on Ubuntu 26.04 LTS using
  ceph-by-ansible (1).

  The ceph-base package installs /etc/sudoers.d/ceph-smartctl which
  generates the following warning messages every time sudo is executed:

  $ sudo ceph -s
  /etc/sudoers.d/ceph-smartctl:3:20: wildcards are not allowed in command arguments
  ceph ALL=NOPASSWD: /usr/sbin/smartctl -x --json=o /dev/*
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  /etc/sudoers.d/ceph-smartctl:4:20: wildcards are not allowed in command arguments
  ceph ALL=NOPASSWD: /usr/sbin/nvme * smart-log-add --json /dev/*
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  We need to get this addressed.

  Thanks,
  Alan

  
  (1) https://github.com/alanbach/ceph-by-ansible

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/2152298/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list