On Wed, 24 Feb 2021 at 00:47:46 +0000, Simon McVittie wrote: > On Sun, 05 Mar 2017 at 19:23:40 +0000, Simon McVittie wrote: > > [the change proposed here] makes script(1) work inside "schroot --sbuild" > > inside a LXC > > container on a Debian jessie kernel. Previously, that would have failed. > > On Tue, 23 Feb 2021 at 23:55:07 +0000, Simon McVittie wrote: > > schroot: Default profile doesn't provide a working /dev/ptmx inside lxc >= 3 > ... > > The same patch I proposed in 2017 for #856877 resolves this, setting > > up a working /dev/ptmx. Under lxc 2 it's a symlink to /dev/ptx/ptmx, > > and under lxc >= 3 it's a device node. > >¯ > > Under lxc 4, that patch also provides a working /dev/console. > > Here's the patch I proposed in 2017, with an updated commit message. > > Also available as a merge request: > https://salsa.debian.org/debian/schroot/-/merge_requests/2
2½ years later, updating a debootstrap merge request reminded me that this is unresolved. I see schroot now has a new maintainer and a new upstream: please consider applying the patch proposed here to set up a working /dev/ptmx and /dev/console in more situations. I don't currently have a codeberg account set up, so I haven't proposed this at the new upstream yet. I'll try to do that and mark this bug as forwarded. Thanks, smcv