[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Issues with scponlyc on amd64 squeeze final release. [solved with patch]



Hi Thomas,

[maintainer Thomas Wana]

Squeeze package:
   #  dpkg-query -l|grep scponly
   ii  scponly                             4.8-4.1


I sent you an email about issues I was having with scponly package, but you never replied :(

However, I've now solved the problem and am providing a patch for setup_chroot.sh -- please fix the package with the patch.


Essentially, there was an issue with missing libnss library files; you need to include both lib and lib64 files and not just the compat ones.

The patch addresses these bugs:
    #122715
    #620019
    #668366 [listed under scponly-full -- same issue fixed]


#  cat setup_chroot.sh.patch
--- setup_chroot.sh     2010-02-18 19:36:53.000000000 -1000
+++ my_setup_chroot.sh  2011-04-02 00:49:06.000000000 -1000
@@ -90,9 +90,9 @@
 #
# TODO - i've since forgotten which OS this is for, it should be relocated to a presetup script
 #
-/bin/ls /lib/libnss_compat* > /dev/null 2>&1
+/bin/ls /lib/libnss_* /lib64/libnss_* > /dev/null 2>&1
 if [ $? -eq 0 ]; then
-       LIB_LIST="$LIB_LIST /lib/libnss_compat*"
+       LIB_LIST="$LIB_LIST /lib/libnss_* /lib64/libnss_*"
 fi

 # check that the configure options are correct for chrooted operation:



--
Kind Regards
AndrewM

Andrew McGlashan
Broadband Solutions now including VoIP



Reply to: