Bug 50365 - udev persitent storage and systemd rules are broken for device mapper block devices (lvm)
Summary: udev persitent storage and systemd rules are broken for device mapper block d...
Status: RESOLVED NOTOURBUG
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Lennart Poettering
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-25 16:57 UTC by Andrej Gelenberg
Modified: 2012-05-29 10:59 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Fix persistent storage and systemd udev rules for device mapper (1.82 KB, patch)
2012-05-25 16:57 UTC, Andrej Gelenberg
Details | Splinter Review

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.