Freeradius’ init script fails
Bug #66568 reported by
Tobias Wolf
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
freeradius (Ubuntu) |
Fix Released
|
Undecided
|
MOTU |
Bug Description
I installed Freeradius but apt failed to configure it.
These were the incriminating lines:
Setting up freeradius (1.1.3-1) ...
Adding group `freerad' (116)...
Done.
Adding system user `freerad' with uid 106...
Adding new user `freerad' (106) with group `freerad'.
Not creating home directory `/etc/freeradius'.
Adding user `freerad' to group `shadow'...
Done.
/etc/init.
invoke-rc.d: initscript freeradius, action "start" failed.
It appears the change to dash is responsible. When I changed the shebang to #!/bin/bash it worked.
Changed in freeradius: | |
status: | Unconfirmed → Confirmed |
Changed in freeradius: | |
assignee: | nobody → motu |
To post a comment you must log in.
The "proper" fix (used by the other init scripts in /etc/init.d) is to replace the "source" on line 15 with a period. The line should then read:
. /lib/lsb/ init-functions
This fixes the FreeRADIUS script and maintains consistency with the other init scripts.