From 1253fcc70ac91d43c382edce4b06633466aa6f3f Mon Sep 17 00:00:00 2001 From: "M. Zhou" <5723047+cdluminate@users.noreply.github.com> Date: Wed, 6 Nov 2019 19:36:33 +0000 Subject: [PATCH] Add a notice in /etc/defaults/zfs for systemd users Some systemd users may want to change configurations in /etc/defaults/zfs, but these settings won't affect systemd services. Reviewed-by: Brian Behlendorf Signed-off-by: Mo Zhou Closes #9544 --- etc/init.d/zfs.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/etc/init.d/zfs.in b/etc/init.d/zfs.in index d4ad1beaa..42fc1161c 100644 --- a/etc/init.d/zfs.in +++ b/etc/init.d/zfs.in @@ -1,5 +1,11 @@ # ZoL userland configuration. +# NOTE: This file is intended for sysv init and initramfs. +# Changing some of these settings may not make any difference on +# systemd-based setup, e.g. setting ZFS_MOUNT=no will not prevent systemd +# from launching zfs-mount.service during boot. +# See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901436 + # To enable a boolean setting, set it to yes, on, true, or 1. # Anything else will be interpreted as unset.