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

Peter Sabaini 2152298 at bugs.launchpad.net
Wed Jun 3 08:21:48 UTC 2026


This is due to a change in how sudo handles wildcard args in sudo-rs,
we'll need to add a workaround

** No longer affects: rust-sudo-rs (Ubuntu)

** Changed in: ceph (Ubuntu)
       Status: New => Confirmed

-- 
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:
  Confirmed

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