From !1601 (closed):
When I try to log in, I get client_loop: send disconnect: Broken pipe
dmesg on device mentions signal 31 which is similar to https://github.com/openssl/openssl/issues/9984
Both openSSH and dropbear are broken in this way.
Occurs on 3.10 kernel, Finepower F1 and Samsung Galaxy J1 Mini
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
I can reproduce this on lg-mako. I've built it against stable as workaround (copy all the pmaports from master branch to v20.05, then build it), and there the bug does not happen. So it's probably a recent change in Alpine's aports.git? (Does somebody want to look into it?)
With i9100 I don't get this, even with a fresh build from master.
CONFIG_SECCOMP=n fixed it for me so it's definitely something like @z3ntu's issue: https://github.com/openssl/openssl/issues/9984 (seccomp is useful+important for security so please only see that as a workaround, not the fix!)
Someone will need to figure out which syscall is getting blocked (there are probably ways to debug seccomp, not sure), then it might just need to be whitelisted or something like that.
Doesn't seem to happen with a relatively minimally configured 3.4.113 kernel - even with CONFIG_SECCOMP=y
$ ssh -p 2222 user@localhostWelcome to postmarketOS!This distribution is based on Alpine Linux.Read both our wikis to find a large amount of how-to guides andgeneral information about administrating and development.See <https://wiki.postmarketos.org> and <https://wiki.alpinelinux.org>.You may change this message by editing /etc/motd.qemu-amd64:~$ uname -aLinux qemu-amd64 3.4.113 #1-postmarketOS SMP Mon Oct 5 12:39:01 UTC 2020 x86_64 GNU/Linux
Also works on fairphone-fp2 with a fresh build from just now:
$ ssh pmosWarning: Permanently added '172.16.42.1' (ECDSA) to the list of known hosts.Welcome to postmarketOS!This distribution is based on Alpine Linux.Read both our wikis to find a large amount of how-to guides andgeneral information about administrating and development.See <https://wiki.postmarketos.org> and <https://wiki.alpinelinux.org>.You may change this message by editing /etc/motd.fairphone-fp2:~$ uname -aLinux fairphone-fp2 3.4.0-perf #11-postmarketOS SMP PREEMPT Wed Jul 22 22:11:41 UTC 2020 armv7l GNU/Linux