Bug 139255 - 8.0-RC1 network.subr calls route(8) with obsolete parameter "cloning"
Summary: 8.0-RC1 network.subr calls route(8) with obsolete parameter "cloning"
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: 8.0-BETA4
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-30 17:00 UTC by jfb
Modified: 2018-01-03 05:16 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jfb 2009-09-30 17:00:10 UTC
When booting a FreeBSD 8.0 (BETAx, RC1) system with IPv6 enabled and "ipv6_default_interface" set, route(8) is called with the obsolete "-cloning" parameter in /etc/network.subr (line 1062-63 of CVS version 1.195.2.4):

route: bad keyword: cloning
usage: route [-dnqtv] command [[modifiers] args]

In context,
[...]
Starting Network: lo0 em0.
add net default: gateway 141.219.4.1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
net.inet6.ip6.forwarding: 0 -> 0
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
        inet6 fe80::20c:29ff:fe2a:2bff%em0 prefixlen 64 tentative scopeid 0x1 
        inet6 2001:48a8:0:2::b7 prefixlen 64 tentative 
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=3<RXCSUM,TXCSUM>
        inet6 ::1 prefixlen 128 
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 
add net fe80::: gateway ::1
route: bad keyword: cloning
usage: route [-dnqtv] command [[modifiers] args]
IPv4 mapped IPv6 address support=NO
Setting date via ntp.
[...]

IPv6 settings in /etc/rc.conf:

ipv6_enable=YES
ipv6_ifconfig_em0='2001:48a8:0:2::b7 prefixlen 64'
ipv6_default_interface=em0

How-To-Repeat: Configure 8.0 system with IPv6 settings as described above and boot it into multi-user mode.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:30 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped