Bug 223552

Summary: setting ":sticky" option to cloned_interfaces, errors occurred when invoke a "netif start".
Product: Base System Reporter: hashiz
Component: binAssignee: Hiroki Sato <hrs>
Status: New ---    
Severity: Affects Some People CC: net
Priority: --- Keywords: patch
Version: 11.1-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
fix patch none

Description hashiz 2017-11-09 05:37:03 UTC
Created attachment 187874 [details]
fix patch

stenmark% grep cloned_interfaces /etc/rc.conf
cloned_interfaces="gif0:sticky"
stenmark% sudo /etc/rc.d/netif start
ifconfig: interface gif0:sticky does not exist
eval: ${ifconfig_gif0:s...}: Bad substitution
eval: ${ifconfig_gif0:s...}: Bad substitution
eval: ${ipv6_prefix_gif0:s...}: Bad substitution
eval: ${ipv6_ifconfig_gif0:s...}: Bad substitution
eval: ${ipv4_addrs_gif0:s...}: Bad substitution
eval: ${ifconfig_gif0:s...}: Bad substitution
eval: ${ipv4_addrs_gif0:s...}: Bad substitution
eval: ${ifconfig_gif0:s...}: Bad substitution
eval: ${ifconfig_gif0:s...}: Bad substitution
eval: ${ifconfig_gif0:s...}: Bad substitution
eval: ${ifconfig_gif0:s...}: Bad substitution
eval: ${ipv4_addrs_gif0:s...}: Bad substitution
eval: ${ifconfig_gif0:s...}: Bad substitution
eval: ${wlans_gif0:s...}: Bad substitution
eval: ${vlans_gif0:s...}: Bad substitution
Starting Network: lo0 vtnet0 vtnet1 gif0:sticky.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet 127.0.0.1 netmask 0xff000000
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        groups: lo

- snip -

ifconfig: interface gif0:sticky does not exist
stenmark% ifconfig gif0
gif0: flags=8010<POINTOPOINT,MULTICAST> metric 0 mtu 1280
        options=80000<LINKSTATE>
        nd6 options=69<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL,NO_RADR>
        groups: gif
Comment 1 hashiz 2018-10-22 23:57:34 UTC
Does anyone watch this report?
Comment 2 Eugene Grosbein freebsd_committer freebsd_triage 2018-10-23 09:16:25 UTC
Assign to the author of sticky interface feature.