<tt><font size=2>Lennart Poettering <lennart@poettering.net> wrote
on 04/30/2015 02:39:45 AM:<br>
> On Wed, 29.04.15 12:09, Aaron_Wright@selinc.com <br>
> (Aaron_Wright@selinc.com) wrote:<br>
> <br>
> > I applied those other commits you listed, and I took a look at
the lvm2 <br>
> > package, which was being compile with "--disable-udev_sync"
and "<br>
> > --disable-udev_rules". I enabled both of those and recompiled
both lvm2 <br>
> > and systemd.<br>
> > <br>
> > Nothing changed. Sometimes var.mount is still bound to an inactive
<br>
> > /dev/mapper/<name>.<br>
> <br>
> Well, it will be bound to it, but systemd should not act on it<br>
> anymore and unmount it.<br>
> <br>
> Also, th device should become active as soon as udev ran and <br>
> reprobed everything.<br>
> <br>
> > Do I need the *.rules files from lvm2?<br>
> <br>
> Well, you do need the DM ones at least. That's actually where the<br>
> interesting bits are sicne they properly probe the LUKS device and<br>
> make it available for other components including systemd to pick it
up.<br>
</font></tt>
<br><tt><font size=2>I added a couple udev rules that are present in the
Ubuntu dmsetup package for my distribution, and now I get a couple errors
from systemd-udevd:</font></tt>
<br>
<br><tt><font size=2>systemd-udevd[153]: conflicting device node '/dev/mapper/91caea2d-0e19-441e-9ea7-7be1ed345e96'
found, link to '/dev/dm-1' will not be created</font></tt>
<br><tt><font size=2>systemd-udevd[154]: conflicting device node '/dev/mapper/d8668b2e-3a40-46df-8c64-f369a1a7a09c'
found, link to '/dev/dm-0' will not be created<br>
</font></tt>
<br><tt><font size=2>With status as:</font></tt>
<br>
<br><tt><font size=2>  dev-mapper-91caea2d\x2d0e19\x2d441e\x2d9ea7\x2d7be1ed345e96.device
      loaded    activating tentative /dev/mapper/91caea2d-0e19-441e-9ea7-7be1ed345e96</font></tt>
<br><tt><font size=2>  dev-mapper-d8668b2e\x2d3a40\x2d46df\x2d8c64\x2df369a1a7a09c.device
      loaded    activating tentative /dev/mapper/d8668b2e-3a40-46df-8c64-f369a1a7a09c</font></tt>
<br>
<br><tt><font size=2>The system seems to work just fine though, so I'm
wondering if I should ignore these errors and move on. I'm sure what the
impact is.</font></tt>