Package: scponly
Version: 4.6-1
Severity: minor
Hi,
using setup_chroot.sh from scponly packages, the resulting chroot
does not create /dev/null in chroot, which is required for
sftp-server to work correctly. Simple
mkdir ~newuser/dev
cp -af /dev/null ~newuser/dev/null
fixes the problem.
I found the problem with strace, shortly after execve to
/usr/lib/sftp-server (inside chroot) and loading required libraries,
there's this entry:
[pid 30342] open("/dev/null", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or
directory)
[pid 30342] write(2, "Couldn\'t open /dev/null: No such"..., 50) = 50
Thank you,
Juraj Bednar.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages scponly depends on:
ii debconf [debconf-2.0] 1.5.5 Debian configuration management sy
ii libc6 2.3.6.ds1-4 GNU C Library: Shared libraries
ii openssh-server 1:4.3p2-4 Secure shell server, an rshd repla
ii passwd 1:4.0.18.1-3 change and administer password and
ii ssh 1:4.3p2-4 Secure shell client and server (tr
scponly recommends no packages.
-- debconf information:
* scponly/chroot: true
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]