[Bug 240463] netwait is required for systems with SSD's as boot device

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 9 23:19:56 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240463

            Bug ID: 240463
           Summary: netwait is required for systems with SSD's as boot
                    device
           Product: Base System
           Version: 12.0-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: conf
          Assignee: bugs at FreeBSD.org
          Reporter: aryeh.friedman at gmail.com

After switching to an SSD as my boot device various services that required a
working network connection fail and/or have long pauses in startup.   In order
to give if_XXX time to go from down to up (/etc/netstart forces it down at
start of run) before such services are started netwait_if="XXX" is required.  
For example ntpdate, NIS and nfs mounts fail in the following /etc/rc.conf and
/etc/fstab is the netwait lines are missing from missing from /etc/rc.conf.

/etc/rc.conf:

hostname="neomarx"
ifconfig_re0="inet 192.168.11.40 netmask 255.255.255.0"
defaultrouter="192.168.11.1"
static_routes="specmed"
route_specmed="-net 10.31.10.0/24 192.168.11.30"
sshd_enable="YES"
ntpdate_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
zfs_enable="YES"
netwait_enable="YES"
netwait_if="re0"
nisdomainname="office"                                                          
nis_client_enable="YES"       
rpc_lockd_enable="YES"                                                          
rpc_statd_enable="YES"            
dbus_enable="YES"
tomcat9_enable="YES"
apache24_enable="YES"
mysql_enable="YES"
vboxnet_enable="YES"
devfs_system_ruleset="system"
devd_enable="YES"

/etc/fstab:

# Device                Mountpoint      FStype  Options         Dump    Pass#
/dev/ada0p3             none    swap    sw              0       0
/dev/ada1p3             none    swap    sw              0       0
server:/data/home       /usr/home               nfs     rw              0 0
server:/usr/local/com   /usr/local/com          nfs     rw              0 0
linprocfs   /compat/linux/proc  linprocfs       rw      0       0
linsysfs    /compat/linux/sys   linsysfs        rw      0       0
tmpfs    /compat/linux/dev/shm  tmpfs   rw,mode=1777    0       0
fdesc   /dev/fd         fdescfs         rw      0       0

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


More information about the freebsd-bugs mailing list