Minor 3.10 debian packaging bug

Matthew Newton mcn4 at leicester.ac.uk
Tue Oct 6 12:18:47 CEST 2015


On Tue, Oct 06, 2015 at 11:04:50AM +0700, Fajar A. Nugraha wrote:
> Tested on ubuntu trusty, /etc/init.d/freeradius looks for pid file on
> /var/run/freeradius/freeradius.pid, yet by default the server writes
...

> Editing radiusd.conf from
> 
> name = radiusd
> 
> to
> 
> name = freeradius

Please check you've installed the latest version (and latest
config files). This is patched as part of the debian packaging.

https://github.com/FreeRADIUS/freeradius-server/blob/v3.0.x/debian/patches/radiusd-to-freeradius.diff#L22-L23

It works here with a clean install on Debian jessie:

$ dpkg-deb -x freeradius-config_3.0.10+git_amd64.deb /tmp/y
$ grep ^name /tmp/y/etc/freeradius/radiusd.conf 
name = freeradius
$ 

# apt-get install yadda yadda

# grep ^name /etc/freeradius/radiusd.conf 
name = freeradius
#
# service freeradius start
# 
# service freeradius status
● freeradius.service - LSB: Radius Daemon
   Loaded: loaded (/etc/init.d/freeradius)
   Active: active (running) since Tue 2015-10-06 11:13:24 BST; 2s ago
  Process: 98702 ExecStop=/etc/init.d/freeradius stop (code=exited, status=0/SUCCESS)
  Process: 122196 ExecStart=/etc/init.d/freeradius start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/freeradius.service
           └─122200 /usr/sbin/freeradius

Oct 06 11:13:24 ellipse freeradius[122196]: Starting FreeRADIUS daemon: freeradius.
Oct 06 11:13:24 ellipse systemd[1]: Started LSB: Radius Daemon.
# 
# service freeradius restart
# service freeradius stop
# 

Matthew


-- 
Matthew Newton, Ph.D. <mcn4 at le.ac.uk>

Systems Specialist, Infrastructure Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>


More information about the Freeradius-Users mailing list