Re: Bug#841935: pbuilder: incorrect permissions on /dev/ptmx breaks openpty()
- To: Thorsten Glaser <tg@mirbsd.de>
- Cc: debian-boot@lists.debian.org, dancer@debian.org, cjwatson@debian.org, bubulle@debian.org, 93sam@debian.org, James Clarke <jrtc27@jrtc27.com>, 841935@bugs.debian.org, "Yuriy M. Kaminskiy" <yumkam@gmail.com>, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>
- Subject: Re: Bug#841935: pbuilder: incorrect permissions on /dev/ptmx breaks openpty()
- From: Ansgar Burchardt <ansgar@debian.org>
- Date: Mon, 07 Nov 2016 08:07:54 +0100
- Message-id: <[🔎] 87mvhbdayd.fsf@deep-thought.43-1.org>
- In-reply-to: <[🔎] Pine.BSM.4.64L.1611062059580.31259@herc.mirbsd.org> (Thorsten Glaser's message of "Sun, 6 Nov 2016 21:03:15 +0000 (UTC)")
- References: <147732220321.8429.9865366262196790513.reportbug__8511.27682622082$1477323771$gmane$org@mbpah.endian.se> <581F93F0.6070101@gmail.com> <809A6F2A-EE92-49F5-B1AB-824989AD1F0F@jrtc27.com> <[🔎] Pine.BSM.4.64L.1611062059580.31259@herc.mirbsd.org>
Thorsten Glaser writes:
> … whereas all “new” chroots look like…
>
> ls: cannot access 'base.cow-xenial-amd64/dev/pts/ptmx': No such file or directory
> lrwxrwxrwx 1 root root 8 Mai 10 14:10 base.cow-xenial-amd64/dev/ptmx -> pts/ptmx
>
> … so I assume that something in debootstrap changed so that
> there is now a symlink created instead of a proper device node.
>
> Maybe the debootstrap maintainers can comment on this?
That looks like the same issue as I reported in sbuild in #817236 (which
severity maybe should be raised if this is an issue for more packages):
there needs to be a mount for /dev/pts to accommodate for the changes in
debootstrap (and optionally a bind mount for /dev/ptmx if there are
still old chroots around).
Ansgar
Reply to: