]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph.spec.in: test %preun argument is zero for removal-only operations
authorNathan Cutler <ncutler@suse.com>
Thu, 13 Aug 2015 13:36:02 +0000 (15:36 +0200)
committerNathan Cutler <ncutler@suse.com>
Tue, 27 Oct 2015 10:24:18 +0000 (11:24 +0100)
commit9246b1e776a646254f42ff4117ef0e8efeee6702
tree1c4a534b37170de9a5ed84ad4d3d3e3691a842a3
parent63c34aa9a2231f7fb1ecd77e6287b6a7d94c81e9
ceph.spec.in: test %preun argument is zero for removal-only operations

The %preun section now contains logic for disabling and stopping all the
Ceph systemd units when the ceph package is removed. However, there is no
conditional around it, so the units are disabled and stopped on RPM upgrade
as well as removal.

http://tracker.ceph.com/issues/12685 Fixes: #12685

Signed-off-by: Nathan Cutler <ncutler@suse.com>
Signed-off-by: Tim Serong <tserong@suse.com>
(cherry picked from commit 6c803cdf4230a3ce51f1ceb05ed3d08fa1f981ec)

Conflicts:
ceph.spec.in
            prefer upstream version
ceph.spec.in