Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#28142 - No space left on /tmp

Attached to Project: Arch Linux
Opened by Nicolas Estibals (Nicolas.Estibals) - Saturday, 28 January 2012, 09:41 GMT
Last edited by Dan McGee (toofishes) - Tuesday, 31 January 2012, 00:23 GMT
Task Type Feature Request
Category System
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Arch swap to tmpfs for /tmp some times ago and the default size for it is half the size of the RAM even when there is a swap partition.

On computer with not that much RAM this cause problem during compilation of large package. Perhaps it is a good policy to change this default value to half the size of RAM+swap or even max(swap, (RAM+swap)/2) given that one of the argument in favour of tmpfs was "if you merge swap and old /tmp partition, you won't loose any space".
This task depends upon

Closed by  Dan McGee (toofishes)
Tuesday, 31 January 2012, 00:23 GMT
Reason for closing:  Won't fix
Additional comments about closing:  User configuration, we are not here to hold your hand.
Comment by Karol Błażewicz (karol) - Saturday, 28 January 2012, 10:02 GMT
You can tell yaourt to build somewhere else, use --tmp commandline switch or edit /etc/yaourtrc, uncomment and change
#TMPDIR="/tmp"
to somewhere else.

Similarly, if you use just makepkg, edit /etc/makepkg.conf:
#-- Specify a directory for package building.
#BUILDDIR=/tmp/makepkg
Comment by Nicolas Estibals (Nicolas.Estibals) - Saturday, 28 January 2012, 10:19 GMT
Sure this is a solution, but it doesn't allow to profit from the benefit of tmpfs. I just add the option size=8G to my fstab line concerning tmpfs.

I made this suggestion just to add concistency regarding the arguments in favour of tmpfs and I find the solution more eleguant. I guess this represent some work and this have a very low priority. I just would have find it cool if it was already done after a fresh install.

However this isn't very important to me and we can close this task.
Comment by Jan de Groot (JGC) - Sunday, 29 January 2012, 13:08 GMT
IMHO solving this is up to the user. Some people prefer tmpfs for /tmp, some people prefer /tmp on rootfs and some people prefer a separate /tmp filesystem. The choice depends on your situation and each choice can have its own limitations.

Loading...