On 10/28/2012 08:33 AM, Martin Blumenstingl wrote: > Hi, > > I switched to systemd yesterday as I was curious if/how it would work > out for me. > There is one really annoying thing so far: > > I have 3 hard disks listed in /etc/crypttab. > I have to enter a password for each one at boot time. > Three disks means three passwords (strong, 15+ characters). > > It turns out that the order in which I'm asked for the passwords at startup > is completely random. > At first I was asked in an alphabetical order (/mnt/a, /mnt/b, /mnt/c). > On the next reboot it used the order in which the disks are listed in > /etc/crypttab. > The reboot after that had a completely different order. > > Is there any fix for this behavior? > I'm using systemd 195 on Arch Linux. > > Kind Regards, > Martin > _______________________________________________ > systemd-devel mailing list > systemd-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/systemd-devel >
You can save the unit file in /run/systemd/generators to /etc/systemd/system and add After= lines to put them in a set order. In general, we should probably add the block device or label to the password prompt. _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel