]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph.spec: selinux scripts respect CEPH_AUTO_RESTART_ON_UPGRADE 43235/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:07:52 +0000 (10:07 +0200)
commitf844c70be053826459ecc562df07984fc287f359
treec6818eca83243c8e5988d7c3707bc88f95d2d459
parentdbc87327c37d0f305c2107e487cb98a072ae858b
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