Re: [systemd-devel] udev device mapper rules for early boot?

2012-12-19 Thread Lennart Poettering
On Fri, 14.12.12 08:44, Nikolaus Rath (nikol...@rath.org) wrote: Looking at the relevant scripts, there doesn't seem to be any way to do that either. I can only enable or disable lvm in initrd globally, but I need to keep it enabled to mount the root fs. However, I just looked at the

Re: [systemd-devel] udev device mapper rules for early boot?

2012-12-14 Thread Colin Guthrie
'Twas brillig, and Andrey Borzenkov at 14/12/12 02:58 did gyre and gimble: В Thu, 13 Dec 2012 15:35:11 -0800 Nikolaus Rath nikol...@rath.org пишет: On 12/13/2012 08:35 AM, Andrey Borzenkov wrote: Now, I could add the missing rule and program to the initrd, but I feel this is really opening

Re: [systemd-devel] udev device mapper rules for early boot?

2012-12-13 Thread Andrey Borzenkov
В Mon, 10 Dec 2012 11:03:54 -0800 Nikolaus Rath nikol...@rath.org пишет: 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: [systemd-devel] udev device mapper rules for early boot?

2012-12-13 Thread Nikolaus Rath
On 12/13/2012 08:35 AM, Andrey Borzenkov wrote: В Mon, 10 Dec 2012 11:03:54 -0800 Nikolaus Rath nikol...@rath.org пишет: Hello, I have created a udev rule to set the owner of a specific block device: SUBSYSTEM==block,

Re: [systemd-devel] udev device mapper rules for early boot?

2012-12-13 Thread Andrey Borzenkov
В Thu, 13 Dec 2012 15:35:11 -0800 Nikolaus Rath nikol...@rath.org пишет: On 12/13/2012 08:35 AM, Andrey Borzenkov wrote: Now, I could add the missing rule and program to the initrd, but I feel this is really opening a can of worms, since I don't really *need* to change the device ownership

Re: [systemd-devel] udev device mapper rules for early boot?

2012-12-12 Thread Colin Guthrie
'Twas brillig, and Nikolaus Rath at 11/12/12 17:52 did gyre and gimble: On 12/11/2012 09:47 AM, Colin Guthrie wrote: 'Twas brillig, and Nikolaus Rath at 11/12/12 16:31 did gyre and gimble: On 12/11/2012 03:00 AM, Colin Guthrie wrote: 'Twas brillig, and Nikolaus Rath at 10/12/12 19:03 did gyre

Re: [systemd-devel] udev device mapper rules for early boot?

2012-12-11 Thread Colin Guthrie
'Twas brillig, and Nikolaus Rath at 10/12/12 19:03 did gyre and gimble: 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: [systemd-devel] udev device mapper rules for early boot?

2012-12-11 Thread Nikolaus Rath
On 12/11/2012 03:00 AM, Colin Guthrie wrote: 'Twas brillig, and Nikolaus Rath at 10/12/12 19:03 did gyre and gimble: Hello, I have created a udev rule to set the owner of a specific block device: SUBSYSTEM==block,

Re: [systemd-devel] udev device mapper rules for early boot?

2012-12-11 Thread Colin Guthrie
'Twas brillig, and Nikolaus Rath at 11/12/12 16:31 did gyre and gimble: On 12/11/2012 03:00 AM, Colin Guthrie wrote: 'Twas brillig, and Nikolaus Rath at 10/12/12 19:03 did gyre and gimble: Hello, I have created a udev rule to set the owner of a specific block device: SUBSYSTEM==block,

Re: [systemd-devel] udev device mapper rules for early boot?

2012-12-11 Thread Nikolaus Rath
On 12/11/2012 09:47 AM, Colin Guthrie wrote: 'Twas brillig, and Nikolaus Rath at 11/12/12 16:31 did gyre and gimble: On 12/11/2012 03:00 AM, Colin Guthrie wrote: 'Twas brillig, and Nikolaus Rath at 10/12/12 19:03 did gyre and gimble: Hello, I have created a udev rule to set the owner of a

[systemd-devel] udev device mapper rules for early boot?

2012-12-10 Thread Nikolaus Rath
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.