freeradius-ldap (1.1.3-1) on ubuntu 7.04 has a bad command in the init script
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
freeradius (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: freeradius-ldap
Upon trying to install freeradius-ldap (after installing freeradius), it fails to configure the package:
Setting up freeradius-ldap (1.1.3-1) ...
/etc/init.
invoke-rc.d: initscript freeradius, action "reload" failed.
dpkg: error processing freeradius-ldap (--configure):
subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
freeradius-ldap
E: Sub-process /usr/bin/dpkg returned an error code (1)
abultman@eglon:~$ sudo /etc/init.
/etc/init.
The init script is a #!/bin/sh file, for which (at least, for me) "source" is not an available command. Swapping out the shebang with #!/bin/bash causes the script to run fine.
This is fixed in freeradius 1.1.3-3, which is in Ubuntu 7.04.