Bug 15715 - freeradius-server won't start
Summary: freeradius-server won't start
Status: RESOLVED MOVED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-10 18:02 UTC by Arınç ÜNAL
Modified: 2024-06-15 15:11 UTC (History)
5 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arınç ÜNAL 2023-08-10 18:02:12 UTC
Tested on today's master branch.

# radiusd -X
[...]
/etc/raddb/mods-enabled/mschap[11]: Failed to link to module 'rlm_mschap': /usr/lib/rlm_mschap.so: cannot open shared object file: No such file or directory

After removing /etc/raddb/mods-enabled/mschap:

# radiusd -X
[...]
/etc/raddb/mods-enabled/realm[21]: Failed to link to module 'rlm_realm': /usr/lib/rlm_realm.so: cannot open shared object file: No such file or directory

After removing /etc/raddb/mods-enabled/realm, something fails that I shouldn't remove:

# radiusd -X
[...]
/etc/raddb/mods-enabled/ntlm_auth[17]: ...t-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}
/etc/raddb/mods-enabled/ntlm_auth[17]:                                         ^ Unknown module

Upon investigating package/freeradius-server/freeradius-server.mk, I've seen that the rlm_mschap and rlm_realm modules are explicitly disabled because "we don't have the dependencies" for them. I have removed these two lines which disable these modules. The package compiled fine and the server started working.

I don't know what was meant by not having the dependencies for these modules so I'm submitting a bug here to let someone with more experience in this project know.
Comment 1 Yann E. MORIN 2024-06-15 15:11:59 UTC
Thank you for your report.

The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
    https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.

Thank you!