Debian (Squeeze) FreeRadius package missing config files
Matt Zagrabelny
mzagrabe at d.umn.edu
Wed Nov 21 16:57:01 CET 2012
On Wed, Nov 21, 2012 at 9:18 AM, David Gethings <dgethings at juniper.net> wrote:
> Hi All,
>
> It appears that the Debian package for freeradius 2.1.10 does not install
> the configuration files. At least that is what is happening on my system. As
> I try to resolve this is it possible to get a copy of the config files from
> some other location?
David,
Would you run:
apt-cache policy freeradius
?
The config files do get placed in /etc/freeradius, so there was an
error somewhere along the line during your install.
% dpkg-deb -c freeradius-common_2.1.10+dfsg-2+squeeze1_all.deb | grep etc
drwxr-xr-x root/root 0 2012-09-11 12:07 ./etc/
drwxr-xr-x root/root 0 2012-09-11 12:07 ./etc/freeradius/
-rw-r--r-- root/root 27201 2012-09-11 12:07 ./etc/freeradius/radiusd.conf
-rw-r--r-- root/root 877 2012-09-11 12:07 ./etc/freeradius/dictionary
% dpkg-deb -c freeradius_2.1.10+dfsg-2+squeeze1_amd64.deb | grep etc
drwxr-xr-x root/root 0 2012-09-11 12:07 ./etc/
drwxr-xr-x root/root 0 2012-09-11 12:07 ./etc/freeradius/
drwxr-xr-x root/root 0 2012-09-11 12:07 ./etc/freeradius/modules/
-rw-r--r-- root/root 3357 2012-09-11 12:07 ./etc/freeradius/modules/otp
-rw-r--r-- root/root 1255 2012-09-11 12:07
./etc/freeradius/modules/attr_filter
-rw-r--r-- root/root 269 2012-09-11 12:07
./etc/freeradius/modules/dynamic_clients
-rw-r--r-- root/root 509 2012-09-11 12:07 ./etc/freeradius/modules/cui
-rw-r--r-- root/root 1232 2012-09-11 12:07 ./etc/freeradius/modules/smsotp
-rw-r--r-- root/root 558 2012-09-11 12:07 ./etc/freeradius/modules/expr
-rw-r--r-- root/root 5267 2012-09-11 12:07 ./etc/freeradius/modules/ldap
-rw-r--r-- root/root 347 2012-09-11 12:07
./etc/freeradius/modules/mac2vlan
-rw-r--r-- root/root 571 2012-09-11 12:07 ./etc/freeradius/modules/pap
-rw-r--r-- root/root 1968 2012-09-11 12:07 ./etc/freeradius/modules/passwd
-rw-r--r-- root/root 1587 2012-09-11 12:07 ./etc/freeradius/modules/perl
-rw-r--r-- root/root 3289 2012-09-11 12:07 ./etc/freeradius/modules/echo
-rw-r--r-- root/root 601 2012-09-11 12:07
./etc/freeradius/modules/sqlcounter_expire_on_login
-rw-r--r-- root/root 139 2012-09-11 12:07 ./etc/freeradius/modules/chap
-rw-r--r-- root/root 2104 2012-09-11 12:07 ./etc/freeradius/modules/mschap
-rw-r--r-- root/root 379 2012-09-11 12:07
./etc/freeradius/modules/ntlm_auth
-rw-r--r-- root/root 1661 2012-09-11 12:07
./etc/freeradius/modules/preprocess
-rw-r--r-- root/root 680 2012-09-11 12:07 ./etc/freeradius/modules/mac2ip
-rw-r--r-- root/root 2162 2012-09-11 12:07 ./etc/freeradius/modules/sql_log
-rw-r--r-- root/root 4465 2012-09-11 12:07
./etc/freeradius/modules/inner-eap
-rw-r--r-- root/root 1510 2012-09-11 12:07 ./etc/freeradius/modules/radutmp
-rw-r--r-- root/root 559 2012-09-11 12:07 ./etc/freeradius/modules/policy
-rw-r--r-- root/root 642 2012-09-11 12:07 ./etc/freeradius/modules/pam
-rw-r--r-- root/root 2903 2012-09-11 12:07 ./etc/freeradius/modules/counter
-rw-r--r-- root/root 2502 2012-09-11 12:07 ./etc/freeradius/modules/linelog
-rw-r--r-- root/root 543 2012-09-11 12:07 ./etc/freeradius/modules/unix
-rw-r--r-- root/root 847 2012-09-11 12:07 ./etc/freeradius/modules/realm
-rw-r--r-- root/root 1088 2012-09-11 12:07
./etc/freeradius/modules/logintime
-rw-r--r-- root/root 1336 2012-09-11 12:07
./etc/freeradius/modules/attr_rewrite
-rw-r--r-- root/root 2134 2012-09-11 12:07 ./etc/freeradius/modules/detail
-rw-r--r-- root/root 273 2012-09-11 12:07 ./etc/freeradius/modules/digest
-rw-r--r-- root/root 1724 2012-09-11 12:07
./etc/freeradius/modules/detail.log
-rw-r--r-- root/root 442 2012-09-11 12:07
./etc/freeradius/modules/sradutmp
-rw-r--r-- root/root 1522 2012-09-11 12:07 ./etc/freeradius/modules/files
-rw-r--r-- root/root 816 2012-09-11 12:07
./etc/freeradius/modules/etc_group
-rw-r--r-- root/root 924 2012-09-11 12:07
./etc/freeradius/modules/detail.example.com
-rw-r--r-- root/root 354 2012-09-11 12:07
./etc/freeradius/modules/smbpasswd
-rw-r--r-- root/root 548 2012-09-11 12:07
./etc/freeradius/modules/expiration
-rw-r--r-- root/root 1376 2012-09-11 12:07
./etc/freeradius/modules/checkval
-rw-r--r-- root/root 3526 2012-09-11 12:07 ./etc/freeradius/modules/wimax
-rw-r--r-- root/root 2200 2012-09-11 12:07 ./etc/freeradius/modules/ippool
-rw-r--r-- root/root 420 2012-09-11 12:07 ./etc/freeradius/modules/always
-rw-r--r-- root/root 766 2012-09-11 12:07 ./etc/freeradius/modules/exec
-rw-r--r-- root/root 153 2012-09-11 12:07 ./etc/freeradius/modules/krb5
-rw-r--r-- root/root 287 2012-09-11 12:07
./etc/freeradius/modules/opendirectory
-rw-r--r-- root/root 457 2012-09-11 12:07
./etc/freeradius/modules/acct_unique
-rw-r--r-- root/root 1604 2012-09-11 12:07 ./etc/freeradius/huntgroups
-rw-r--r-- root/root 3042 2012-09-11 12:07 ./etc/freeradius/sql.conf
-rw-r--r-- root/root 984 2012-09-11 12:07 ./etc/freeradius/preproxy_users
-rw-r--r-- root/root 12722 2012-09-11 12:07
./etc/freeradius/experimental.conf
-rw-r--r-- root/root 3218 2012-09-11 12:07 ./etc/freeradius/ldap.attrmap
drwxr-xr-x root/root 0 2012-09-11 12:06 ./etc/freeradius/certs/
-rw-r--r-- root/root 18058 2012-09-11 12:07 ./etc/freeradius/eap.conf
-rw-r--r-- root/root 437 2012-09-11 12:07
./etc/freeradius/attrs.accounting_response
-rw-r--r-- root/root 4174 2012-09-11 12:07 ./etc/freeradius/attrs
-rw-r--r-- root/root 2840 2012-09-11 12:07 ./etc/freeradius/policy.conf
-rw-r--r-- root/root 458 2012-09-11 12:07
./etc/freeradius/attrs.access_reject
-rw-r--r-- root/root 513 2012-09-11 12:07
./etc/freeradius/attrs.access_challenge
-rw-r--r-- root/root 2022 2012-09-11 12:07 ./etc/freeradius/attrs.pre-proxy
-rw-r--r-- root/root 26529 2012-09-11 12:07 ./etc/freeradius/proxy.conf
-rw-r--r-- root/root 2352 2012-09-11 12:07 ./etc/freeradius/hints
drwxr-xr-x root/root 0 2012-09-11 12:06 ./etc/freeradius/sites-enabled/
-rw-r--r-- root/root 2475 2012-09-11 12:07 ./etc/freeradius/sqlippool.conf
drwxr-xr-x root/root 0 2012-09-11 12:07
./etc/freeradius/sites-available/
-rw-r--r-- root/root 8543 2012-09-11 12:07
./etc/freeradius/sites-available/README
-rw-r--r-- root/root 12198 2012-09-11 12:07
./etc/freeradius/sites-available/inner-tunnel
-rw-r--r-- root/root 982 2012-09-11 12:07
./etc/freeradius/sites-available/proxy-inner-tunnel
-rw-r--r-- root/root 5075 2012-09-11 12:07
./etc/freeradius/sites-available/dynamic-clients
-rw-r--r-- root/root 4042 2012-09-11 12:07
./etc/freeradius/sites-available/status
-rw-r--r-- root/root 3340 2012-09-11 12:07
./etc/freeradius/sites-available/example
-rw-r--r-- root/root 5269 2012-09-11 12:07
./etc/freeradius/sites-available/originate-coa
-rw-r--r-- root/root 2040 2012-09-11 12:07
./etc/freeradius/sites-available/control-socket
-rw-r--r-- root/root 1103 2012-09-11 12:07
./etc/freeradius/sites-available/coa
-rw-r--r-- root/root 2538 2012-09-11 12:07
./etc/freeradius/sites-available/vmps
-rw-r--r-- root/root 4099 2012-09-11 12:07
./etc/freeradius/sites-available/buffered-sql
-rw-r--r-- root/root 5057 2012-09-11 12:07
./etc/freeradius/sites-available/robust-proxy-accounting
-rw-r--r-- root/root 3508 2012-09-11 12:07
./etc/freeradius/sites-available/decoupled-accounting
-rw-r--r-- root/root 849 2012-09-11 12:07
./etc/freeradius/sites-available/virtual.example.com
-rw-r--r-- root/root 5342 2012-09-11 12:07
./etc/freeradius/sites-available/copy-acct-to-home-server
-rw-r--r-- root/root 5410 2012-09-11 12:07
./etc/freeradius/sites-available/dhcp
-rw-r--r-- root/root 17958 2012-09-11 12:07
./etc/freeradius/sites-available/default
-rw-r--r-- root/root 671 2012-09-11 12:07 ./etc/freeradius/acct_users
-rw-r--r-- root/root 3597 2012-09-11 12:07 ./etc/freeradius/templates.conf
-rw-r--r-- root/root 4873 2012-09-11 12:07 ./etc/freeradius/policy.txt
-rw-r--r-- root/root 6524 2012-09-11 12:07 ./etc/freeradius/users
-rw-r--r-- root/root 6703 2012-09-11 12:07 ./etc/freeradius/clients.conf
drwxr-xr-x root/root 0 2012-09-11 12:07 ./etc/pam.d/
-rw-r--r-- root/root 227 2010-09-28 06:03 ./etc/pam.d/radiusd
drwxr-xr-x root/root 0 2012-09-11 12:07 ./etc/logrotate.d/
-rw-r--r-- root/root 234 2012-09-11 12:07 ./etc/logrotate.d/freeradius
drwxr-xr-x root/root 0 2012-09-11 12:07 ./etc/init.d/
-rwxr-xr-x root/root 2165 2012-09-11 11:57 ./etc/init.d/freeradius
drwxr-xr-x root/root 0 2012-09-11 12:07 ./etc/default/
-rw-r--r-- root/root 59 2012-09-11 11:57 ./etc/default/freeradius
There are a truck-load of ways to reinstall packages (under Debian.)
You could also try that, too. apt logs are kept in /var/log/apt.
Perhaps your log messages can shed light on the problem.
-mz
More information about the Freeradius-Users
mailing list