[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#817236: schroot: no access to pseudo-terminals in new chroots



Hi,

Simon McVittie <smcv@debian.org> (2017-03-06):
> On Sun, 05 Mar 2017 at 19:41:14 +0000, Simon McVittie wrote:
> > I have filed #856877 against schroot suggesting mounting a new instance
> > of /dev/pts, effectively making schroot behave less like chroot and more
> > like a container manager in this particular respect.
> > 
> > However, that causes a nasty regression for interactive use
> 
> An updated patch on that bug solves the regression by bind-mounting the
> terminal from stdin (if any) onto /dev/console, which is approximately
> the same thing that lxc and systemd-nspawn do.
> 
> Similarly, I have unmerged #841935 from this bug and used it to propose
> a pbuilder patch with similar behaviour.
> 
> The attached patches add autopkgtest coverage for the proposed behaviour.
> 
> I still think that for best results this should be solved in debootstrap
> *and* pbuilder/schroot.
> 
>     S

Sorry for the delay before getting back to you. I must admit I'm really
not familiar with the various use cases and setups at hand here, so I
can't really judge the proposed patches on their own merit.

If nobody (esp. Ben & Marco) objects to them, I guess you could push
them to master once alioth is back?


KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: