This fixes it for me.  I think it just the position of the rule relative 
to

# probe filesystem metadata of disks
KERNEL!="sr*", IMPORT{program}="/sbin/blkid -o udev -p $tempnode"

Is this something we can fix for wheezy, or should Ceph ship a seprate set 
of rules to make by-partuuid work?

Thanks!
sage

root@burnupi24:/lib/udev/rules.d# diff -u 60-persistent-storage.rules*
--- 60-persistent-storage.rules 2013-04-28 15:36:42.000000000 -0700
+++ 60-persistent-storage.rules.new     2013-05-16 12:52:17.122673810 
-0700
@@ -123,12 +123,6 @@
 ENV{DEVTYPE}=="partition",             ENV{ID_WWN_WITH_EXTENSION}=="?*", \
        SYMLINK+="disk/by-id/wwn-$env{ID_WWN_WITH_EXTENSION}-part%n"
 
-# by-partlabel/by-partuuid links (partition metadata)
-ENV{ID_PART_ENTRY_SCHEME}=="gpt",      ENV{ID_PART_ENTRY_UUID}=="?*", \
-       SYMLINK+="disk/by-partuuid/$env{ID_PART_ENTRY_UUID}"
-ENV{ID_PART_ENTRY_SCHEME}=="gpt",      ENV{ID_PART_ENTRY_NAME}=="?*", \
-       SYMLINK+="disk/by-partlabel/$env{ID_PART_ENTRY_NAME}"
-
 # by-path (parent device path)
 ENV{DEVTYPE}=="disk",                  ENV{ID_PATH}=="?*", \
        SYMLINK+="disk/by-path/$env{ID_PATH}"
@@ -163,5 +157,11 @@
 ENV{ID_FS_LABEL_ENC}=="?*",    ENV{ID_FS_USAGE}=="filesystem|other", \
        SYMLINK+="disk/by-label/$env{ID_FS_LABEL_ENC}"
 
+# by-partlabel/by-partuuid links (partition metadata)
+ENV{ID_PART_ENTRY_SCHEME}=="gpt",      ENV{ID_PART_ENTRY_UUID}=="?*", \
+       SYMLINK+="disk/by-partuuid/$env{ID_PART_ENTRY_UUID}"
+ENV{ID_PART_ENTRY_SCHEME}=="gpt",      ENV{ID_PART_ENTRY_NAME}=="?*", \
+       SYMLINK+="disk/by-partlabel/$env{ID_PART_ENTRY_NAME}"
+
 LABEL="persistent_storage_end"
 


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to