diff mbox series

systemd: mount nfsd after load kernel module

Message ID 20250130113234.885998-1-andrej.kozemcak@siemens.com (mailing list archive)
State Handled Elsewhere
Headers show
Series systemd: mount nfsd after load kernel module | expand

Commit Message

Andrej Kozemcak Jan. 30, 2025, 11:32 a.m. UTC
Systemd should load nfs kernel module before it try mount nfsd file systemd.
In some systems systemd try mount nfsd file system before the nfs
kernel module was loaded, which end with error.

Signed-off-by: Andrej Kozemcak <andrej.kozemcak@siemens.com>
---
 systemd/proc-fs-nfsd.mount | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/systemd/proc-fs-nfsd.mount b/systemd/proc-fs-nfsd.mount
index 931a5cee..630801b3 100644
--- a/systemd/proc-fs-nfsd.mount
+++ b/systemd/proc-fs-nfsd.mount
@@ -1,5 +1,6 @@ 
 [Unit]
 Description=NFSD configuration filesystem
+After=systemd-modules-load.service
 
 [Mount]
 What=nfsd