unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* /var/tmp
@ 2015-03-30 10:52 Mark H Weaver
  2015-03-30 19:25 ` /var/tmp Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Mark H Weaver @ 2015-03-30 10:52 UTC (permalink / raw)
  To: guix-devel

Should we add /var/tmp on GuixSD?

Without /var/tmp, audacity complains on startup about not being able to
find a place to store temporary files and then segfaults.

      Mark

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: /var/tmp
  2015-03-30 10:52 /var/tmp Mark H Weaver
@ 2015-03-30 19:25 ` Ludovic Courtès
  2015-03-30 23:24   ` /var/tmp Mark H Weaver
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2015-03-30 19:25 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 110 bytes --]

Mark H Weaver <mhw@netris.org> skribis:

> Should we add /var/tmp on GuixSD?

Surely.  How about this patch?


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 401 bytes --]

diff --git a/gnu/build/install.scm b/gnu/build/install.scm
index aa901f6..e624cdd 100644
--- a/gnu/build/install.scm
+++ b/gnu/build/install.scm
@@ -118,6 +118,7 @@ STORE."
 
     (directory "/bin")
     (directory "/tmp" 0 0 #o1777)                 ; sticky bit
+    (directory "/var/tmp" 0 0 #o1777)
 
     (directory "/root" 0 0)                       ; an exception
     (directory "/home" 0 0)))

[-- Attachment #3: Type: text/plain, Size: 127 bytes --]


This will only take effect on new installs.  On existing installations,
people will have to create it by hand.

Ludo’.

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: /var/tmp
  2015-03-30 19:25 ` /var/tmp Ludovic Courtès
@ 2015-03-30 23:24   ` Mark H Weaver
  2015-03-31 12:01     ` /var/tmp Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Mark H Weaver @ 2015-03-30 23:24 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

ludo@gnu.org (Ludovic Courtès) writes:

> Mark H Weaver <mhw@netris.org> skribis:
>
>> Should we add /var/tmp on GuixSD?
>
> Surely.  How about this patch?
>
> diff --git a/gnu/build/install.scm b/gnu/build/install.scm
> index aa901f6..e624cdd 100644
> --- a/gnu/build/install.scm
> +++ b/gnu/build/install.scm
> @@ -118,6 +118,7 @@ STORE."
>  
>      (directory "/bin")
>      (directory "/tmp" 0 0 #o1777)                 ; sticky bit
> +    (directory "/var/tmp" 0 0 #o1777)
>  
>      (directory "/root" 0 0)                       ; an exception
>      (directory "/home" 0 0)))
>
> This will only take effect on new installs.  On existing installations,
> people will have to create it by hand.

Looks good to me!

    Thanks,
      Mark

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: /var/tmp
  2015-03-30 23:24   ` /var/tmp Mark H Weaver
@ 2015-03-31 12:01     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2015-03-31 12:01 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guix-devel

Mark H Weaver <mhw@netris.org> skribis:

> ludo@gnu.org (Ludovic Courtès) writes:
>
>> Mark H Weaver <mhw@netris.org> skribis:
>>
>>> Should we add /var/tmp on GuixSD?
>>
>> Surely.  How about this patch?
>>
>> diff --git a/gnu/build/install.scm b/gnu/build/install.scm
>> index aa901f6..e624cdd 100644
>> --- a/gnu/build/install.scm
>> +++ b/gnu/build/install.scm
>> @@ -118,6 +118,7 @@ STORE."
>>  
>>      (directory "/bin")
>>      (directory "/tmp" 0 0 #o1777)                 ; sticky bit
>> +    (directory "/var/tmp" 0 0 #o1777)
>>  
>>      (directory "/root" 0 0)                       ; an exception
>>      (directory "/home" 0 0)))
>>
>> This will only take effect on new installs.  On existing installations,
>> people will have to create it by hand.
>
> Looks good to me!

Done in f73b8e3, thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-03-31 12:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-30 10:52 /var/tmp Mark H Weaver
2015-03-30 19:25 ` /var/tmp Ludovic Courtès
2015-03-30 23:24   ` /var/tmp Mark H Weaver
2015-03-31 12:01     ` /var/tmp Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).