[Pkg-zfsonlinux-devel] Bug#975873: Please hook zfs-share up to nfs-kernel-server stop+start
Andrei POPESCU
andreimpopescu at gmail.com
Sun Jan 10 08:51:36 GMT 2021
On Sb, 09 ian 21, 10:24:44, Michael Biebl wrote:
> Am 09.01.21 um 09:46 schrieb Andrei POPESCU:
>
> > If my understanding of systemd.unit(5) is correct this works as expected
> > when using the PartOf= directive: zfs-share is stopped or restarted
> > together with nfs-service, but not started.
>
> Right, PartOf= works as documented.
>
> > PartOf=
> > Configures dependencies similar to Requires=, but limited to
> > stopping and restarting of units. When systemd stops or restarts
> > the units listed here, the action is propagated to this unit. Note
> > that this is a one-way dependency — changes to this unit do not
> > affect the listed units.
>
>
> Can you elaborate why zfs-share.service uses
> PartOf=nfs-kernel-server.service ?
As far as I understand ZFS needs NFS to be up and running before being
able share any of its file systems via NFS.
Since I'm new to ZFS myself and my experience with NFS is also limited
I'll let the package Maintainer elaborate on that.
Kind regards,
Andrei
--
http://wiki.debian.org/FAQsFromDebianUser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-zfsonlinux-devel/attachments/20210110/c1e634a1/attachment.sig>
More information about the Pkg-zfsonlinux-devel
mailing list