Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152191 - net-dialup/freeradius-1.1.3 has typo issues in startup script
Summary: net-dialup/freeradius-1.1.3 has typo issues in startup script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Alin Năstac (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-20 23:41 UTC by Mario Vazquez
Modified: 2006-10-21 00:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.