Ubuntu Pastebin

Paste from jamespage at Fri, 7 Oct 2016 12:55:51 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
diff --git a/debian/ceph-osd.postinst b/debian/ceph-osd.postinst
index d4ad405..a1510f3 100644
--- a/debian/ceph-osd.postinst
+++ b/debian/ceph-osd.postinst
@@ -23,7 +23,10 @@ set -e
 
 case "$1" in
     configure)
-	:
+	# Reload udev rules, to ensure correct application of
+	# ceph user and group permissions to block devices
+	# https://pad.lv/1631328
+	udevadm control --reload || :
     ;;
     abort-upgrade|abort-remove|abort-deconfigure)
 	:
Download as text