freebsd-dev/etc
James Lee 3f1cc17c90 Reorder zfs-* services to allow /var on separate dataset
ZED depends on /var.  When /var is a separate dataset, it must be
mounted before starting ZED.  This change moves the zfs-zed service
from starting first, to starting after zfs-mount, but before zfs-share.

As discussed in issue #3513, ZED does not need to start first in order
to consume events made during the zfs-import and zfs-mount services.
The events will be queued and can be handled later in the boot process.

ZED may, however, handle sharing in the future, so it should be started
before the zfs-share service.

This commit also stops the zfs-import service from writing temp files
to /var/tmp on shutdown and it corrects the return code for the OpenRC
service.

Other OpenRC-specific changes noted in issue #3513 were reitereated in
issue #3715 and committed in da619f3.

Signed-off-by: James Lee <jlee@thestaticvoid.com>
Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3513
2015-09-02 09:16:39 -07:00
..
init.d Reorder zfs-* services to allow /var on separate dataset 2015-09-02 09:16:39 -07:00
modules-load.d Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
systemd Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
zfs vdev_id: support per-channel slot mappings 2014-01-17 11:17:54 -08:00
Makefile.am Add systemd unit files for ZFS startup 2014-02-05 12:25:30 -08:00