[Bug 290468] automountd writes its pidfile in a way which makes it fail to start on a netbooted system

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 24 Oct 2025 08:25:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290468

--- Comment #2 from Martin Birgmeier <d8zNeCFG@aon.at> ---
Actually, all pid files in /var/run except the one for sshd are empty in this
netbooted environment (but only automountd seems to be unhappy about it):

[0]# ll /var/run/*.pid
-rw-------  1 root wheel 0 Oct 24 09:22 /var/run/automountd.pid
-rw-------  1 root wheel 0 Oct 24 09:22 /var/run/autounmountd.pid
-rw-------  1 root wheel 0 Oct 24 09:22 /var/run/cron.pid
-rw-------  1 root wheel 0 Oct 24 09:22 /var/run/devd.pid
-rw-------  1 root wheel 0 Oct 24 09:22 /var/run/inetd.pid
-rw-------  1 root wheel 0 Oct 24 09:22 /var/run/mountd.pid
-rw-------  1 root wheel 0 Oct 24 09:22 /var/run/moused.pid
-rw-r--r--  1 root wheel 5 Oct 24 09:22 /var/run/sshd.pid
-rw-------  1 root wheel 0 Oct 24 09:22 /var/run/syslog.pid
[0]# 

I guess the pidfile stuff in -lutil needs some redesign to work via NFS.

-- 
You are receiving this mail because:
You are the assignee for the bug.