[Nix-dev] [PATCH] Make sure /dev/pts/ptmx is world-writable

Lluís Batlle i Rossell viric at viric.name
Thu Apr 3 08:53:03 CEST 2014


On Wed, Apr 02, 2014 at 11:41:11PM +0200, Ludovic Courtès wrote:
> Hello,
> 
> While running Python 3’s test suite, we noticed that on some systems
> /dev/pts/ptmx is created with permissions 0 (that’s the case with my
> Nixpkgs-originating 3.0.43 kernel, but someone with a Debian-originating
> 3.10-3 reported not having this problem.)
> 
> There’s still the problem that people without
> CONFIG_DEVPTS_MULTIPLE_INSTANCES=y are screwed (as noted in build.cc),
> but I don’t see how we could work around it.
> 
> Thoughts?
> 
> Ludo’.

Usually it's handled with the devpts special mountable device. The
"ptmxmode" variable handles that. Don't you want to mount that in the
chroot?


More information about the nix-dev mailing list