Created attachment 167797 [details] patch as since r283461 mounting temps to the /tmp mount point is mandatory
Patch looks good to me. Martin, would you mind formally approving it?
I'm a little hesitant to require /tmp to be tmpfs. I noticed that Firefox stores video files in /tmp and that can take up a lot of space. How about making /compat/linux/dev/shm a directory and tell users to mount a tmpfs there just like we tell them to mount linprocfs on /compat/linux/proc? /tmp and /dev/shm wouldn't share the same namespace then either.
A commit references this bug: Author: tijl Date: Wed Oct 19 10:58:49 UTC 2016 New revision: 424236 URL: https://svnweb.freebsd.org/changeset/ports/424236 Log: Since base r283461 /compat/linux/dev/shm must point to a tmpfs. Make /compat/linux/dev/shm a plain directory instead of a link to /tmp so we don't force users to mount tmpfs on /tmp. This also makes /dev/shm a separate namespace from /tmp. PR: 207769 Changes: head/emulators/linux_base-c6/Makefile head/emulators/linux_base-c6/pkg-message head/emulators/linux_base-c6/pkg-plist.i386 head/emulators/linux_base-c6/pkg-plist.x86_64
A commit references this bug: Author: tijl Date: Wed Oct 19 11:06:18 UTC 2016 New revision: 424237 URL: https://svnweb.freebsd.org/changeset/ports/424237 Log: Since base r283461 /compat/linux/dev/shm must point to a tmpfs. Make /compat/linux/dev/shm a plain directory instead of a link to /tmp so we don't force users to mount tmpfs on /tmp. This also makes /dev/shm a separate namespace from /tmp. Add libffi, needed by glib2. PR: 207769 Changes: head/emulators/linux_base-c7/Makefile head/emulators/linux_base-c7/distinfo.i386 head/emulators/linux_base-c7/distinfo.x86_64 head/emulators/linux_base-c7/pkg-message head/emulators/linux_base-c7/pkg-plist.i386 head/emulators/linux_base-c7/pkg-plist.x86_64