[buildd-tools-devel] Bug#817236: schroot: no access to pseudo-terminals in new chroots
Marco d'Itri
md at Linux.IT
Wed Mar 9 10:41:27 UTC 2016
On Mar 09, Ansgar Burchardt <ansgar at debian.org> wrote:
> in the sbuild profile's fstab. To accommodate old chroots that still
> have a /dev/ptmx device node, an additional bind mount
>
> ${chroot}/dev/pts/ptmx /dev/ptmx none rw,bind 0 0
>
> is needed to make sure only the devpts' ptmx device is used. I don't
> think this can be done via the profile's fstab, but only via a setup
> script?
No, a plain bind mount inside the chroot is needed and it can be
configured in fstab:
/dev/pts/ptmx /dev/ptmx none bind 0 0
The bind mount will work anyway even if /dev/pts/ptmx is a symlink.
--
ciao,
Marco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 648 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20160309/11a6d037/attachment-0001.sig>
More information about the Buildd-tools-devel
mailing list