Re: systemd and dmcrypt/luks question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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.
Hm, this seems OK. Can you verify with 'systemctl show -p
Before,After,Wants,Requires,WantedBy,RequiredBy ...' that the dependencies are there
as expected?

zfs-import-cache.service has After=cryptsetup.target, and
zfs-mount.service has After=zfs-import-cache.service, so the ordering should be there.

Zbyszek
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux