The way we're dealing with it at my site is as follows:
blacklist autofs4 module # echo "blacklist autofs4" > /etc/modprobe.d/autofs.conf # chmod 644 /etc/modprobe.d/autofs.conf # chown root:root /etc/modprobe.d/autofs.conf
load autofs module # echo "autofs" >> /etc/modules # reboot
This is forced on all our machines by cfengine just after the kickstart/preseed. YMMV. We don't use NIS or NFSv4 so don't blame me if this breaks anything as I have only tested it on my particular setup.
The way we're dealing with it at my site is as follows:
blacklist autofs4 module d/autofs. conf d/autofs. conf d/autofs. conf
# echo "blacklist autofs4" > /etc/modprobe.
# chmod 644 /etc/modprobe.
# chown root:root /etc/modprobe.
load autofs module
# echo "autofs" >> /etc/modules
# reboot
This is forced on all our machines by cfengine just after the kickstart/preseed. YMMV. We don't use NIS or NFSv4 so don't blame me if this breaks anything as I have only tested it on my particular setup.