Bug 142092 - xdmsc init script completely broken
Summary: xdmsc init script completely broken
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: X11 Applications (show other bugs)
Version: Final
Hardware: Other Other
: P5 - None : Normal
Target Milestone: ---
Assignee: Dr. Werner Fink
QA Contact: Stefan Dirsch
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-09 16:36 UTC by Jon Nelson
Modified: 2006-01-09 16:52 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Nelson 2006-01-09 16:36:11 UTC
The xdmsc init script that ships with SUSE 10 (boxed copy at least), is completely unprepared for xorg instead of xfree. Specifically, the get_version() function looks for:

        case "$l" in
            XFree86\ Version*) break ;;
        esac 

instead of:

        case "$l" in
            X\ Window\ System\ Version*) break ;;
        esac 

and:

    case ${3%%.*} in
        [0-9]) echo ${3%%.*} ;;
        *)     echo 0        ;;
    esac

needs to use:

    case ${5%%.*} in
        [0-9]) echo ${5%%.*} ;;
        *)     echo 0        ;;
    esac


Thanks!
Comment 1 Dr. Werner Fink 2006-01-09 16:52:59 UTC
Thanks for spotting, is already fixed for next release of SuSE Linux.