[Bug 212396] Dual ifconfig DHCP entries in rc.conf from install

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 5 23:26:39 UTC 2016


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

            Bug ID: 212396
           Summary: Dual ifconfig DHCP entries in rc.conf from install
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: conf
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: johannes at brilliantservice.co.jp

When installing 12-CURRENT to a laptop I had forgotten to plug in the network
cable so the DHCP configuration failed. I then plugged in the network cable and
selected DHCP again and configuration succeeded as expected. 

However, when examining the rc.conf after reboot I noticed dual entries like
'ifconfig_re0="DHCP"'. 

Maybe we should check if an entry already exists before adding again or add it
after success is confirmed. There are many reason the network configuration
could fail...

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


More information about the freebsd-bugs mailing list