Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2014 08:18:24 -0500 (EST)
From:      Darrel <levitch@iglou.com>
To:        Ryan Steinmetz <zi@FreeBSD.org>
Cc:        FreeBSD-stable@FreeBSD.org
Subject:   Re: freeradius3 dhcp.dictionary error
Message-ID:  <alpine.GSO.2.00.1401230813020.16207@shell1>
In-Reply-To: <20140122223636.GA68486@exodus.zi0r.com>
References:  <alpine.GSO.2.00.1401221249020.8621@shell1> <20140122195843.GA901@exodus.zi0r.com> <alpine.GSO.2.00.1401221513160.21856@shell1> <20140122210752.GA35660@exodus.zi0r.com> <alpine.GSO.2.00.1401221617470.27131@shell1> <20140122223636.GA68486@exodus.zi0r.com>

next in thread | previous in thread | raw e-mail | index | archive | help

>> 
>> installed 3 onto a system that had 2.x ?  the dictionaries dont get
>> overwritten.
>> it appears you have v2 dictionary - which FR3 really wont like.
>> -----------------------------------------------------------------------
>>   Yes.  It works in the default distribution.
>>
>>   Please try downloading the "tar" file from the freeradius.org site.
>> Do the normal "./configure; make; make install".  Then try to run the
>> server.
>>
>>   If it works, file a bug with the FreeBSD people.  They've mangaged to
>> break the server.
>>
>>   If it doesn't work, I'll see if I have a FreeBSD system around
>> somewhere for testing.
>> -----------------------------------------------------------------------
>> Darrel
>
> I suspect that net/freeradius3 was installed on a system with
> net/freeradius2 already installed on it.  It looks like the CONFLICTS
> line was not correct after a commit was made to net/freeradius3.
>
> If you had pkg_delete'd the existing port before installing 3.0.0, I
> suspect everything would have gone as expected.
>
> I've updated the CONFLICTS line to resolve this.
>

This is actually an installation of FreeBSD10 release, upgraded from a 
release candidate, -rc4 if I recall correctly.  It never had freeradius 
until version 3.

So, I ran this:

# cd /usr/ports/net/freeradius
# rm -rf /usr/local/etc/raddb
!-- my rm is aliased to srm.  not significant
# portsnap fetch update
# make install clean
# radiusd -XC

Errors reading dictionary:  dict_init: 
/usr/local/share/freeradius/dictionary.dhcp[208]:  Type "tlv" can only be 
for "format=1,1"

dictionary.dhcp is dated 2011.

Same error.  Also, someone from FreeRadius list mentioned that there *is 
no* such information on line 208.

I am surprised to be the only one seeing this.  Perhaps the FreeRadius 
admins are comfy with their old installations?

Darrel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.GSO.2.00.1401230813020.16207>