]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rpm,deb: drop /etc/sudoers.d/cephadm 36972/head
authorNathan Cutler <ncutler@suse.com>
Tue, 1 Sep 2020 18:38:47 +0000 (20:38 +0200)
committerNathan Cutler <ncutler@suse.com>
Thu, 3 Sep 2020 14:31:30 +0000 (16:31 +0200)
commitc1783d3d8f6fd25817b78ea6f76335347aceb566
tree1a4eb597019e96f4ff02c9d502bee326cfca8e5d
parenta8bf3e9b2f804d11600d412dae0b9493a3df61c8
rpm,deb: drop /etc/sudoers.d/cephadm

Current behavior (without this patch) is:

1. cephadm package installs cephadm at /usr/sbin/cephadm
2. cephadm package installs /etc/sudoers.d/cephadm
3. !!! BUT this file refers to a non-existent executable (/usr/bin/cephadm) !!!
4. the PR that introduced this sudoers file (and this discrepancy) was merged in 2019
5. nobody noticed the discrepancy until now

My conclusion: the file /etc/sudoers.d/cephadm is not needed for cephadm to
work.

Fixes: https://tracker.ceph.com/issues/47112
Signed-off-by: Nathan Cutler <ncutler@suse.com>
ceph.spec.in
debian/cephadm.install
debian/rules
sudoers.d/cephadm [deleted file]