Bug 207769

Summary: Add comment about /dev/shm to emulation/linux_base-c6 pkg-message
Product: Ports & Packages Reporter: Dmitry Chagin <dchagin>
Component: Individual Port(s)Assignee: freebsd-emulation (Nobody) <emulation>
Status: Closed FIXED    
Severity: Affects Many People CC: miwi, tijl, xmj
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Dmitry Chagin freebsd_committer freebsd_triage 2016-03-07 10:51:18 UTC
Created attachment 167797 [details]
patch

as since r283461 mounting temps to the /tmp mount point is mandatory
Comment 1 Johannes Jost Meixner freebsd_committer freebsd_triage 2016-03-07 10:59:10 UTC
Patch looks good to me.

Martin, would you mind formally approving it?
Comment 2 Tijl Coosemans freebsd_committer freebsd_triage 2016-09-06 12:18:36 UTC
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.
Comment 3 commit-hook freebsd_committer freebsd_triage 2016-10-19 10:59:17 UTC
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
Comment 4 commit-hook freebsd_committer freebsd_triage 2016-10-19 11:07:20 UTC
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