From 6f62e3a719bdaba2a1ccdafe4e3a810217aea817 Mon Sep 17 00:00:00 2001 From: Xin LI Date: Sun, 19 Sep 2021 22:25:23 -0700 Subject: [PATCH] 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 --- libexec/rc/rc.d/linux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/rc/rc.d/linux b/libexec/rc/rc.d/linux index 23cb5acc6f99..fd3e3d902709 100755 --- a/libexec/rc/rc.d/linux +++ b/libexec/rc/rc.d/linux @@ -4,7 +4,7 @@ # # PROVIDE: linux -# REQUIRE: kldxref +# REQUIRE: kldxref zfs # KEYWORD: nojail . /etc/rc.subr