Bug 251211 - in netbooted machines, pid files for mountd, automountd, and autounmountd cannot be created, inhibiting their startup
Summary: in netbooted machines, pid files for mountd, automountd, and autounmountd can...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 12.2-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-17 09:28 UTC by Martin Birgmeier
Modified: 2020-11-17 18:19 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Birgmeier 2020-11-17 09:28:13 UTC
Scenario:
- FreeBSD 12.2-RELEASE #1 r367195M i386 with patches according to PR 250434 and PR 249438 applied
- netbooting the system (in a VirtualBox instance)
- the rc scripts are being executed

Result:
- the following error lines appear on the console:

...
Starting automountd.
automountd: cannot open or create pidfile "/var/run/automountd.pid": Operation not supported
/etc/rc: WARNING: failed to start automountd
Starting autounmountd.
autounmountd: cannot open or create pidfile "/var/run/autounmountd.pid": Operation not supported
/etc/rc: WARNING: failed to start autounmountd
...
Starting mountd.
mountd: cannot open or create pidfile: Operation not supported
...

- mountd is started
- automountd and autounmountd are not started

Expected result:
- pid file creation for mountd, automountd, and autounmountd should succeed
- automountd and autounmountd should be started

Scenario (continued):
- logging into the system using ssh
- executing "service automountd start && service autounmountd start"

Result:
- both services are started correctly; pid files are created

-- Martin