]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph.spec: selinux scripts respect CEPH_AUTO_RESTART_ON_UPGRADE 42286/head
authorDan van der Ster <daniel.vanderster@cern.ch>
Mon, 12 Jul 2021 13:35:39 +0000 (15:35 +0200)
committerDan van der Ster <daniel.vanderster@cern.ch>
Mon, 12 Jul 2021 13:35:39 +0000 (15:35 +0200)
commit092a6e3e83e9ef8e37cb6f1033c345dcb5224cfc
treefce1801b1bc93d2e45ebaac2d6698884244a6fc1
parent3e2c8e94fb9fb8421a08ca425b14833a981565a6
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>
ceph.spec.in