[GH-ISSUE #31] /tmp too small for kernel sources #13

Closed
opened 2026-10-13 21:05:11 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @Igor-N on GitHub (Oct 2, 2024).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/issues/31

Hi! I'm got a problem with amneziawg on fresh kernel 6.11.0-8 (Ubuntu 24.10). PRE_BUILD script prepare-sources.sh uses PREFIX=${AWG_TEMP_DIR:-/tmp} for bulding workdir path and downloading kernel sources into workdir. But tempfs /tmp as inmemory fs probably too small for kernel sources. Maybe it's better to use /var/tmp instead of /tmp as default prefix for workdir?

As temporary workout it's possible to use AWG_TEMP_DIR var like AWG_TEMP_DIR=/var/tmp apt install amneziawg, but it's easy to forget it for all sequential apt upgrades.

Thanks for amneziawg!

Originally created by @Igor-N on GitHub (Oct 2, 2024). Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/issues/31 Hi! I'm got a problem with amneziawg on fresh kernel 6.11.0-8 (Ubuntu 24.10). PRE_BUILD script prepare-sources.sh uses PREFIX=${AWG_TEMP_DIR:-/tmp} for bulding workdir path and downloading kernel sources into workdir. But tempfs /tmp as inmemory fs probably too small for kernel sources. Maybe it's better to use /var/tmp instead of /tmp as default prefix for workdir? As temporary workout it's possible to use AWG_TEMP_DIR var like AWG_TEMP_DIR=/var/tmp apt install amneziawg, but it's easy to forget it for all sequential apt upgrades. Thanks for amneziawg!
Author
Owner

@leninalive commented on GitHub (Oct 24, 2024):

As temporary workout it's possible to use AWG_TEMP_DIR var like AWG_TEMP_DIR=/var/tmp apt install amneziawg, but it's easy to forget it for all sequential apt upgrades.

It is not needed for sub sequential apt upgrades, and this issue is documented in README file.

<!-- gh-comment-id:2434847664 --> @leninalive commented on GitHub (Oct 24, 2024): > As temporary workout it's possible to use AWG_TEMP_DIR var like AWG_TEMP_DIR=/var/tmp apt install amneziawg, but it's easy to forget it for all sequential apt upgrades. It is not needed for sub sequential apt upgrades, and this issue is documented in README file.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amneziawg-linux-kernel-module#13
No description provided.