git: 6f62e3a719bd - main - 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.

Xin LI delphij at FreeBSD.org
Mon Sep 20 05:26:13 UTC 2021


The branch main has been updated by delphij:

URL: https://cgit.FreeBSD.org/src/commit/?id=6f62e3a719bdaba2a1ccdafe4e3a810217aea817

commit 6f62e3a719bdaba2a1ccdafe4e3a810217aea817
Author:     Xin LI <delphij at FreeBSD.org>
AuthorDate: 2021-09-20 05:25:23 +0000
Commit:     Xin LI <delphij at FreeBSD.org>
CommitDate: 2021-09-20 05:25:26 +0000

    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


More information about the dev-commits-src-main mailing list