Subject: Re: [vserver] ssh problem after migration ("Read from socket failed") SOLVED
From: Gilles Sadowski <gilles@harfang.homelinux.org>
Date: Fri, 28 Nov 2008 18:55:35 +0100

> > Output of vserver-info:
> > Versions:
> >                    Kernel: 2.6.26-1-vserver-amd64
> >                    VS-API: 0x00020303
> >              util-vserver: 0.30.216-pre2772; Nov 11 2008, 16:22:18
> 
> You are using util-vserver from Debian lenny. If you check the changelog:
> /usr/share/doc/util-vserver/changelog.Debian.gz
> 
> util-vserver (0.30.216~r2772-4) unstable; urgency=low
> 
>   * [...]
>   * Added debian/patches/60securecaps.dpatch to change the default
>     policy to assume all capabilities are unsafe, unless they are
>     specifically listed.
>   * [...]
> 
> If you add SYS_CHROOT to bcapabilities SSH will work. Check if you need
> other capabilities that were disabled.

Indeed, that solved the problem:

# echo SYS_CHROOT >> bcapabilities


Thanks,
Gilles