From owner-freebsd-bugs@FreeBSD.ORG Thu Jun 26 16:54:49 2014 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6ADB8FCA for ; Thu, 26 Jun 2014 16:54:49 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 39CB32105 for ; Thu, 26 Jun 2014 16:54:49 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5QGsnXM022968 for ; Thu, 26 Jun 2014 17:54:49 +0100 (BST) (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 191415] New: CARP password with "-" causes /etc/rc.d/netif to infinite loop Date: Thu, 26 Jun 2014 16:54:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 10.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: vivek@khera.org X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2014 16:54:49 -0000 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.