]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph.spec: selinux scripts respect CEPH_AUTO_RESTART_ON_UPGRADE 43234/head
authorDan van der Ster <daniel.vanderster@cern.ch>
Mon, 12 Jul 2021 13:35:39 +0000 (15:35 +0200)
committerArthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
Tue, 21 Sep 2021 08:06:46 +0000 (10:06 +0200)
commit517e3fdc79060803b277d513e5d65023f91585a0
tree1a29392d41ed8fa19bb08d831e0749b14156b1b5
parent3bb6dfef60c759eba3da031acb0f1cd05ff3875f
ceph.spec: selinux scripts respect CEPH_AUTO_RESTART_ON_UPGRADE

In /etc/sysconfig/ceph we allow operators to define if ceph daemons
should be restarted on upgrade: CEPH_AUTO_RESTART_ON_UPGRADE.

But the post selinux scripts will stop ceph.target regardless if this
is set to `no`, leading to operators adding various hacks to prevent
these unexpected or inconvenient daemon restarts. By now, if users
are using rpms directly, they are likely orchestrating their own
daemon restarts so should not rely on the rpm itself to do this.

Fixes: https://tracker.ceph.com/issues/21672
Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
(cherry picked from commit 092a6e3e83e9ef8e37cb6f1033c345dcb5224cfc)
ceph.spec.in