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

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

On Wed, 09 Mar 2016 10:02:14 +0100 Ansgar Burchardt <ansgar@debian.org>
> 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


Ben Hutchings
All the simple programs have been written, and all the good names

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

Reply to: