From f4748cb9e9f179011c8548adfce48a5737fe277e Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Fri, 19 Jun 2015 11:44:27 +0000 Subject: bind-mount /dev/shm again, i misinterpreted a closed pbuilder bug. Now /run/shm is mounted by default, but no /dev/shm is available as tmpfs or symlink to /run/shm --- etc/pbuilderrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'etc/pbuilderrc') diff --git a/etc/pbuilderrc b/etc/pbuilderrc index dc611e6a..6812ce26 100644 --- a/etc/pbuilderrc +++ b/etc/pbuilderrc @@ -12,12 +12,13 @@ COMPRESSPROG="pigz" unset http_proxy export -n http_proxy # /sys and /proc were added as workarounds for #773767 -BINDMOUNTS="$BINDMOUNTS /sys" +# there are software wanting /dev/shm writable, so give them so. There are tons +# of bug shm related in pbuilder, that's just a workaround for all of them. +# /run/shm is already mounted as a tmpfs by default. +BINDMOUNTS="$BINDMOUNTS /sys /dev/shm" # set PATH to predictable values, see #780729 and #780725 PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" -USEDEVSHM=yes - # used on reproducible builds if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" -- cgit v1.2.3-54-g00ecf