https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191415
Bug ID: 191415
Summary: CARP password with "-" causes /etc/rc.d/netif to
infinite loop
Product: Base System
Version: 10.0-RELEASE
Hardware: Any
OS: Any
Status: Needs Triage
Severity: Affects Some People
Priority: Normal
Component: conf
Assignee: freebsd-bugs@FreeBSD.org
Reporter: vivek@khera.org
I just upgraded a system from freebsd 9.1 to 10.0-p6. It is a member of a CARP
cluster, so I updated the configuration as follows:
ifconfig_em0_alias0="inet 192.168.97.97/23 vhid 205 advskew 100 pass aaa-bbb"
in my /etc/rc.conf file. Previously, it was on a cloned interface carp0. The
em0 interface also has its own IP address for the machine.
On reboot, the machine 'hangs' running /etc/rc.d/netif. Booting into single
user and commenting out that one line lets it boot, albeit without the
necessary CARP address activated.
I played around with it, and I discovered that if I remove the "-" in the
password, the netif script completes.
However, it still does not apply the CARP address alias, but this PR is about
the infinite loop, and likely I'm doing something wrong to set the address.
Environment:
System: FreeBSD redfish.kcilink.com 10.0-RELEASE-p6 FreeBSD 10.0-RELEASE-p6 #2
r267868: Wed Jun 25 09:49:14 EDT 2014
vivek@lorax.kcilink.com:/u/lorax1/usr10/obj/u/lorax1/usr10/src/sys/KCI64 amd64
How-To-Repeat:
add an alias similar to the one above, then run
sh -x /etc/rc.d/netif restart
to watch it go into an infinite loop.
Fix:
Do not use "-" in the CARP password of an ifconfig alias in /etc/rc.conf
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"