Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193306 - nxserver-freeedition-3.0.0-r3 can't run update script after installation
Summary: nxserver-freeedition-3.0.0-r3 can't run update script after installation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo NX Server project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-21 09:37 UTC by Philip Allison
Modified: 2007-09-21 21:38 UTC (History)
0 users

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 Philip Allison 2007-09-21 09:37:16 UTC
The last thing the nxserver-freeedition-3.0.0-r3 ebuild tries to do is run the nxserver setup script ("/usr/NX/scripts/setup/nxserver") with either the "--update" or "--install" flag, depending upon whether the installation is clean or an upgrade.  This fails because the execute flag is not set on this script.

This can result in an incorrectly configured NX server, meaning clients won't be able to connect.

Reproducible: Always

Steps to Reproduce:
1. Emerge nxserver-freeedition-3.0.0-r3

Actual Results:  
 * Running NoMachine's update script
/usr/portage/net-misc/nxserver-freeedition/nxserver-freeedition-3.0.0-r3.ebuild: line 75: //usr/NX/scripts/setup/nxserver: Permission denied

Expected Results:  
Run the script above successfully

Manually changing the permissions on that file to 755 and running it with the "--update" argument fixed it for me.

Prior to this, any client attempting to connect would register unexpected errors; I do not have the exact text, but IIRC, some component of the server was exiting with signal 15.
Comment 1 Bernard Cafarelli gentoo-dev 2007-09-21 13:27:44 UTC
Should have been fixed a few days ago, please emerge --sync and reopen if the problem is still there
Comment 2 Bernard Cafarelli gentoo-dev 2007-09-21 21:38:52 UTC
Forgot to mark resolved