Package: rssh Version: 2.3.2-4 Severity: grave Justification: renders package unusable
I wondered why my rssh chroot setup doesn't work anymore and found out that /usr/lib/rssh/rssh_chroot_helper doesn't get the +s bit set. The code in your postinst script doesn't look correct: #! /bin/sh -e # postinst script for rssh if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then . /usr/share/debconf/confmodule db_get rssh/chroot_helper_setuid setuid="$RET" db_stop if [ ! -x /usr/sbin/dpkg-statoverride ] ; then #^ removing the NOT helps and gets me any further dpkg-statoverride --list /usr/lib/rssh/rssh_chroot_helper > /dev/null # but here it stops because you the call above returns a $? != 0 and you # have set -e (exit if any command returns an exitvalue != 0) status=$? if [ "$status" != 0 ] ; then if [ "$setuid" = "true" ] ; then chmod 4755 /usr/lib/rssh/rssh_chroot_helper else chmod 0755 /usr/lib/rssh/rssh_chroot_helper fi fi fi if [ -x /usr/sbin/add-shell ]; then /usr/sbin/add-shell /usr/bin/rssh fi fi exit 0 #---------------------------------------------- Changing it to this fixes the problem for me #! /bin/sh # postinst script for rssh if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then . /usr/share/debconf/confmodule db_get rssh/chroot_helper_setuid setuid="$RET" db_stop if [ -x /usr/sbin/dpkg-statoverride ] ; then dpkg-statoverride --list /usr/lib/rssh/rssh_chroot_helper > /dev/null status=$? if [ "$status" != 0 ] ; then if [ "$setuid" = "true" ] ; then chmod 4755 /usr/lib/rssh/rssh_chroot_helper else chmod 0755 /usr/lib/rssh/rssh_chroot_helper fi fi fi if [ -x /usr/sbin/add-shell ]; then /usr/sbin/add-shell /usr/bin/rssh fi fi exit 0 -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.20-1-k7 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages rssh depends on: ii debconf [debconf-2.0] 1.5.13 Debian configuration management sy ii libc6 2.5-7 GNU C Library: Shared libraries ii openssh-server 1:4.3p2-10 Secure shell server, an rshd repla rssh recommends no packages. -- debconf information: * rssh/chroot_helper_setuid: true -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]