Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 152191

Summary: net-dialup/freeradius-1.1.3 has typo issues in startup script
Product: Gentoo Linux Reporter: Mario Vazquez <mario_vazq>
Component: New packagesAssignee: Alin Năstac (RETIRED) <mrness>
Status: RESOLVED FIXED    
Severity: major CC: net-dialup
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mario Vazquez 2006-10-20 23:41:37 UTC
When trying to start radiusd init script from net-dialup/freeradius-1.1.3, the script refuse to start the service due to a syntax error in it.  The eerror calls where mistyped as eeror, causing the script to fail.

Making a diff to a corrected version gives this:
--- radiusd     2006-09-16 23:23:05.000000000 -0400
+++ /etc/init.d/radiusd 2006-09-16 23:23:28.000000000 -0400
@@ -10,12 +10,12 @@
 checkconfig() {
        #set the location of log files, including startup.log created by check-radiusd-config
        if ! cd /var/log/radius ; then
-               eeror "Failed to change current directory to /var/log/radius"
+               eerror "Failed to change current directory to /var/log/radius"
                return 1
        fi

        if [[ ! -d /var/run/radiusd ]] ; then
-               eeror "Failed to create /var/run/radiusd"
+               eerror "Failed to create /var/run/radiusd"
                return 1
        fi
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2006-10-21 00:46:13 UTC
Fixed in 1.1.3-r1, thanks for the info.