systemd and dmcrypt/luks question
zbyszek at in.waw.pl
Mon Mar 23 05:17:46 UTC 2015
On Sun, Mar 22, 2015 at 09:54:50PM -0600, Eric Smith wrote:
> On Sun, Mar 22, 2015 at 9:15 PM, Zbigniew Jędrzejewski-Szmek
> <zbyszek at in.waw.pl> wrote:
> > I vaguely recall that zfsonlinux did some very strange things. How
> > do the units you are using look?
> These are the three that I think are relevant:
> There are a few others, as well as the target, in the same directory:
> >> I tried adding:
> >> Wants=cryptsetup.target
> >> After=cryptsetup.target
> > This should work, although it's hard to say without looking at
> > the units.
Hm, this seems OK. Can you verify with 'systemctl show -p
Before,After,Wants,Requires,WantedBy,RequiredBy ...' that the dependencies are there
zfs-import-cache.service has After=cryptsetup.target, and
zfs-mount.service has After=zfs-import-cache.service, so the ordering should be there.
More information about the devel