* bug#34768: guix-daemon tmpfs out of space on parabola
@ 2019-03-06 14:04 swedebugia
2019-03-06 14:31 ` Tobias Geerinckx-Rice
2019-03-10 17:29 ` Ludovic Courtès
0 siblings, 2 replies; 4+ messages in thread
From: swedebugia @ 2019-03-06 14:04 UTC (permalink / raw)
To: 34768
[-- Attachment #1.1: Type: text/plain, Size: 468 bytes --]
Hi
I'm trying to build New Moon (unbranded palemoon browser) in parabola.
The tmpfs i 2G which is way too little it seems.
I read the man page of guix-daemon and the manual and could not find a
way to point guix-daemon to another tmpdir than /tmp.
Is this a bug?
In case it is not possible to change on the guix side (before we rewrite
the daemon) I think we should add a section about how to work around it
to the manual.
--
Cheers Swedebugia
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#34768: guix-daemon tmpfs out of space on parabola
2019-03-06 14:04 bug#34768: guix-daemon tmpfs out of space on parabola swedebugia
@ 2019-03-06 14:31 ` Tobias Geerinckx-Rice
2019-03-07 14:20 ` swedebugia
2019-03-10 17:29 ` Ludovic Courtès
1 sibling, 1 reply; 4+ messages in thread
From: Tobias Geerinckx-Rice @ 2019-03-06 14:31 UTC (permalink / raw)
To: swedebugia; +Cc: 34768
Hullo,
swedebugia wrote:
> I'm trying to build New Moon (unbranded palemoon browser) in
> parabola.
> The tmpfs i 2G which is way too little it seems.
>
> I read the man page of guix-daemon and the manual and could not
> find a
> way to point guix-daemon to another tmpdir than /tmp.
Well, TMPDIR= should Just Work :-)
You'll have to set it to the environment of guix-daemon (and
restart the daemon) for it to have any effect. How that's done
depends on your service manager/init system.
I guess a ‘set-tmpdir’ RPC could be added to the protocol. I
haven't thought through the security implications, and IMO it's
just papering over the real bug, which is…
> Is this a bug?
Not sure what exactly you're referring to, but yes, I do think
that using /tmp instead of /var/tmp (or any non-tmpfs) is a bug by
modern(?) conventions. It's guaranteed to break eventually on
almost every non-Guix System, and when it doesn't it's an abuse of
RAM and swap space.
Kind regards,
T G-R
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#34768: guix-daemon tmpfs out of space on parabola
2019-03-06 14:31 ` Tobias Geerinckx-Rice
@ 2019-03-07 14:20 ` swedebugia
0 siblings, 0 replies; 4+ messages in thread
From: swedebugia @ 2019-03-07 14:20 UTC (permalink / raw)
To: Tobias Geerinckx-Rice; +Cc: 34768
[-- Attachment #1: Type: text/plain, Size: 1389 bytes --]
Tobias Geerinckx-Rice <somebody@not-sent-or-endorsed-by.tobias.gr> skrev: (6 mars 2019 15:31:13 CET)
>Hullo,
>
>swedebugia wrote:
>> I'm trying to build New Moon (unbranded palemoon browser) in
>> parabola.
>> The tmpfs i 2G which is way too little it seems.
>>
>> I read the man page of guix-daemon and the manual and could not
>> find a
>> way to point guix-daemon to another tmpdir than /tmp.
>
>Well, TMPDIR= should Just Work :-)
>
>You'll have to set it to the environment of guix-daemon (and
>restart the daemon) for it to have any effect. How that's done
>depends on your service manager/init system.
>
>I guess a ‘set-tmpdir’ RPC could be added to the protocol. I
>haven't thought through the security implications, and IMO it's
>just papering over the real bug, which is…
>
>> Is this a bug?
>
>Not sure what exactly you're referring to, but yes, I do think
>that using /tmp instead of /var/tmp (or any non-tmpfs) is a bug by
>modern(?) conventions. It's guaranteed to break eventually on
>almost every non-Guix System, and when it doesn't it's an abuse of
>RAM and swap space.
>
>Kind regards,
>
>T G-R
Hi 😃
Thanks for the details. I agree that it is a bug.
I solved it by masking tmp.mount in systemd according to the arch wiki and thus disabled tmpfs for the whole thing.
--
Sent from my k-9 mail for Android.
[-- Attachment #2: Type: text/html, Size: 1946 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#34768: guix-daemon tmpfs out of space on parabola
2019-03-06 14:04 bug#34768: guix-daemon tmpfs out of space on parabola swedebugia
2019-03-06 14:31 ` Tobias Geerinckx-Rice
@ 2019-03-10 17:29 ` Ludovic Courtès
1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2019-03-10 17:29 UTC (permalink / raw)
To: swedebugia; +Cc: 34768
Hi swedebugia,
swedebugia <swedebugia@riseup.net> skribis:
> I read the man page of guix-daemon and the manual and could not find a
> way to point guix-daemon to another tmpdir than /tmp.
guix-daemon honors the TMPDIR environment variable, so you can run:
TMPDIR=/some/where/else guix-daemon …
See <https://gnu.org/s/guix/manual/en/html_node/Invoking-guix_002ddaemon.html>.
HTH!
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-03-10 17:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-06 14:04 bug#34768: guix-daemon tmpfs out of space on parabola swedebugia
2019-03-06 14:31 ` Tobias Geerinckx-Rice
2019-03-07 14:20 ` swedebugia
2019-03-10 17:29 ` Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.