Thread: libnsl needed for scp to work in chroot
Brought to you by:
xystrus
From: James N. <jn...@gm...> - 2014-08-25 19:04:44
|
With the latest version of Linux Mint Debian Edition, and possibly other debians, libnsl needs to be copied to the chroot or scp errors out with the "unknown user XXX" message. The rssh debian package has a mkchroot.sh script which works except for this: /usr/share/doc/rssh/examples/mkchroot.sh http://nylen.tv/mkchroot.sh Here's the Debian bug report for this issue: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=759270 Some previous discussion related to libnss* and a similar issue with those libraries: http://sourceforge.net/p/rssh/mailman/message/30590925/ https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=335384 |
From: James N. <jn...@gm...> - 2014-08-25 20:47:16
|
I see. Please ignore my comment on the bug, I'm retrying with 2.3.4-4 now. On Mon, Aug 25, 2014 at 3:43 PM, Russ Allbery <ea...@ey...> wrote: > James Nylen <jn...@gm...> writes: > > > With the latest version of Linux Mint Debian Edition, and possibly other > > debians, > > Ah, that explains how you ended up with an odd version. > > > libnsl needs to be copied to the chroot or scp errors out with the > > "unknown user XXX" message. The rssh debian package has a mkchroot.sh > > script which works except for this: > > > /usr/share/doc/rssh/examples/mkchroot.sh > > http://nylen.tv/mkchroot.sh > > > Here's the Debian bug report for this issue: > > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=759270 > > As mentioned in the bug, I believe this is fixed in 2.3.4-4. There was a > typo that caused the mkchroot.sh script to not copy the libnss compat > modules (and therefore not libnsl, which is a dependency for them). > > -- > Russ Allbery (ea...@ey...) <http://www.eyrie.org/~eagle/> > |
From: James N. <jn...@gm...> - 2014-08-25 20:53:49
|
This is to confirm that the issue is fixed in 2.3.4-4. Thanks again for your help! On Mon, Aug 25, 2014 at 3:47 PM, James Nylen <jn...@gm...> wrote: > I see. Please ignore my comment on the bug, I'm retrying with 2.3.4-4 now. > > > On Mon, Aug 25, 2014 at 3:43 PM, Russ Allbery <ea...@ey...> wrote: > >> James Nylen <jn...@gm...> writes: >> >> > With the latest version of Linux Mint Debian Edition, and possibly other >> > debians, >> >> Ah, that explains how you ended up with an odd version. >> >> > libnsl needs to be copied to the chroot or scp errors out with the >> > "unknown user XXX" message. The rssh debian package has a mkchroot.sh >> > script which works except for this: >> >> > /usr/share/doc/rssh/examples/mkchroot.sh >> > http://nylen.tv/mkchroot.sh >> >> > Here's the Debian bug report for this issue: >> >> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=759270 >> >> As mentioned in the bug, I believe this is fixed in 2.3.4-4. There was a >> typo that caused the mkchroot.sh script to not copy the libnss compat >> modules (and therefore not libnsl, which is a dependency for them). >> >> -- >> Russ Allbery (ea...@ey...) <http://www.eyrie.org/~eagle/ >> > >> > > |
From: Russ A. <ea...@ey...> - 2014-08-25 21:01:38
|
James Nylen <jn...@gm...> writes: > With the latest version of Linux Mint Debian Edition, and possibly other > debians, Ah, that explains how you ended up with an odd version. > libnsl needs to be copied to the chroot or scp errors out with the > "unknown user XXX" message. The rssh debian package has a mkchroot.sh > script which works except for this: > /usr/share/doc/rssh/examples/mkchroot.sh > http://nylen.tv/mkchroot.sh > Here's the Debian bug report for this issue: > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=759270 As mentioned in the bug, I believe this is fixed in 2.3.4-4. There was a typo that caused the mkchroot.sh script to not copy the libnss compat modules (and therefore not libnsl, which is a dependency for them). -- Russ Allbery (ea...@ey...) <http://www.eyrie.org/~eagle/> |