]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph.spec.in: test %preun argument is zero for removal-only operations 5573/head
authorNathan Cutler <ncutler@suse.com>
Thu, 13 Aug 2015 13:36:02 +0000 (15:36 +0200)
committerNathan Cutler <ncutler@suse.com>
Thu, 13 Aug 2015 13:36:02 +0000 (15:36 +0200)
commit6c803cdf4230a3ce51f1ceb05ed3d08fa1f981ec
treee341ec684a23ecada544de2028b202444b0e921c
parent8e0a4445a266e652d87c31e2c039fab375873466
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>
ceph.spec.in