[RADIATOR] RHEL4 and the new init script

Alexander Hartmaier alexander.hartmaier at t-systems.at
Mon Jan 24 05:45:07 CST 2011


Hi,
after updating our primary radius servers to Radiator 4.7 I've tried the
new linux init script which now supports starting and stopping multiple
radius processes.
I've found out that it doesn't work with RHEL4 because its killproc
function defined in /etc/init.d/functions doesn't support the -p
attribute and fails miserably in parsing the function call.

As a workaround we've copied the functions file from a RHEL5 box
to /etc/init.d/function-rhel5 and change the lines checking for the file
and the one loading it:

[root at radius1 init.d]#
diff /etc/init.d/radiator /opt/Radiator-4.7/goodies/linux-radiator.init
48c48
< if [ -f /etc/init.d/functions-rhel5 ]; then
---
> if [ -f /etc/init.d/functions ]; then
50c50
< . /etc/init.d/functions-rhel5
---
> . /etc/init.d/functions

@Hugh: maybe you can add a note to the patches webpage and the init
script stating the minimum required version per dist.

--
Alexander Hartmaier <alexander.hartmaier at t-systems.at>
T-Systems Austria GesmbH



*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
T-Systems Austria GesmbH   Rennweg 97-99, 1030 Wien
Handelsgericht Wien, FN 79340b
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
Notice: This e-mail contains information that is confidential and may be privileged.
If you are not the intended recipient, please notify the sender and then
delete this e-mail immediately.
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*


More information about the radiator mailing list