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

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



Ben Hutchings <ben@decadent.org.uk> (2016-11-07):
> On Wed, 09 Mar 2016 10:02:14 +0100 Ansgar Burchardt <ansgar@debian.org>
> wrote:
> > Package: schroot
> > Version: 1.6.10-2
> > Severity: important
> > 
> > debootstrap recently replaced the /dev/ptmx device node with a symlink
> > /dev/ptmx -> pts/ptmx[1]. This changed the default permissions from
> > world-writable (0666) for /dev/ptmx to no-access (0000) in chroots[2].
> 
> 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.


KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: