Your message dated Wed, 09 Mar 2016 12:18:26 -0800
with message-id <[email protected]>
and subject line Re: Bug#759270: rssh: libnsl is needed in order to have scp 
working
has caused the Debian Bug report #759270,
regarding rssh: libnsl is needed in order to have scp working
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
759270: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=759270
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rssh
Version: 2.3.4-3
Severity: normal
Tags: patch

Similarly to #335384, libnsl is needed or scp on the other end of the
chroot says "unknown user XXX" and dies.

A patch against mkchroot.sh to fix this is attached.


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.11-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages rssh depends on:
ii  debconf [debconf-2.0]  1.5.52
ii  libc6                  2.17-97
ii  openssh-server         1:6.4p1-1

rssh recommends no packages.

Versions of packages rssh suggests:
pn  cvs         <none>
ii  makejail    0.0.5-10
pn  rdist       <none>
ii  rsync       3.1.0-2
pn  subversion  <none>

-- Configuration Files:
/etc/rssh.conf changed [not included]

-- debconf information excluded
commit f787cac91c52c0d0fa4690a5e0a111d70ce1a78c
Author: James Nylen <[email protected]>
Date:   Mon Aug 25 13:00:22 2014 -0500

    Fix mkchroot.sh

diff --git a/mkchroot.sh b/mkchroot.sh
index 25f3a7d..c3bd9f7 100755
--- a/mkchroot.sh
+++ b/mkchroot.sh
@@ -175,6 +175,13 @@ else
     tar -cf - /lib/*/libnss_compat* /lib/*/libnss*_files* \
         | tar -C "$jail_dir" -xvf - | sed 's/^/\t/'
 fi
+if [ -n "$(find /lib -maxdepth 1 -name 'libnsl*' -print -quit)" ] ; then
+    tar -cf - /lib/libnsl* \
+        | tar -C "$jail_dir" -xvf - | sed 's/^/\t/'
+else
+    tar -cf - /lib/*/libnsl* \
+        | tar -C "$jail_dir" -xvf - | sed 's/^/\t/'
+fi
 
 #####################################################################
 #

--- End Message ---
--- Begin Message ---
Version: 2.3.4-4

Fixed in 2.3.4-4, belatedly closing per requester.

-- 
Russ Allbery ([email protected])               <http://www.eyrie.org/~eagle/>

--- End Message ---

Reply via email to