Bug 243523 - The default size of tmpmfs is not sufficient for pkg operation
Summary: The default size of tmpmfs is not sufficient for pkg operation
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: 12.1-RELEASE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-22 17:09 UTC by Victor Sudakov
Modified: 2020-09-08 13:04 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Sudakov 2020-01-22 17:09:19 UTC
The default size of tmpmfs (tmpsize="20m") is not sufficient for pkg operation. If you do not increase the size of /tmp, "pkg update" operations will fail with the message:

pkg: archive_read_extract(extract error): No space left on device

Workaround: increase the size of the RAM disk on /tmp, or unmount the RAM disk.

Proposed solution: the default tmpsize in /etc/defaults/rc.conf should be set to a higher value.
Comment 1 Ed Maste freebsd_committer 2020-09-07 20:24:13 UTC
What size did you end up using?
Comment 2 Victor Sudakov 2020-09-08 13:04:15 UTC
(In reply to Ed Maste from comment #1)
I have actually given up using RAM for /tmp as I don't see much sense in it. My current FreeBSD systems are on ZFS where zroot/tmp is mounted on /tmp.