Bug#681809: udev: partuuid/partlabel symlinks not created
tags 681809 - fixed-upstream On Mon, Jul 16, 2012 at 10:02:51PM +0200, Marco d'Itri wrote: tag 681809 fixed-upstream thanks On Jul 16, Sam Morris s...@robots.org.uk wrote: The relevant udev rules may be found at line 126 of 60-persistent-storage.rules: I think this was fixed in udev 180. So, Sage Weil (from the Ceph project) investigated this further and pinpointed this to a Debian-specific bug rather than an upstream one. The partuuid/partlabel rules are after the: # probe filesystem metadata of disks KERNEL!=sr*, IMPORT{program}=/sbin/blkid -o udev -p $tempnode line which defines the environment for the rules to work. Apparently, just moving the partuuid rule to the end fixes this bug. So, this won't be fixed by a newer upstream in unstable. It also sounds like an obvious bug with an easy fix, so it might be worth it bringing this to stable too. Thanks, Faidon -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#681809: udev: partuuid/partlabel symlinks not created
On May 16, Faidon Liambotis parav...@debian.org wrote: So, this won't be fixed by a newer upstream in unstable. It also sounds like an obvious bug with an easy fix, so it might be worth it bringing this to stable too. I am not sure if I want to spend time working on a new stable release considering that there is a big number of bugs to be fixed, but this has already been fixed in the future unstable release (and that will be backported to stable). -- ciao, Marco signature.asc Description: Digital signature
Bug#681809: udev: partuuid/partlabel symlinks not created
On Mon, Jul 16, 2012 at 10:02:51PM +0200, Marco d'Itri wrote: On Jul 16, Sam Morris s...@robots.org.uk wrote: The relevant udev rules may be found at line 126 of 60-persistent-storage.rules: I think this was fixed in udev 180. Are you referring to 1b9e13e2e2c4755752e1e9fd8ff4399af7329ab8[1] aka 178~10? If so, it should be easy to either s/ID_// the rules.d file or backport that trivial patch. I guess I'm about a month late for wheezy now, but if you do an SPU for other reasons, it might be worth it to fix this too. Thanks, Faidon 1: http://git.kernel.org/cgit/linux/hotplug/udev.git/commit/?id=1b9e13e2e2c4755752e1e9fd8ff4399af7329ab8 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#681809: udev: partuuid/partlabel symlinks not created
Package: udev Version: 175-3.1 Severity: normal -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 AIUI, there are supposed to be symlinks at /dev/disks/by-part{uuid,label}/* when a disk is present using GPT. However, this doesn't happen for me. $ /sbin/udevadm info -q property -n sdc1 | grep PART ID_PART_ENTRY_DISK=8:32 ID_PART_ENTRY_NAME=Linux\x20reserved ID_PART_ENTRY_NUMBER=1 ID_PART_ENTRY_OFFSET=2048 ID_PART_ENTRY_SCHEME=gpt ID_PART_ENTRY_SIZE=8386527 ID_PART_ENTRY_TYPE=8da63339-0007-60c0-c436-083ac8230908 ID_PART_ENTRY_UUID=b5bc1dc2-779b-4895-ad7d-6606d7841a5c ID_PART_TABLE_TYPE=gpt UDISKS_PARTITION=1 UDISKS_PARTITION_ALIGNMENT_OFFSET=0 UDISKS_PARTITION_LABEL=Linux reserved UDISKS_PARTITION_NUMBER=1 UDISKS_PARTITION_OFFSET=1048576 UDISKS_PARTITION_SCHEME=gpt UDISKS_PARTITION_SIZE=4293901824 UDISKS_PARTITION_SLAVE=/sys/devices/pci:00/:00:0d.0/host3/target3:0:0/3:0:0:0/block/sdc UDISKS_PARTITION_TYPE=8DA63339-0007-60C0-C436-083AC8230908 UDISKS_PARTITION_UUID=B5BC1DC2-779B-4895-AD7D-6606D7841A5C The relevant udev rules may be found at line 126 of 60-persistent-storage.rules: # 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} The other symlinks (by-{uuid,path,id}) are created by udev as expected. - -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (540, 'testing'), (530, 'unstable'), (520, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages udev depends on: ii debconf [debconf-2.0] 1.5.44 ii libc6 2.13-33 ii libselinux12.1.9-5 ii libudev0 175-3.1 ii lsb-base 4.1+Debian7 ii util-linux 2.20.1-5.1 Versions of packages udev recommends: ii pciutils 1:3.1.9-5 ii usbutils 1:005-3 udev suggests no packages. - -- debconf information: udev/new_kernel_needed: false udev/title/upgrade: udev/reboot_needed: udev/sysfs_deprecated_incompatibility: -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlAEW38ACgkQshl/216gEHjnzwCfcSuFnK279uiMjWntlGjkWlEC 6XAAniVZ8NkL9UVkestI7CHsFA68XmxE =OcYW -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#681809: udev: partuuid/partlabel symlinks not created
tag 681809 fixed-upstream thanks On Jul 16, Sam Morris s...@robots.org.uk wrote: The relevant udev rules may be found at line 126 of 60-persistent-storage.rules: I think this was fixed in udev 180. -- ciao, Marco signature.asc Description: Digital signature