Package: mosh Version: 1.2.5-1.1 Severity: normal I was trying to get mosh-server working in a minimal chroot (LXC container) running debian stable, and had problems where mosh-server was getting killed off almost as soon as it started, but not clear from where.
After much google-fu and cursing and hair pulling, I finally came across this: https://lists.freedesktop.org/archives/systemd-devel/2014-May/019531.html Which gave me the hint that I needed to install libpam-systemd in the minimal chroot. After that, mosh functioned properly. I'm not sure if this should be fixed by a Recommends or a Suggests or maybe just a note in the README.Debian? Perhaps that even belongs in the sshd package, since it is the session setup by sshd that isn't getting done correctly without libpam-sshd. The logind session setup & teardown here are a bit beyond my understanding. -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'buildd-unstable'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages mosh depends on: ii dpkg 1.18.4 ii libc6 2.21-9 ii libgcc1 1:5.3.1-8 ii libprotobuf9v5 2.6.1-1.3 ii libssl1.0.2 1.0.2f-2 ii libstdc++6 5.3.1-8 ii libtinfo5 6.0+20160213-1 ii libutempter0 1.1.6-3 ii openssh-client 1:7.1p2-2 ii zlib1g 1:1.2.8.dfsg-2+b1 Versions of packages mosh recommends: ii libio-socket-ip-perl 0.37-1 ii perl-base [libio-socket-ip-perl] 5.22.1-7 mosh suggests no packages. -- no debconf information

