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

Re: schroot: no access to pseudo-terminals in new chroots



On Fri, 2016-11-25 at 18:54 +0100, Marco d'Itri wrote:
> > On Nov 20, Cyril Brulebois <kibi@debian.org> wrote:
> 
> > > This is not needed at all from Linux 4.7.  The open operation on
> > > /dev/ptmx automatically looks up the sibling pts/ directory.  (Also,
> > > every mount of devpts is a 'new instance'.)
> > > 
> > > It seems to me that the change in debootstrap ought to be reverted, as
> > > it will not be needed in future and it is causing problems for existing
> > > configurations.
> > 
> > Adding Marco to the loop.
> 
> setup_devices_simple() could be easily modified to create /dev/ptmx with 
> mknod instead of the current symlink.
> While this would solve this problem, it would also break again 
> debootstrap in containers (which was discussed in different bugs), so 
> I am not sure if it is a good idea.

The temporary workaround with /dev/ptmx could be made optional.  It's
not OK to break the previously working configurations.

Ben.

-- 
Ben Hutchings
Beware of programmers who carry screwdrivers. - Leonard Brandwein

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: