Bug 539308

Summary: Freenx-server don't work
Product: [Fedora] Fedora Reporter: kirill <kirill>
Component: freenx-serverAssignee: Axel Thimm <Axel.Thimm>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: low    
Version: 12CC: Axel.Thimm, gwync
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-23 11:48:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description kirill 2009-11-19 20:34:01 UTC
Error in script /usr/libexec/nx/nxserver and other nxnode

uniqueid=$(echo $[$RANDOM*$RANDOM] | $COMMAND_MD5SUM | cut -d" " -f1 | tr "[a-z]" "[A-Z]")

need replace on

uniqueid=$(echo $[$RANDOM*$RANDOM] | $COMMAND_MD5SUM | cut -d" " -f2 | tr "[a-z]" "[A-Z]")

Comment 1 Axel Thimm 2009-11-21 17:17:23 UTC
Why do you think this is an error? The -f1 switch is supposed to pick everything before the first space, which is what we want.

Comment 2 kirill 2009-11-22 21:37:24 UTC
COMMAND_MD5SUM = openssl md5

In Fedora 11

# echo "123" | openssl md5
ba1f2511fc30423bdbb183fe33f3dd0f

In Fedora 12

# echo "123" | openssl md5
(stdin)= ba1f2511fc30423bdbb183fe33f3dd0f

Comment 3 Axel Thimm 2009-11-23 11:48:58 UTC

*** This bug has been marked as a duplicate of bug 521090 ***