systemd and dmcrypt/luks question

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

 



I'm using a non-Fedora filesystem (zfsonlinux) which provides
appropriate services and a target for systemd. The services state:

    Requires=systemd-udev-settle.service
    After=systemd-udev-settle.service

This works fine for basic usage, but if trying to use zfs over
dmcrypt/LUKS, the mount service apparently runs before the LUKS
volumes are opened (based on /etc/crypttab). Also it appears that the
LUKS volumes are closed before the zfs file systems are unmounted at
shutdown.

I tried adding:

    Wants=cryptsetup.target
    After=cryptsetup.target

to the [Unit] section of the zfs services, but that didn't seem to
help. Can anyone offer advice on how to properly represent the
necessary dependencies?  Ideally it should be done in a way that still
works if the system has no encrypted block devices.

If a suitable solution can be found, I'll be happy to send it upstream
to the zfsonlinux developers. Presumably this would be useful for use
of any other out-of-tree filesystems over dmcrypt.

Thanks!
Eric
-- 
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