]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: preserve cephadm user during RPM upgrade 46790/head
authorScott Shambarger <devel@shambarger.net>
Mon, 16 May 2022 00:30:50 +0000 (17:30 -0700)
committerAdam King <adking@redhat.com>
Wed, 22 Jun 2022 00:03:20 +0000 (20:03 -0400)
commit3b349ea9443234f444b2f2f78611df9c408085b5
treed07ebba4db40dd6b1eaf916e86e99bb1e279fc7e
parent0e0d3425a1484a75b51576288973474c3b766151
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