Bug#975873: Please hook zfs-share up to nfs-kernel-server stop+start

Michael Biebl biebl at debian.org
Sat Jan 9 09:24:44 GMT 2021


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 ?

I never used ZFS, so I basically have zero knowledge how it is supposed 
to work.

Regards,
Michael



-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20210109/06c4b37b/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list