On 19/04/2026 10:06, Lloyd wrote:
I have an OpenBSD box hanging on boot due to an unavailable NFS mount.
There was a power failure and my NFS server went offline. It's mounted
under OpenBSD in /etc/fstab with the following mount options:
server:/export/shared /mnt nfs rw,nodev,nosuid,soft,intr 0 0
When the OpenBSD box came back up, it was unreachable via ssh, so
having checked the console to see what was up, it showed:
Starting RPC daemons: .
NFS Portmap: RPC: Program not registered
with the second line flooding the console over and over.
Interestingly, this was not only preventing sshd from starting but
also login(1) was unavailable as the entire rc boot process was
hung up waiting for this NFS mount which was temporarily unavailable.
I thought I had the correct mount options to prevent this scenario
from happening, but apparently not. Any advice to keep unreliable
NFS mounts from halting boot would be appreciated!
Regards
Lloyd
Easiest way is to use mount_nfs from /etc/rc.local as that is executed
much later in rc.
Cheers,
Noth