freeradius-ldap (1.1.3-1) on ubuntu 7.04 has a bad command in the init script

Bug #123877 reported by Adam
This bug report is a duplicate of:  Bug #66568: Freeradius’ init script fails. Edit Remove
2
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.d/freeradius: 15: source: not found
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.d/freeradius
/etc/init.d/freeradius: 15: source: not found

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.

Revision history for this message
William Grant (wgrant) wrote :

This is fixed in freeradius 1.1.3-3, which is in Ubuntu 7.04.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.