NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/59601: ifconfig -C does not list wg until wg* is once created



>Number:         59601
>Category:       kern
>Synopsis:       ifconfig -C does not list wg until wg* is once created
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 17 03:35:00 +0000 2025
>Originator:     Tetsuya Isaki
>Release:        NetBSD 10.1 and -current
>Organization:
>Environment:
NetBSD 11.99.1 amd64
>Description:
ifconfig -C does not list wg until wg* is once created.

/etc/rc.d/network invokes /etc/ifconfig.* by using list of "ifconfig -C".
Therefore, wg0 interface was not created at boot time even though I had
wrote /etc/ifconfig.wg0 file.

I first noticed this on 10.1, and it also occurs on -current.
>How-To-Repeat:
# ifconfig -l
wm0 lo0
# ifconfig -C
vether bridge ipsec carp lagg agr pppoe vlan tun tap sl stf ppp lo l2tp gre gif npflog
# ifconfig wg0 create
# ifconfig -l
wm0 lo0 wg0
# ifconfig -C
wg vether bridge ipsec carp lagg agr pppoe vlan tun tap sl stf ppp lo l2tp gre gif npflog
# 
>Fix:
I don't know.



Home | Main Index | Thread Index | Old Index