Summary: | net-dialup/freeradius-2.2.0 pkg_postinstall() hint not working | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | needle <ne3dle> |
Component: | [OLD] Server | Assignee: | Gentoo Dialup Developers <net-dialup> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jer |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
needle
2013-02-05 18:47:35 UTC
To make it a bit easier to reproduce this. Use the standard shipped gentoo configuration from freeradius, there is postinstall hint howto extract it. * rename the /etc/raddb/users file in f.e. /etc/raddb/users.old * start radius in debug mode with "/usr/sbin/radiusd -X" receive following error message: --- [...] Module: Instantiating module "files" from file /etc/raddb/modules/files files { usersfile = "/etc/raddb/users" acctusersfile = "/etc/raddb/acct_users" preproxy_usersfile = "/etc/raddb/preproxy_users" compat = "no" } reading pairlist file /etc/raddb/users Couldn't open /etc/raddb/users for reading: No such file or directory Errors reading /etc/raddb/users /etc/raddb/modules/files[7]: Instantiation failed for module "files" /etc/raddb/sites-enabled/default[170]: Failed to find "files" in the "modules" section. /etc/raddb/sites-enabled/default[69]: Errors parsing authorize section. --- Logically gentoo freeradius could not start if the users was not included in /etc/conf.d/radius file. I removed the those configuration suggestions in 2.2.5 and 3.0.2. Anyone facing the daunting task of configuring radiusd is probably better off reading the full documentation anyway. :) |