Page 1 of 1

Typo in CE 10.0.0 /etc/init.d/scalix

Posted: Wed Apr 05, 2006 9:36 am
by ppettigrew
Hi - just noticed this little fix required...

Code: Select all

[root@vs5 sys]# service scalix status
/etc/init.d/scalix: line 121: [: missing `]'
*** vs5 not present

Had a look at the file, and noticed a ']' brace missing, so I added it to the end of the if...omrealpath line per below...

Code: Select all

    status)
        for name in $(omcheckgc -l); do
            export OMCURRENT=$name
            if [ -f $(omrealpath '~/sys/sysdata') ]
            then echo "*** $OMCURRENT"
                 omstat -a; omstat -s
            else echo "*** $OMCURRENT not present"
            fi
        done
        ;;

And now the status command/script runs correctly.

Cheers, Paul

Posted: Wed Apr 05, 2006 12:02 pm
by jch
It's fixed in the up coming patch release. I think it might've been mentioned in the release notes as well -- no one noticed the typo until very late on in the release cycle of 10.0.0.

jch

Posted: Wed Apr 05, 2006 7:34 pm
by ppettigrew
That's great, thanks.

Posted: Fri Apr 07, 2006 1:07 am
by sutton.ryan
I upgraded to version 10.0.0 when it was first available. When will a patch be available? I notice 10.0.1 is available today. Is this the patch? It is larger than the original 10.0.0 tar, so I doubt it......anyone at Scalix have a patch release date?

Thanks in advance,

Ryan

Posted: Fri Apr 07, 2006 4:07 am
by gren
Hi,
So called "patches' are in fact complete re-builds. This tends to be safer than trying to just supply the changed bits.

Regards,
Gren.