]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: preserve cephadm user during RPM upgrade 46553/head
authorScott Shambarger <devel@shambarger.net>
Mon, 16 May 2022 00:30:50 +0000 (17:30 -0700)
committerAdam King <adking@redhat.com>
Tue, 7 Jun 2022 16:03:18 +0000 (12:03 -0400)
commitfb6d4bfd4e70c8587d408b77fc0d3e59ae993283
tree75bdec73389fa3fd593cbca7a50f607e9c4b7b8a
parent5d0dfac60b1c7b2e8e8811e332ea076011bc0ca4
cephadm: preserve cephadm user during RPM upgrade

The cephadm postun macro in the rpm spec file doesn't test for upgrade,
and removes the cephadm user.  The patch changes the macro to only remove
the cephadm user on uninstall.

Fixes: https://tracker.ceph.com/issues/55664
Signed-off-by: Scott Shambarger <devel@shambarger.net>
(cherry picked from commit c881fd97c2e2f73b36028f6002e670ca449c4404)
ceph.spec.in