Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 May 2020 16:32:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 246506] rc.d scripts for lagg and devmatch are misordered at startup
Message-ID:  <bug-246506-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246506

            Bug ID: 246506
           Summary: rc.d scripts for lagg and devmatch are misordered at
                    startup
           Product: Base System
           Version: 12.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: cperciva@FreeBSD.org

The devmatch rc.d script now automatically loads kernel modules -- thank you
Warner! -- which makes configuring wifi adapters much easier.

However: The devmatch rc.d script runs very late in the boot process, which
makes it incompatible with using lagg to switch automatically between wired=
 and
wireless networks
(https://www.freebsd.org/doc/handbook/network-aggregation.html#networking-l=
agg-wired-and-wireless)
-- if you try, you find that when lagg is created by /etc/rc.d/netif, it ca=
n't
attach the wifi adapter because said adapter doesn't have a driver loaded y=
et.

A workaround for this is "load the kernel modules via loader.conf and don't
rely on devmatch", but that's not the most user-friendly option.

A better fix might be to have lagg interfaces get created later in the boot
process; that might be problematic if devmatch needs a working network for =
some
reason.  I'm not sure why devmatch runs so late.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246506-227>