Bug 50365

Summary: udev persitent storage and systemd rules are broken for device mapper block devices (lvm)
Product: systemd Reporter: Andrej Gelenberg <andrej.gelenberg>
Component: generalAssignee: Lennart Poettering <lennart>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Fix persistent storage and systemd udev rules for device mapper

Description Andrej Gelenberg 2012-05-25 16:57:02 UTC
Created attachment 62118 [details] [review]
Fix persistent storage and systemd udev rules for device mapper

1. udev don't create /dev/disk/by-uuid/* and /dev/disk/by-lable/*
  for device mapper block devices, which break mount target for home on
  lvm.
    
2. systemd.rules set SYSTEMD_READY=0 for device mapper block devices, so
   the device service don't come up.

Attached patch work well for me.

My system is unstable gentoo.
Comment 1 Lennart Poettering 2012-05-29 10:59:13 UTC
This really looks as if you compiled LVM without udev rules support. LVM is responsible for creating all tags/links/props on its own and does this correctly on Fedora and other distros. These checks you removed have been explicitly added to interact properly with the LVM logic otherwise.

Closing, since this appears to be distro-specific breakage in LVM, not in systemd.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.