From: Sage Weil Date: Tue, 8 Sep 2015 17:50:52 +0000 (-0400) Subject: ceph-common: explicitly trigger /run/ceph creation X-Git-Tag: v9.1.0~155^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c3d23caddf0f75ee01f2dc8730b59f4b62e97d49;p=ceph.git ceph-common: explicitly trigger /run/ceph creation This doesn't happen magically on debian. Signed-off-by: Sage Weil --- diff --git a/debian/ceph-common.postinst b/debian/ceph-common.postinst index 36410a3b630b..719dc7908b95 100644 --- a/debian/ceph-common.postinst +++ b/debian/ceph-common.postinst @@ -85,6 +85,9 @@ case "$1" in echo "..done" fi + # create /run/ceph. fail softly if systemd isn't present or + # something. + [ -x /bin/systemd-tmpfiles ] && systemd-tmpfiles --create || true ;; abort-upgrade|abort-remove|abort-deconfigure) :