[buildd-tools-devel] Bug#817236: schroot: no access to pseudo-terminals in new chroots

Ben Hutchings ben at decadent.org.uk
Mon Nov 7 14:40:16 UTC 2016


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

Ben.

-- 
Ben Hutchings
All the simple programs have been written, and all the good names
taken.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20161107/74e73c8b/attachment.sig>


More information about the Buildd-tools-devel mailing list