Networker

Re: [Networker] Linux client without X11

2007-05-24 12:41:04
Subject: Re: [Networker] Linux client without X11
From: Tim Mooney <Tim.Mooney AT NDSU DOT EDU>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 24 May 2007 11:34:29 -0500
In regard to: [Networker] Linux client without X11, Cathy Smith said (at...:

Is it possible to run the NetWorker client software without the X11
libraries installed on the client?  The client system is running Linux Red
Hat AWS4.

That depends on what you mean by client software.  The package "lgtoclnt"
contains a number of executables.  The executables that are needed for
server-initiated backups don't require X11, and the command-line "recover"
doesn't require X11, so we've always been able to use the parts of the
NetWorker client that we care about without X11.

The package will probably refuse to install without the necessary X11
libraries, because there are a few executables that are included in the
package that would require X11 to run, but that can be overridden by
installing the package directly using the rpm command and using --nodeps
and/or --force (which is generally bad practice but is pretty safe here).

If you go that route, a few binaries won't work:

        /usr/bin/networker              (link to nwadmin)
        /usr/bin/nwadmin
        /usr/bin/nwarchive              (link to nwbackup)
        /usr/bin/nwbackup
        /usr/bin/nwrecover
        /usr/bin/nwretrieve

(This is with the 7.2.2 client, the rules probably change at 7.3.x.
because networker/nwadmin is gone and there's a new Java-based GUI).

Here are all of the shared objects and versioned dependencies that the
7.2.2 client requires:

$rpm -q --requires lgtoclnt
/bin/sh /bin/sh ld-linux.so.2 libICE.so.6 libSM.so.6 libX11.so.6 libXext.so.6 libXt.so.6 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.2) libc.so.6(GLIBC_2.2) libdl.so.2 libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libncurses.so.5 libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.1) libpthread.so.0(GLIBC_2.2)


Of those, the X11-related stuff (from libICE.so.6 to libXt.so.6), and
all of those come from one package -- xorg-x11-libs

I'm frankly surprised that you even managed to get WS4 installed without
*any* X11 libraries.  It must be a very stripped-down install.

IMO, there are a number of packaging issues with the NetWorker RPMs.  The
four binaries and two links I listed above shouldn't be in lgtoclnt, they
should be in a separate package (lgtoclnt-x11).  The fact that upgrades
of the RPMs are completely broken is a bigger problem.

Tim
--
Tim Mooney                                        Tim.Mooney AT ndsu DOT edu
Information Technology Services                   (701) 231-1076 (Voice)
Room 242-J6, IACC Building                        (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164

To sign off this list, send email to listserv AT listserv.temple DOT edu and type 
"signoff networker" in the body of the email. Please write to networker-request 
AT listserv.temple DOT edu if you have any problems with this list. You can access the 
archives at http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

<Prev in Thread] Current Thread [Next in Thread>