Chris Knadle dixit: >+ if [ "$DEB_BUILD_ARCH_OS" = "linux" ] && [ "$USEDEVSHM" = "yes" ]; then >+ SHM_PATH="run/shm" > >+ [ ! -d "/$SHM_PATH" ] && SHM_PATH="dev/shm"
This logic is totally and utterly borken. Correct logic would be: if outside_os = linux and inside_os = linux and USEDEVSHM: if exists CHROOT/run/shm: targetdir=run/shm else if exists CHROOT/dev/shm: targetdir=dev/shm else: abort mount --bind $(realpath /dev/shm) CHROOT/$targetdir This separates the resolution of /dev/shm outside (Linux) from the resolution of /dev/shm or /run/shm inside. I still believe this is not entirely right. If CHROOT/run exists, it should be populated with a tmpfs, including creation of subdirectories. Does CHROOT/dev/shm/. need to be bind-mounted to whatever /dev/shm/. is outside of the chroot, for the eglibc shm semantics to work? If not… just mount a tmpfs there, too! bye, //mirabilos -- [DJBDNS Zone] TTL 86400 – <Natureshadow> kann man da auch 1d schreiben? <mirabilos> nö, außerdem kann ein Deutscher oder ein Japaner mit 1d ja erstmal nix anfangen, oder könntest du 1日 im zone file lesen? <Natureshadow> das heißt für mich: ein Regal, das u.U. schiefstehen könnte -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org