Mailinglist Archive: opensuse-factory (715 mails)
| < Previous | Next > |
Re: [opensuse-factory] Warning / ANNOUNCE : upcoming changes in upstream systemd regarding /media, /tmp and /var/run | /var/lock
- From: Richard Guenther <rguenther@xxxxxxx>
- Date: Wed, 28 Mar 2012 10:18:54 +0200 (CEST)
- Message-id: <Pine.LNX.4.64.1203281017000.5416@jbgna.fhfr.qr>
On Tue, 27 Mar 2012, Frederic Crozat wrote:
Btw, I see that TMPDIR is /tmp by default on 12.1. GCC uses this
for all temporary files, for link-time optimizing firefox for
example you need about 4GB of storage in TMPDIR.
Thus, consider that (apart from my own personal opinion that a
stateless /tmp is utterly stupid, a tmpfs /tmp is even more so).
So, change TMPDIR to point to /var/tmp? Which would of course
make /tmp quite useless.
Richard.
--
Richard Guenther <rguenther@xxxxxxx>
SUSE / SUSE Labs
SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer
Hi all,
this is a announcement regarding changes which have just landed in
upstream systemd (not yet released nor pushed to Factory)
regarding /media and /tmp:
- /media will no longer mounted as tmpfs. This is because udisks2 will
no longer use /media for mounting removables devices
but /run/media/<user>
- /var/run and /var/lock are no longer bind-mounted to /run | /run/lock.
We should replace those directories with symlink to /run | /run/lock
(probably at initrd time, this is what is done on Fedora)
- /tmp is mounted as tmpfs, to make the default setups as stateless as
possible. As stated on
https://fedoraproject.org/wiki/Features/tmp-on-tmpfs , we might need to
fix some applications to use /var/tmp instead of /tmp when they need
persistent storage. Another big issue is educating users.
Btw, I see that TMPDIR is /tmp by default on 12.1. GCC uses this
for all temporary files, for link-time optimizing firefox for
example you need about 4GB of storage in TMPDIR.
Thus, consider that (apart from my own personal opinion that a
stateless /tmp is utterly stupid, a tmpfs /tmp is even more so).
So, change TMPDIR to point to /var/tmp? Which would of course
make /tmp quite useless.
Richard.
--
Richard Guenther <rguenther@xxxxxxx>
SUSE / SUSE Labs
SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer
| < Previous | Next > |