Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180040 - Stable request for NX 2.1 packages: net-misc/nxclient-2.1.0-r1, net-misc/nx-2.1.0, net-misc/nxserver-freenx-0.6.0, net-misc/nxnode-2.1.0, net-misc/nxserver-freeedition-2.1.0
Summary: Stable request for NX 2.1 packages: net-misc/nxclient-2.1.0-r1, net-misc/nx-2...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo NX Server project
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2007-05-27 18:11 UTC by Bernard Cafarelli
Modified: 2007-09-20 14:54 UTC (History)
2 users (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 Bernard Cafarelli gentoo-dev 2007-05-27 18:11:17 UTC
NX packages based on the 2.1 branch have been in the tree for some time now,let's see if they can get stable keywords on x86 and (multilib) amd64

* Client: net-misc/nxclient-2.1.0 (it's also a dependency for the two servers)
* NoMachine's free edition server: net-misc/nxnode-2.1.0 annet-misc/nxserver-freeedition-2.1.0
* FreeNX server: net-misc/nx-2.1.0, net-misc/nxserver-freenx-0.6.0

Thanks,
Bernard
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2007-06-05 09:05:59 UTC
I have CUPS installed:
----
CUPS Printing Backend

The NX Node setup procedure could not detect your "CUPS"
installation: either CUPS  is not installed on your system
or it was installed in a non-standard path. CUPS is needed
in order to enable printing support in your NX system.
Please note that you can enable  printing support for your
NX system at any time; to do this make sure  that you have
CUPS installed then run:

  /usr/NX/scripts/setup/nxnode --nxprintsetup <pathname>

to specify the location of the CUPS root path.
NX> 700 Bye.
---
# /etc/init.d/nxserver restart

 * Please use 'svc_stop; svc_start' and not 'stop; start' to
 * restart the service in its custom 'restart()' function.
 * Run nxserver without arguments for more info.

Comment 2 Bernard Cafarelli gentoo-dev 2007-06-06 13:56:18 UTC
Init script cleaned up for this warning thanks!

As for the cups problem, I cannot reproduce it on x86 or amd64 (with cups installed too), which version of cups do you have? Also is it just a warning, or does it prevent nxserver installation?
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2007-06-07 09:56:14 UTC
(In reply to comment #2)
> As for the cups problem, I cannot reproduce it on x86 or amd64 (with cups
> installed too), which version of cups do you have? Also is it just a warning,
> or does it prevent nxserver installation?
 * Running NoMachine's update script
goes just before.
 It installs, it is just a warning.  It is CUPS 1.2.10-r1 and it also failed with 1.2.9.

Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.21-gentoo-r2 i686)
=================================================================
System uname: 2.6.21-gentoo-r2 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 07 Jun 2007 08:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.3.5-r3, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/spool/PBS /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE.utf8"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.informatik.rwth-aachen.de/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d a52 alsa apache apache2 artworkextra asf audiofile bash-completion beagle berkdb bidi bitmap-fonts bootsplash branding bzip2 cairo cdda cddb cdparanoia cdr cli cracklib crypt css cups curl custom-cflags dbus dga directfb divx4linux dts dvd dvdr dvdread dvi eds emacs emboss encode esd evo exif expat fam fat fbcon ffmpeg firefox fortran ftp gb gcj gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml hal iconv icq idn imagemagick imap isdnlog java javamail javascript jikes jpeg jpeg2k kde ldap leim libg++ mad maildir matroska mbox mhash midi mikmod mime mmx mmxext mng mono motif mp3 mpeg mpeg2 mudflap mule mysql nautilus ncurses nforce2 nls nocardbus nptl nptlonly nsplugin nvidia objc ogg opengl openmp pam pcre pdf perl plotutils pmu png ppds pppd preview-latex print python qt3 qt3support qt4 quicktime readline reflection reiserfs samba sdk session slang sockets spell spl sse ssl svg svga t1lib tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb vcd videos vorbis win32codecs wmf wxwindows x86 xine xml xorg xosd xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2007-07-02 23:41:01 UTC
voyageur, is this an isolated incident or whatever?  What can I do to test further?  Do you need more information?
Comment 5 Bernard Cafarelli gentoo-dev 2007-07-03 10:44:42 UTC
So far, this seems to be an isolated problem. Here is what I gathered on this:
- the setup script is /usr/NX/scripts/setup/nxnode
- the message can be printed if it does not find the following:
  * lpoptions binary path (by default /usr/bin)
  * cupsd or lpadmin path (by def /usr/sbin)
  * configuration files (/etc/cups/printers.conf, /etc/cups/cupsd.conf)
  * backend folder (by def /usr/lib/cups/backend, /usr/lib64/cups/backend)
But all of these look pretty standard in a cups installation (and the nxnode script looks in other folders for non-standard paths if needed).
Comment 6 Christian Faulhammer (RETIRED) gentoo-dev 2007-07-03 11:21:31 UTC
If cups is unconfigured there is no backend directory.  That was the case here, so nx "failed".  Going stable on x86.  Thanks for the detailed analysis, Bernard.
Comment 7 Robert Buchholz (RETIRED) gentoo-dev 2007-07-09 23:02:18 UTC
Works fine on amd64 here
Comment 8 Bernard Cafarelli gentoo-dev 2007-08-23 22:48:32 UTC
amd64, ping :)
Comment 9 Robert Buchholz (RETIRED) gentoo-dev 2007-09-15 14:34:56 UTC
I was looking into stabling:
net-misc/nx-2.1.0			OK
net-misc/nxclient-2.1.0-r1		instead: 3.0.0-r2
net-misc/nxserver-freenx-0.6.0		instead: 0.7.0

net-misc/nxnode-2.1.0			instead: 3.0.0-r2 (security)
net-misc/nxserver-freeedition-2.1.0	instead: 3.0.0-r2

I noticed that nx is a dependancy only of nxserver-freenx. Is it still maintained? I cannot find it on the website anymore. The nx-X11-2.1.0-3.tar.gz includes its own copy of Xfree code that possibly contains some security issues.
How is this code used?
Comment 10 Bernard Cafarelli gentoo-dev 2007-09-16 21:57:31 UTC
amd64 stabilization will probably be held off until packages introduced by bug #192712 get old enough for stabilization (3.0.0* packages for most of them, 0.7-r1 for nxserver-freenx)
Comment 11 Robert Buchholz (RETIRED) gentoo-dev 2007-09-20 14:54:58 UTC
amd64 stable for the unaffected versions of:
* net-misc/nxclient
* net-misc/nxnode
* net-misc/nxserver-freeedition

Please open a bug for the new versions of net-misc/nxserver-freenx and net-misc/nx as usual.