]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rpm,deb: drop /etc/sudoers.d/cephadm 37401/head
authorNathan Cutler <ncutler@suse.com>
Tue, 1 Sep 2020 18:38:47 +0000 (20:38 +0200)
committerNathan Cutler <ncutler@suse.com>
Thu, 24 Sep 2020 18:20:43 +0000 (20:20 +0200)
commit312e517f900286ab35c1cde9b31aaea97f4d91da
treef001d35679ca1549004a5b00277807ce77be0c04
parentefdb0db2de7b1795bace506fc1538c0325fdcbbc
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>
(cherry picked from commit c1783d3d8f6fd25817b78ea6f76335347aceb566)

Conflicts:
debian/rules
- octopus does not mention "rbd-nbd_quiesce"
ceph.spec.in
debian/cephadm.install
debian/rules
sudoers.d/cephadm [deleted file]