[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/05: environment: Fix setting writable? on networking related files
From: |
Ludovic Courtès |
Subject: |
04/05: environment: Fix setting writable? on networking related files |
Date: |
Mon, 30 Jan 2017 09:52:57 +0000 (UTC) |
civodul pushed a commit to branch master
in repository guix.
commit c003546b0c2a7a61958f5bfac04b25020d41e402
Author: Christopher Baines <address@hidden>
Date: Fri Jan 27 06:26:30 2017 +0000
environment: Fix setting writable? on networking related files
* guix/scripts/environment.scm (launch-environment/container): Include the
file name in the call to string=? when deciding if the file should be
writable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
guix/scripts/environment.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/scripts/environment.scm b/guix/scripts/environment.scm
index a08367d..8a3a935 100644
--- a/guix/scripts/environment.scm
+++ b/guix/scripts/environment.scm
@@ -421,7 +421,8 @@ host file systems to mount inside the container."
;; read-only within the
;; container.
(writable?
- (string=? "/etc/resolv.conf")))))
+ (string=? file
+ "/etc/resolv.conf")))))
%network-configuration-files)
'())
;; Mappings for the union closure of all inputs.