We create /etc/slp.conf
:
net.slp.useScopes = rug_slp_global net.slp.DAAddresses = 129.125.50.167,129.125.50.168 net.slp.passiveDADetection = false net.slp.activeDADetection = false
We install all debs and run the test command
sudo apt-get install nici novell-client novell-client-script novell-filesystem novell-nmasclient novell-novfsd novell-qtgui novell-ui-base novell-xplatlib novell-xtier-base novell-xtier-core novell-xtier-xplat
<Many lines of output skipped, including errors>
/opt/novell/ncl/bin/nwlogin -c staff.rug.nl -t rug-tree -s 129.125.50.166 -u p217811
/opt/novell/ncl/bin/nwlogin: error while loading shared libraries: libbfd-2.19.so: cannot open shared object file: No such file or directory
Many of the NovFS executables need libbfd-2.19.so
.
That precise version is not available on out-of-the-box Intrepid, and the package with the version that is available (binutils-dev
), states explicitly that no other package should depend on the shared library it provides.
Furthermore, the NovFS packages rely heavily on their own libraries in /opt/novell/lib
, so I figure one more such library won't hurt.
In OpenSuSE, the binutils
RPM happens to provide the library, so we work that RPM with alien
too.
cd ~/novfs-hack/rpms
wget http://osis.service.rug.nl/pub/os/linux/distr/opensuse/distribution/11.1/repo/oss/suse/i586/binutils-2.19-9.3.i586.rpm
cd ../alienated
mkdir binutils-2.19 ; cd binutils-2.19
fakeroot alien --to-deb -cgk ../../rpms/binutils-2.19-9.3.i586.rpm
Then we copy the desired lib to /opt/novell/lib
and retry the test command:
sudo cp binutils-2.19/usr/lib/libbfd-2.19.so /opt/novell/lib/
sudo cp binutils-2.19/usr/lib/libopcodes-2.19.so /opt/novell/lib/
export LD_LIBRARY_PATH=/opt/novell/lib/
/opt/novell/ncl/bin/nwlogin -c staff.rug.nl -t rug-tree -s 129.125.50.166 -u p217811
The novfs file system is present but not mounted correctly.
For additional information, see 'Installation and Administration Guide' in the Novell Client for Linux documentation.
We suspect that the fault is in the novell-novfsd
package.
We reinstall it
sudo apt-get remove novell-novfsd
sudo apt-get install novell-novfsd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
novell-novfsd
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/152kB of archives.
After this operation, 463kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
novell-novfsd
Install these packages without verification [y/N]? y
Selecting previously deselected package novell-novfsd.
(Reading database ... 101651 files and directories currently installed.)
Unpacking novell-novfsd (from .../novell-novfsd_3.0.0-14_i386.deb) ...
novell-novfsd pre install script
/etc/init.d/novfsd: 158: /sbin/checkproc: not found
novfs daemon not running...
/etc/init.d/novfsd: 160: rc_failed: not found
/etc/init.d/novfsd: 161: rc_status: not found
/etc/init.d/novfsd: 162: rc_exit: not found
NOVFSD not started
Setting up novell-novfsd (3.0.0-14) ...
/var/lib/dpkg/info/novell-novfsd.postinst: 10: /usr/lib/lsb/install_initd: not found
/opt/novell/xtier/bin/regutil: error while loading shared libraries: libbfd-2.19.so: cannot open shared object file: No such file or directory
/opt/novell/xtier/bin/regutil: error while loading shared libraries: libbfd-2.19.so: cannot open shared object file: No such file or directory
So we insert the Makefile snippet from the dpatch
info
-pagefix into debian/rules
and we start fixing a few things...
dpatch-edit-patch 01_replace_rc_commands_in_initscript.dpatch
find -type f -exec file {} \;|egrep 'ELF'|cut -d':' -f1|xargs ldd|less
... and search for 'not found'