From nobody@FreeBSD.org  Mon Nov 14 01:34:54 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 23525106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 14 Nov 2011 01:34:54 +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 1337F8FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 14 Nov 2011 01:34:54 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id pAE1Yq7X020472
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 14 Nov 2011 01:34:52 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id pAE1YqHH020471;
	Mon, 14 Nov 2011 01:34:52 GMT
	(envelope-from nobody)
Message-Id: <201111140134.pAE1YqHH020471@red.freebsd.org>
Date: Mon, 14 Nov 2011 01:34:52 GMT
From: Matthew Lager <mlager@sdunix.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: rtadvd not working, reporting non-zero lifetime RA on RA receiving interface
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         162547
>Category:       bin
>Synopsis:       rtadvd(8) not working, reporting non-zero lifetime RA on RA receiving interface [regression]
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 14 01:40:07 UTC 2011
>Closed-Date:    Tue Dec 13 01:51:44 UTC 2011
>Last-Modified:  Sun Jan  8 13:50:08 UTC 2012
>Originator:     Matthew Lager
>Release:        9.0-RC1
>Organization:
SDUNIX
>Environment:
FreeBSD g03.rpsol.net 9.0-RC1 FreeBSD 9.0-RC1 #0: Tue Oct 18 18:30:38 UTC 2011     root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
In FreeBSD 8.2-RELEASE, rtadvd is working properly, and clients are receiving IPv6 addresses. When trying the same configuration in 9.0-RC1, rtadvd reports:

Nov 13 18:19:31 g03 rtadvd[2818]: non-zero lifetime RA on RA receiving interface re1.  Ignored.

At this point, rtadvd fails to advertise IPv6 addresses to clients. After
reading the man page, it looked like passing the -s flag to rtadvd would
suppress this behavior, but that had no effect.

To test, I commented out the block of code in /usr/src/usr.sbin/rtadvd/rtadvd.c
that handled this, recompiled and installed, and rtadvd works as it did in
FreeBSD 8.2-RELEASE.
>How-To-Repeat:
Enable rtadvd using the following flags in rc.conf:

rtadvd_enable="YES"
rtadvd_interfaces="re1"
>Fix:
Lines 1701 through 1724 were commented out in /usr/src/usr.sbin/rtadvd/rtadvd.c.
rtadvd was recompiled and installed, then started, which resumed operation as
it existed in 8.2-RELEASE.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Tue Dec 13 01:50:50 UTC 2011 
State-Changed-Why:  
From misfiled PR caught in spamtrap: 

Date: Mon, 12 Dec 2011 09:29:06 -0700 
From: Matt Lager <matt@rock-pond.com> 
To: bug-followup@FreeBSD.org 
Subject: Re: bin/162547: rtadvd(8) not working, reporting non-zero lifetime 
RA on RA receiving interface [regression] 
Content-Type: multipart/alternative; 
boundary="------------080803070203050405080105" 

This is a multi-part message in MIME format. 
--------------080803070203050405080105 
Content-Type: text/plain; charset=ISO-8859-1; format=flowed 
Content-Transfer-Encoding: 7bit 

This appears to be fixed in 9.0-RC2, after upgrading I did NOT have to  
modify the /usr/src/usr.sbin/rtadvd/rtadvd.c as explained in this bug  
report for things to work properly. 
--  
*Matt Lager*, Chief Technology Officer | *Office:* 858-935-1130 |  
*Cell:* 501-215-3737 | http://rock-pond.com 

/Giving you the *INFORMATION* you Need from the *DATA* you've got/ 

--  
This message has been scanned for viruses and 
dangerous content by MailScanner, and is 
believed to be clean. 

--------------080803070203050405080105-- 

http://www.freebsd.org/cgi/query-pr.cgi?pr=162547 

From: Spil Oss <spil.oss@gmail.com>
To: bug-followup@FreeBSD.org, mlager@sdunix.com
Cc:  
Subject: Re: bin/162547: rtadvd(8) not working, reporting non-zero lifetime RA
 on RA receiving interface [regression]
Date: Sun, 8 Jan 2012 14:22:36 +0100

 Fixed this by adding rltime#0 to the /etc/rtadvd/conf entries like so
 
 em0:\
         :addr="DEAD:BEEF:CAFE:1::":prefixlen#64:rltime#0:
>Unformatted:
