[systemd-devel] cryptsetup vs. swapon/fsck (some kind of race condition)

Kay Sievers kay at vrfy.org
Thu May 15 01:16:51 PDT 2014


On Thu, May 15, 2014 at 2:30 AM, Andy Kittner <andy.kittner at gmail.com> wrote:
> On 14/05/14 18:33, Lennart Poettering wrote:
>> On Tue, 13.05.14 20:01, Andy Kittner (andy.kittner at gmail.com) wrote:
>>
>>> | May 13 18:50:33 pinky systemd-udevd[2751]: conflicting device node
>>> '/dev/mapper/swap' found, link to '/dev/dm-1' will not be created
>>> Thats the first one I find a bit fishy, but it doesn't sound fatal
>>> either...
>>
>> This really looks as if you built the DM userspace stuff without udev
>> support. File a bug against you distro.
>
> That should not be the case, the udev useflag is enabled across the
> board and I just double-checked cryptsetup, libdevmapper and dmsetup
> with ldd;
> all are linked against libudev.
>
> Is there anything else I could/should check?

Are you running an initrd without udev, and/or tools that mess around
with mknod in /dev?

Kay


More information about the systemd-devel mailing list