Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Nikolaus Rath <Nikolaus <at> rath.org>
Subject: udev device mapper rules for early boot?
Newsgroups: gmane.comp.sysutils.systemd.devel
Date: Monday 10th December 2012 19:03:54 UTC (over 5 years ago)
Hello,

I have created a udev rule to set the owner of a specific block device:

SUBSYSTEM=="block",
ENV{DM_UUID}=="LVM-yYuoI8k05GWxZnz9BeEIwPUGGeojzF3dZZmXTYRqC051Tllj76OHdDlzYhKZUu7u",
OWNER="1000"

If I disable and re-enable this logical volume with lvchange, it gets
created with the correct owner.

However, when I boot the computer, the device is always owned by
root:disk instead.

I checked my initrd, and the rule is present in lib/udev/rules.d as
99-udev-custom.rules.

Does anyone have a suggestion of how I could debug this further? Why is
my rule ignored when the volume comes up the first time?

Best,
Nikolaus
 
CD: 4ms