[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/12: guix home: Create /tmp in container if needed.
From: |
guix-commits |
Subject: |
03/12: guix home: Create /tmp in container if needed. |
Date: |
Wed, 16 Aug 2023 17:16:40 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit bb7369ba8a4898567804fb7cef2ed97d77264d82
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Aug 16 19:45:28 2023 +0200
guix home: Create /tmp in container if needed.
Previously 'guix home container' would create a container without /tmp,
which would prevent 'least-authority-wrapper' programs from starting,
for example.
* guix/scripts/home.scm (spawn-home-container): Create /tmp if it
doesn't exist yet.
---
guix/scripts/home.scm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/guix/scripts/home.scm b/guix/scripts/home.scm
index fbd5689be8..e0800bc062 100644
--- a/guix/scripts/home.scm
+++ b/guix/scripts/home.scm
@@ -330,6 +330,10 @@ immediately. Return the exit status of the process in the
container."
(display "127.0.0.1 localhost\n" port)
(chmod port #o444))))
+ ;; Create /tmp; bits of code expect it, such as
+ ;; 'least-authority-wrapper'.
+ (mkdir-p "/tmp")
+
;; Set PATH for things that the activation script might expect, such
;; as "env".
(load-profile #$system-profile)
- branch master updated (07dc3d0247 -> 1bd44b425b), guix-commits, 2023/08/16
- 04/12: gnu: tor: Update to 0.4.7.14., guix-commits, 2023/08/16
- 01/12: gnu: cuirass: Update to 7416bb9., guix-commits, 2023/08/16
- 12/12: gnu: ddclient: Remove package., guix-commits, 2023/08/16
- 03/12: guix home: Create /tmp in container if needed.,
guix-commits <=
- 02/12: gnu: perf: Add now required dependency on libtraceevent., guix-commits, 2023/08/16
- 06/12: gnu: qpwgraph: Update to 0.5.2., guix-commits, 2023/08/16
- 07/12: Update email addresses for Juliana Sims., guix-commits, 2023/08/16
- 05/12: gnu: git-lfs: Update to 3.4.0., guix-commits, 2023/08/16
- 10/12: gnu: libwebp: Replace with 1.3.1. [fixes CVE-2023-1999], guix-commits, 2023/08/16
- 11/12: Revert "services: Add ddclient service.", guix-commits, 2023/08/16
- 08/12: services: posgresql: Add option to specify UID/GID for postgres user., guix-commits, 2023/08/16
- 09/12: gnu: guile-png: Update to 0.7.0., guix-commits, 2023/08/16