Control: tag -1 + patch Hi,
Axel Beckert wrote: > if pbuilder is running on a host which uses systemd >= 220 as init > system (i.e. on Sid with systemd), it no more mounts /dev/pts inside the > chroot which makes some packages (e.g. zsh) FTBFS. This can be patched by just using "none" (or likely anything else non-existing) instead of "/dev/pts" as device in the mount call: diff -Nru pbuilder-0.215+nmu3/debian/changelog pbuilder-0.215+nmu4/debian/changelog --- pbuilder-0.215+nmu3/debian/changelog 2014-07-11 19:57:49.000000000 +0200 +++ pbuilder-0.215+nmu4/debian/changelog 2015-06-13 14:19:08.000000000 +0200 @@ -1,3 +1,11 @@ +pbuilder (0.215+nmu4) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Use "none" instead of "/dev/pts" as device for the /dev/pts mount + inside the chroot. (Closes: #788580) + + -- Axel Beckert <[email protected]> Sat, 13 Jun 2015 14:19:00 +0200 + pbuilder (0.215+nmu3) unstable; urgency=low * Non-maintainer upload. diff -Nru pbuilder-0.215+nmu3/pbuilder-modules pbuilder-0.215+nmu4/pbuilder-modules --- pbuilder-0.215+nmu3/pbuilder-modules 2013-03-26 09:49:36.000000000 +0100 +++ pbuilder-0.215+nmu4/pbuilder-modules 2015-06-13 14:21:19.000000000 +0200 @@ -270,7 +270,7 @@ TTYGRP=5 TTYMODE=620 [ -f /etc/default/devpts ] && . /etc/default/devpts - mount -t devpts /dev/pts "$BUILDPLACE/dev/pts" -onoexec,nosuid,gid=$TTYGRP,mode=$TTYMODE + mount -t devpts none "$BUILDPLACE/dev/pts" -onoexec,nosuid,gid=$TTYGRP,mode=$TTYMODE mounted[${#mounted[@]}]="$BUILDPLACE/dev/pts" fi if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then Regards, Axel -- ,''`. | Axel Beckert <[email protected]>, http://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 `- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

