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

2021-01-10 Thread Andrei POPESCU
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. >

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

2021-01-09 Thread Trent W. Buck
PPS: code links below Trent W. Buck wrote: > Michael Biebl wrote: > > I never used ZFS, so I basically have zero knowledge how it is supposed to > > work. > > Here is a rough summary, I hope this helps! > > * USUALLY that is all you need. >ZFS calls mount/umount/exportfs/... automatically

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

2021-01-09 Thread Trent W. Buck
Michael Biebl wrote: > I never used ZFS, so I basically have zero knowledge how it is supposed to > work. Here is a rough summary, I hope this helps! ZFS glossary: * a "vdev" is an underlying physical disks/partitions (e.g. /dev/sda) * a "pool" is made of 1 or more vdevs (e.g. "morpheus") *

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

2021-01-09 Thread Andrei POPESCU
On Sb, 09 ian 21, 11:25:34, Andrei POPESCU wrote: > On Jo, 26 nov 20, 14:06:15, Trent W. Buck wrote: > > > > 1. I zfs set sharenfs (not /etc/exports), because > > it makes config management a little easier (exports(5) lacks a > > "drop-in" dir). > > BTW, /etc/exports.d/ is supported for

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

2021-01-09 Thread Andrei POPESCU
On Jo, 26 nov 20, 14:06:15, Trent W. Buck wrote: > > 1. I zfs set sharenfs (not /etc/exports), because > it makes config management a little easier (exports(5) lacks a "drop-in" > dir). BTW, /etc/exports.d/ is supported for quite some time, see e.g. #676604. Unfortunately it seems that

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

2021-01-09 Thread Michael Biebl
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=

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

2021-01-09 Thread Andrei POPESCU
[really Cc'ing needrestart maintainers, sorry for duplicates] On Jo, 26 nov 20, 14:06:15, Trent W. Buck wrote: > Package: zfsutils-linux > Version: 0.8.4-1~bpo10+1 > Severity: minor > > I'm not sure who is 'at fault' here, or where the fix belongs. > > The problem I ran into was this: > > 1.

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

2021-01-09 Thread Andrei POPESCU
On Jo, 26 nov 20, 14:06:15, Trent W. Buck wrote: > Package: zfsutils-linux > Version: 0.8.4-1~bpo10+1 > Severity: minor > > I'm not sure who is 'at fault' here, or where the fix belongs. > > The problem I ran into was this: > > 1. I zfs set sharenfs (not /etc/exports), because > it makes

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

2020-11-25 Thread Trent W. Buck
Package: zfsutils-linux Version: 0.8.4-1~bpo10+1 Severity: minor I'm not sure who is 'at fault' here, or where the fix belongs. The problem I ran into was this: 1. I zfs set sharenfs (not /etc/exports), because it makes config management a little easier (exports(5) lacks a "drop-in"