From nobody@FreeBSD.org  Tue Oct  9 06:28:30 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id EF6B1E89
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  9 Oct 2012 06:28:15 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 880FB90353
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  8 Oct 2012 23:16:33 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q98NGXSX055787
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 8 Oct 2012 23:16:33 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id q98NGXnE055786;
	Mon, 8 Oct 2012 23:16:33 GMT
	(envelope-from nobody)
Message-Id: <201210082316.q98NGXnE055786@red.freebsd.org>
Date: Mon, 8 Oct 2012 23:16:33 GMT
From: Garrett Cooper <yaneurabeya@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [rc] service netif restart <interface> doesn't delete old IPv6 addresses
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         172521
>Category:       conf
>Synopsis:       [rc] service netif restart <interface> doesn't delete old IPv6 addresses
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-rc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 09 22:30:06 UTC 2012
>Closed-Date:    Sun Nov 04 12:56:05 UTC 2012
>Last-Modified:  Sun Feb 03 22:31:09 UTC 2013
>Originator:     Garrett Cooper
>Release:        9.1-RC1
>Organization:
EMC Isilon
>Environment:
FreeBSD wf048.west.isilon.com 9.1-RC1 FreeBSD 9.1-RC1 #0: Mon Oct  1 13:07:27 PDT 2012     root@wf048.west.isilon.com:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
If I use the following procedure, it doesn't properly delete IPv6 addresses tied to an interface...

1. Configure an address in /etc/rc.conf, e.g.:

ifconfig_em1_ipv6="inet6 3ffe:501:ffff:100::2 prefixlen 64

2. Run service netif restart em1.
3. Verify address via ifconfig em1 | 3ffe:501:ffff:100::2 .
4. Comment out the ifconfig_* line above.
5. Run service netif restart em1 again.
6. Verify that the address has been deleted from the interface via ifconfig em1 | 3ffe:501:ffff:100::2 .
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-rc 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Oct 10 00:24:38 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=172521 
State-Changed-From-To: open->closed 
State-Changed-By: crees 
State-Changed-When: Sun Nov 4 12:56:05 UTC 2012 
State-Changed-Why:  
The correct approach is to netif stop, edit the file, then netif start, 
as with most rc.conf changes. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=172521 
>Unformatted:
