RFC on Cloud Images: Make /tmp a tmpfs

Oliver Grawert ogra at ubuntu.com
Thu Jan 14 10:56:01 UTC 2016


hi,
Am Mittwoch, den 13.01.2016, 23:00 +0100 schrieb Martin Pitt:
> Ben Howard [2016-01-13 14:26 +0200]:
> > On the Ubuntu Cloud Images, we have a request to make /tmp a tmpfs. The
> > rationale, from the bug:
> >  * Performance - much faster read/write access to data in /tmp
> >  * Security - sensitive data would be cleared from memory on boot,
> >    rather than written (leaked) to disk -- important for encryption
> >    scenarios
> > 
> > Since the Ubuntu Cloud Images are used by a wide number of users, I
> > wanted to gather feedback and gather consensus on whether or not we
> > should make this change.
> 
> I really wish we would do this in general for new installs, at least
> as the first thing after releasing 16.04 LTS.

while i'm all for it, lets please have a check for RAM size in that
code, you really dont want /tmp in ram on a low ram system with i.e.
64-128MB (thin client, embedded box or whatever) by default.

ciao
	oli




More information about the ubuntu-devel mailing list