]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "rpm,deb: chown bluestore block* links to ceph.ceph on install/upgrade" 23247/head
authorSage Weil <sage@redhat.com>
Wed, 25 Jul 2018 21:22:09 +0000 (16:22 -0500)
committerSage Weil <sage@redhat.com>
Wed, 25 Jul 2018 21:22:09 +0000 (16:22 -0500)
This reverts commit 58cde3fd793c037beca6645cc30b2ae1c30e2af1.

This was only needed for luminous and mimic.  We are keeping these commits in master (and reverting them) only so that the cherry-pick -x references work.

Signed-off-by: Sage Weil <sage@redhat.com>
ceph.spec.in
debian/ceph-osd.postinst

index 8415e2e6e9a2fc2e4c0536e48619c2b3a5a4328a..f155092fbe2b52cfa11fcf169a598a8dab3d8b47 100644 (file)
@@ -1533,8 +1533,6 @@ fi
 %else
     /usr/lib/systemd/systemd-sysctl %{_sysctldir}/90-ceph-osd.conf > /dev/null 2>&1 || :
 %endif
-# work around https://tracker.ceph.com/issues/24903
-chown ceph:ceph /var/lib/ceph/osd/*/block* 2>&1 > /dev/null || :
 
 %preun osd
 %if 0%{?suse_version}
index 6ae5349bce0edfcb292c05d47c40c519a7bed0ef..5e44548fe826177d9c78c589f0611207d334d7e5 100644 (file)
@@ -25,8 +25,6 @@ case "$1" in
     configure)
        [ -x /etc/init.d/procps ] && invoke-rc.d procps restart || :
        [ -x /sbin/start ] && start ceph-osd-all || :
-       # work around https://tracker.ceph.com/issues/24903
-       chown ceph:ceph /var/lib/ceph/osd/*/block* 2>&1 > /dev/null || :
     ;;
     abort-upgrade|abort-remove|abort-deconfigure)
        :