systemd and dmcrypt/luks question

Eric Smith spacewar at gmail.com
Mon Mar 23 03:54:50 UTC 2015


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:

  https://github.com/zfsonlinux/zfs/blob/master/etc/systemd/system/zfs-import-cache.service.in
  https://github.com/zfsonlinux/zfs/blob/master/etc/systemd/system/zfs-import-scan.service.in
  https://github.com/zfsonlinux/zfs/blob/master/etc/systemd/system/zfs-mount.service.in

There are a few others, as well as the target, in the same directory:
  https://github.com/zfsonlinux/zfs/blob/master/etc/systemd/system/zfs.target.in

>> I tried adding:
>>
>>     Wants=cryptsetup.target
>>     After=cryptsetup.target
> This should work, although it's hard to say without looking at
> the units.

Thanks! I'm only just starting to learn my way around systemd.


More information about the devel mailing list