
https://bugzilla.suse.com/show_bug.cgi?id=1200710 https://bugzilla.suse.com/show_bug.cgi?id=1200710#c24 --- Comment #24 from Antonio Feijoo <antonio.feijoo@suse.com> --- (In reply to Neil Brown from comment #18)
Sorry about this. I hadn't imagined the modprobe.d file being installed somewhere that sysctl didn't exist. One option might be to blacklist the file from the initramfs. However it is probably easier to make the scriptlet safe.
install sunrpc /sbin/modprobe .... && { /sbin/sysctl .... ; exit 0 ; }
seems to work. I'll submit an update.
Thanks Neil, I tried your patch (http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=5e60e38aa4ba251e...) and it works for me (at least there is no modprobe failure, I don't have a NFS test setup), but as a minor nitpick it still causes a log entry because stderr is not redirected to /dev/null:
Jul 04 08:13:17 localhost dracut-pre-udev[322]: sh: line 1: /sbin/sysctl: No such file or director
How about something like: install sunrpc /sbin/modprobe ... && { /sbin/sysctl ... 2>/dev/null ; exit 0 ; } -- You are receiving this mail because: You are on the CC list for the bug.