Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jun 2014 05:04:31 +0000
From:      bz-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 190818] New: /etc/rc.d/netif enters an endless cycle when ipv6 aliases are configured
Message-ID:  <bug-190818-8@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 190818
           Summary: /etc/rc.d/netif enters an endless cycle when ipv6
                    aliases are configured
           Product: Base System
           Version: 10.0-STABLE
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: emz@norma.perm.ru

In a setup like this

ifconfig_vlan1="192.168.3.22/24 vlan 1 vlandev bce0"
ifconfig_vlan1_alias0="inet 192.168.3.13/32 vhid 5 advskew 50 pass
XXXXXXXXXXXXXX"
ifconfig_vlan1_alias1="inet 192.168.3.1/32 vhid 5 advskew 50 pass
XXXXXXXXXXXXXX"
ifconfig_vlan1_alias2="inet6 fd00::301 prefixlen 120 vhid 5 advskew 50 pass
XXXXXXXXXXXXXX -accept_rtadv"
ifconfig_vlan15="192.168.7.7/24 vlan 15 vlandev bce0"
ifconfig_vlan15_alias0="inet 192.168.7.2/24"
ifconfig_vlan15_alias1="inet 192.168.7.6/24 vhid 7 advskew 50 pass
XXXXXXXXXXXXXX"
ifconfig_vlan15_alias2="inet6 fd00::701 prefixlen 120 vhid 7 advskew 50 pass
XXXXXXXXXXXXXX"
rtadvd_interfaces="vlan1 vlan15"
ifconfig_vlan1_ipv6="inet6 fd00::0316 prefixlen 120 -accept_rtadv"
ifconfig_vlan15_ipv6="inet6 fd00::0702 prefixlen 120 -accept_rtadv"

FreeBSD can never enter a multiuser because the startup process is stuck in an
endless cycle. For some reason ifalias_expand_addr() is called with ipv6
arguments instead of ifalias_expand_addr_inet6.

May be carp has something to do with it.

In the video provided the server tried to boot with the config above, it enters
the first endless cycle on first interface, after a while I hit Ctrl-C
repeatedly, the booting process immediately enters the endless cycle in the
second interface, after a bunch of Ctrl-C it finally boots up.

Link: http://unix.zhegan.in/files/output.mkv (about 8 megs, x264-encoded video
from server's ipkvm).

-- 
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-190818-8>