Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #77084

Re: Bug#1022172: Bug#1024082: Bug#1022172: /lib/modprobe.d/50-nfs.conf causes initramfs-tools to stop including sunrpc module for nfs

From Marco d'Itri <md@linux.it>
Newsgroups linux.debian.kernel
Subject Re: Bug#1022172: Bug#1024082: Bug#1022172: /lib/modprobe.d/50-nfs.conf causes initramfs-tools to stop including sunrpc module for nfs
Date 2022-11-14 19:10 +0100
Message-ID <FrM49-3Ieu-7@gated-at.bofh.it> (permalink)
References (5 earlier) <FrIMV-3G1R-1@gated-at.bofh.it> <FrKOJ-3HdQ-9@gated-at.bofh.it> <FrIWB-3G5D-5@gated-at.bofh.it> <FiZtD-fIWL-3@gated-at.bofh.it> <FrKOJ-3HdQ-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Try something like this in /lib/udev/rules.d/60-nfs.rules:

ACTION=="add", SUBSYSTEM=="module", KERNEL=="sunrpc", \
  RUN+="/sbin/sysctl -q --pattern ^sunrpc --system"
ACTION=="add", SUBSYSTEM=="module", KERNEL=="rpcrdma", \
  RUN+="/sbin/sysctl -q --pattern ^sunrpc.svc_rdma --system"
ACTION=="add", SUBSYSTEM=="module", KERNEL=="lockd", \
  RUN+="/sbin/sysctl -q --pattern ^fs.nfs.n[sl]m --system"
ACTION=="add", SUBSYSTEM=="module", KERNEL=="nfsv4", \
  RUN+="/sbin/sysctl -q --pattern ^fs.nfs.(nfs_callback_tcpport|idmap_cache_timeout) --system"
ACTION=="add", SUBSYSTEM=="module", KERNEL=="nfs", \
  RUN+="/sbin/sysctl -q --pattern ^fs.nfs --system"

Differently from the original file I tired anchoring the patterns, which 
looks more correct to me.

-- 
ciao,
Marco

Back to linux.debian.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: Bug#1022172: /lib/modprobe.d/50-nfs.conf causes initramfs-tools  to stop including sunrpc module for nfs Marco d'Itri <md@Linux.IT> - 2022-10-21 15:20 +0200
  Re: Bug#1022172: /lib/modprobe.d/50-nfs.conf causes initramfs-tools  to stop including sunrpc module for nfs Michael Prokop <mika@debian.org> - 2022-11-14 15:40 +0100
    Re: Bug#1022172: /lib/modprobe.d/50-nfs.conf causes initramfs-tools  to stop including sunrpc module for nfs Marco d'Itri <md@linux.it> - 2022-11-14 15:50 +0100
      Re: Bug#1024082: Bug#1022172: /lib/modprobe.d/50-nfs.conf causes  initramfs-tools to stop including sunrpc module for nfs Salvatore Bonaccorso <carnil@debian.org> - 2022-11-14 17:50 +0100
        Re: Bug#1022172: Bug#1024082: Bug#1022172:  /lib/modprobe.d/50-nfs.conf causes initramfs-tools to stop including sunrpc  module for nfs Marco d'Itri <md@linux.it> - 2022-11-14 19:10 +0100

csiph-web