Skip to content

Replace sysctl setting invocations triggered from udev rule instead of modprobe configuration

Salvatore Bonaccorso linux-nfs 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyIn review
  2. v14 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- Fix a series of spelling and typos in the commit messages.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Revert "configure: make modprobe.d directory configurable."configure.ac systemd/Makefile.am+2 -160 replies
2/4Revert "modprobe: protect against sysctl errors"systemd/50-nfs.conf+5 -50 replies
3/4Revert "systemd: Apply all sysctl settings when NFS-related modules are loaded"systemd/50-nfs.conf systemd/Makefile.am+2 -240 replies
4/4systemd: Apply all sysctl settings through udev rule when NFS-related modules are loadedsystemd/60-nfs.rules systemd/Makefile.am+28 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/4] Replace sysctl setting invocations triggered from udev rule instead of modprobe configuration

Hi Neil, hi Steve

In Debian for the update including the systemd/50-nfs.conf there was a report that sunrpc is not included anymore in the initrd through the initramfs-tools hooks.

The report is at https://bugs.debian.org/1022172

Marco d'Itri suggested there three possible solutions, of which one could be done in nfs-utils (whereas the other two are either in kmod upstream or initramfs-tools upstream). The nfs-utils one would be to replace the modprobe configuration with a set of udev rules instead.

This series reverts the commits which introduce the use of the modprobe configuration and instead replaces it with an udev rule which triggers setting the sysctl settings when the respective modules are loaded.

Regards,
Salvatore

Changes:
--------
v2:
- Fix a series of spelling and typos in the commit messages.

Salvatore Bonaccorso (4):
Revert "configure: make modprobe.d directory configurable." Revert "modprobe: protect against sysctl errors"
Revert "systemd: Apply all sysctl settings when NFS-related modules
are loaded"
systemd: Apply all sysctl settings through udev rule when NFS-related
modules are loaded

 configure.ac         | 12 ------------
 systemd/50-nfs.conf  | 16 ----------------
 systemd/60-nfs.rules | 21 +++++++++++++++++++++
 systemd/Makefile.am  | 15 ++++++---------
 4 files changed, 27 insertions(+), 37 deletions(-)
 delete mode 100644 systemd/50-nfs.conf
 create mode 100644 systemd/60-nfs.rules
Signature · 1 line
2.38.1