[Bug 1533639] Re: [ubuntu-cpc] please make /tmp a tmpfs in RAM
Moshe Katz
kohenkatz at gmail.com
Wed Jan 13 15:53:25 UTC 2016
This doesn't sound like a good idea to me, given the prevalence of
running Ubuntu on virtual machines with less than 4GB of RAM. I'm
thinking specifically of hosting providers like Linode, AWS,
DigitalOcean, etc., as well as tools like Vagrant, all of which are
extremely popular right now. Using tmpfs on a machine with so little
RAM doesn't sound like it will really help performance because the gain
in speed accessing /tmp is offset by having to swap to disk.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/1533639
Title:
[ubuntu-cpc] please make /tmp a tmpfs in RAM
Status in livecd-rootfs package in Ubuntu:
Triaged
Bug description:
In Ubuntu, we clear /tmp on every boot.
As such, on servers, by default /tmp should actually be a tmpfs
entirely in RAM.
This has several advantages, mainly:
* 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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1533639/+subscriptions
More information about the foundations-bugs
mailing list