Git master branch & Debian build
olivier heliosnet
olivier at heliosnet.org
Fri Nov 23 20:52:32 CET 2012
Le 23.11.2012 18:00, Arran Cudbard-Bell a écrit :
>
> On 23 Nov 2012, at 15:53, Olivier Beytrison<olivier at heliosnet.org> wrote:
>
>> On 21.11.2012 14:52, Arran Cudbard-Bell wrote:
>>>
>>> On 21 Nov 2012, at 13:41, Olivier Beytrison<olivier at heliosnet.org> wrote:
>>>
>>>>> Oh dear. That'd be why that's happening...
>>>>
>>>> I have the same output. But I can't see what you saw. Is there a
>>>> "libfreeradius-eap.so" missing somewhere ?
>>>
>>> Yep. Can't resolve the symbol because rlm_eap hasn't been linked against libfreeradius-eap.so, apparently TGT_PREREQS both adds the prerequisite as a targets *and* adds it to the linker flags, rlm_eap.mk looks fine, so i'm not sure why this is happening. Will have a look in a bit.
>>
>> Hi Arran,
>>
>> I just saw your commit 96c2216 from two hours ago. The error with
>> rlm_eap is gone \o/
>
> That's weird, I just moved its location, nothing else :s
>
>> now it's rlm_eap_tls which whine :(
>>
>> rlm_eap: Failed to link EAP-Type/tls:
>> /usr/lib/freeradius/rlm_eap_tls.so: undefined symbol: eaptls_success
>> /etc/freeradius/mods-enabled/eap[17]: Instantiation failed for module "eap"
>> /etc/freeradius/sites-enabled/default[321]: Failed to find "eap" in the
>> "modules" section.
>> /etc/freeradius/sites-enabled/default[263]: Errors parsing authenticate
>> section.
>
> Ok. I think that's fixed, could you pull and test?
Yay Freeradius installs correctly and starts if you apply the following
patch:
diff --git a/debian/freeradius.install b/debian/freeradius.install
index cef932f..20bec68 100644
--- a/debian/freeradius.install
+++ b/debian/freeradius.install
@@ -18,6 +18,7 @@ etc/freeradius/proxy.conf
etc/freeradius/sites-available/*
etc/freeradius/templates.conf
etc/freeradius/users
+etc/freeradius/certs/*
usr/lib/freeradius/rlm*.so
usr/sbin/checkrad
usr/sbin/freeradius
diff --git a/raddb/Makefile b/raddb/Makefile
index a2d5eba..309a0f6 100644
--- a/raddb/Makefile
+++ b/raddb/Makefile
@@ -18,7 +18,7 @@ FILES = acct_users attrs attrs.access_reject
attrs.accounting_response \
DEFAULT_SITES = default inner-tunnel
DEFAULT_MODULES = always attr_filter attr_rewrite chap checkval \
- counter cui detail detail.log digest dhcp
dynamic_clients eap \
+ counter detail detail.log digest dhcp dynamic_clients eap \
echo exec expiration expr files inner-eap linelog
logintime \
mschap ntlm_auth pap passwd preprocess radutmp realm \
replicate soh sradutmp unix utf8 wimax
There's still the issue I reported previously with th sql modules and
conf files :
Unpacking freeradius-mysql (from
freeradius-mysql_3.0.0git+dfsg-1_amd64.deb) ...
dpkg: error processing freeradius-mysql_3.0.0git+dfsg-1_amd64.deb
(--install):
trying to overwrite
'/etc/freeradius/mods-available/sqlcounter_expire_on_login', which is
also in package freeradius 3.0.0git+dfsg-1
Setting up freeradius-common (3.0.0git+dfsg-1) ...
Adding user freerad to group shadow
Setting up libfreeradius3 (3.0.0git+dfsg-1) ...
Processing triggers for man-db ...
Setting up freeradius-utils (3.0.0git+dfsg-1) ...
Setting up freeradius (3.0.0git+dfsg-1) ...
dpkg-statoverride: warning: stripping trailing /
dpkg-statoverride: warning: stripping trailing /
dpkg-statoverride: warning: stripping trailing /
dpkg-statoverride: warning: stripping trailing /
* Starting FreeRADIUS daemon freeradius
...done.
Processing triggers for ureadahead ...
Setting up freeradius-ldap (3.0.0git+dfsg-1) ...
* Checking FreeRADIUS daemon configuration...
...done.
* Stopping FreeRADIUS daemon freeradius
...done.
* Starting FreeRADIUS daemon freeradius
...done.
Errors were encountered while processing:
freeradius-mysql_3.0.0git+dfsg-1_amd64.deb
I also noticed the following messages during package creation :
dpkg-shlibdeps: warning: couldn't find library libfreeradius-eap.so
needed by debian/freeradius/usr/lib/freeradius/rlm_eap_peap.so (ELF
format: 'elf64-x86-64'; RPATH: '/usr/lib/
freeradius').
dpkg-shlibdeps: warning: couldn't find library libfreeradius-radius.so
needed by debian/freeradius/usr/sbin/radmin (ELF format: 'elf64-x86-64';
RPATH: '/usr/lib/freeradius').
dpkg-shlibdeps: warning: couldn't find library libfreeradius-eap.so
needed by debian/freeradius/usr/lib/freeradius/rlm_eap.so (ELF format:
'elf64-x86-64'; RPATH: '/usr/lib/freeradius').
dpkg-shlibdeps: warning: couldn't find library libfreeradius-eap.so
needed by debian/freeradius/usr/lib/freeradius/rlm_eap_tls.so (ELF
format: 'elf64-x86-64'; RPATH: '/usr/lib/freeradius').
dpkg-shlibdeps: warning: couldn't find library libfreeradius-radius.so
needed by debian/freeradius/usr/sbin/freeradius (ELF format:
'elf64-x86-64'; RPATH: '/usr/lib/freeradius').
dpkg-shlibdeps: warning: couldn't find library libfreeradius-eap.so
needed by debian/freeradius/usr/lib/freeradius/rlm_eap_ttls.so (ELF
format: 'elf64-x86-64'; RPATH: '/usr/lib/freeradius').
dpkg-shlibdeps: warning: couldn't find library libfreeradius-radius.so
needed by debian/freeradius-utils/usr/bin/radwho (ELF format:
'elf64-x86-64'; RPATH: '/usr/lib/freeradius').
dpkg-shlibdeps: warning: couldn't find library libfreeradius-radius.so
needed by debian/freeradius-utils/usr/bin/smbencrypt (ELF format:
'elf64-x86-64'; RPATH: '/usr/lib/freeradius').
dpkg-shlibdeps: warning: couldn't find library libfreeradius-radius.so
needed by debian/freeradius-utils/usr/bin/radclient (ELF format:
'elf64-x86-64'; RPATH: '/usr/lib/freeradius').
dpkg-shlibdeps: warning: couldn't find library libfreeradius-radius.so
needed by debian/freeradius-utils/usr/bin/rlm_dbm_parser (ELF format:
'elf64-x86-64'; RPATH: '/usr/lib/freeradius').
dpkg-shlibdeps: warning: couldn't find library libfreeradius-radius.so
needed by debian/freeradius-utils/usr/bin/radsniff (ELF format:
'elf64-x86-64'; RPATH: '/usr/lib/freeradius').
dpkg-shlibdeps: warning: couldn't find library libfreeradius-radius.so
needed by debian/freeradius-utils/usr/bin/rlm_ippool_tool (ELF format:
'elf64-x86-64'; RPATH: '/usr/lib/freeradius').
At least I'll be able to start freeradius and plan our eduroam deployment :P
Arran, if you plan to work on the deb package as we previously
discussed, feel free to throw me a mail if you want me to test :)
Olivier
More information about the Freeradius-Users
mailing list