The linux rc.d script mounts several filesystems related to Linux ABI

compatibility layer.  When /compat is located on a ZFS other than /,
mount would fail because they were not mounted.

Solve this by moving `linux` to depend on `zfs` which mounts all ZFS
filesystems.

Differential Revision:	https://reviews.freebsd.org/D31848
MFC after:		2 weeks
This commit is contained in:
Xin LI 2021-09-19 22:25:23 -07:00
parent 2ac039f7be
commit 6f62e3a719

View File

@ -4,7 +4,7 @@
#
# PROVIDE: linux
# REQUIRE: kldxref
# REQUIRE: kldxref zfs
# KEYWORD: nojail
. /etc/rc.subr