From owner-freebsd-rc@FreeBSD.ORG Thu Jul 24 00:10:43 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5FBDC40B for ; Thu, 24 Jul 2014 00:10:43 +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 47B312A79 for ; Thu, 24 Jul 2014 00:10:43 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s6O0AhaG028520 for ; Thu, 24 Jul 2014 00:10:43 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-rc@FreeBSD.org Subject: [Bug 191252] [rc.conf] [vlan] [carp] broken alias syntax on vlan interfaces Date: Thu, 24 Jul 2014 00:10:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: agifford@infowest.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-rc@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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-rc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2014 00:10:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191252 agifford@infowest.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |agifford@infowest.com --- Comment #2 from agifford@infowest.com --- I can confirm this same problem with 9.3-RELEASE after upgrading from 9.2. ... ifconfig_em0="up" ## works vlan_em0="13 202" ## works ifconfig_em0_13="inet 10.0.0.5/24" ## works ifconfig_em0_13_aliases="inet 10.0.0.6/32 inet 10.0.0.12/32" ## FAILS miserable ... Alternatively, old-style: ... ifconfig_em0_13_alias0="inet 10.0.0.6/32" ## FAILS ifconfig_em0_13_alias1="inet 10.0.0.12/32" ## FAILS .. My WORK-AROUND for this BUG in the rc scripts was to resort to this: ifconfig_em0="up" vlan_em0="em0vlan13 em0vlan202" create_args_em0vlan13="vlan 13" create_args_em0vlan202="vlan 202" ifconfig_em0vlan13="inet 10.0.0.5/24" ifconfig_em0vlan13_aliases="inet 10.0.0.6/32 inet 10.0.0.12/32" ## WORKS So I'm betting it's that pesky dot-translated-to-underscore somewhere in the rc network script functions is biting the em0.13 interface syntax when it gets translated into em0_13 for the purposes of alias variables. Sincerely, Aaron Gifford -- You are receiving this mail because: You are the assignee for the bug.