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

2014-05-18 Thread Andy Kittner
On 16/05/14 16:31, Lennart Poettering wrote: > On Fri, 16.05.14 03:20, Andy Kittner (andy.kitt...@gmail.com) wrote: > "Minimal" configurations? Are you kidding? > > If you want something "minimal", then just use devtmpfs, and don't > involve userspace at a

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

2014-05-15 Thread Andy Kittner
On 15/05/14 23:33, Kay Sievers wrote: > On Thu, May 15, 2014 at 11:15 PM, Andy Kittner wrote: > > What is "Mounted Runtime Directory"? Is that /run? That must be part > of PID1's own early initialization, nothing to run externally. I thought so from the name, but apa

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

2014-05-15 Thread Andy Kittner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 15/05/14 23:38, Lennart Poettering wrote: > On Thu, 15.05.14 23:15, Andy Kittner (andy.kitt...@gmail.com) wrote: > >> | May 15 22:06:47 pinky systemd[1]: Mounted Runtime Directory. >> | May 15 22:06:47 pinky systemd[1]: Moun

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

2014-05-15 Thread Andy Kittner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 15/05/14 18:27, Lennart Poettering wrote: > Well, something appears to create your device nodes, and it shouldn't do > that... > > On a udev system userspace never creates any device nodes, that's done > on its own by the kernel via devtmpfs, ude

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

2014-05-15 Thread Andy Kittner
On 15/05/14 10:16, Kay Sievers wrote: > Are you running an initrd without udev, and/or tools that mess around > with mknod in /dev? No, the initrd uses udev and is created by copying cryptsetup etc. including all dependent libraries from the host system. I recreated it yesterday, so there are the

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

2014-05-14 Thread Andy Kittner
On 14/05/14 18:33, Lennart Poettering wrote: > On Tue, 13.05.14 20:01, Andy Kittner (andy.kitt...@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 creat

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

2014-05-13 Thread Andy Kittner
On 13/05/14 23:39, Zbigniew Jędrzejewski-Szmek wrote: > On Tue, May 13, 2014 at 08:01:21PM +0200, Andy Kittner 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

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

2014-05-13 Thread Andy Kittner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi all, first I hope I'm asking at the right place here, if not feel free to kick me in the right direction. Now, for my problem: I have several encrypted partions set up via /etc/crypttab Since the update to systemd-212 (from 207 I think) the fo