mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
services: base: Improve container related comments.
* gnu/services/base.scm (guix-shepherd-service): Clarify the usage of a container for guix-daemon.
This commit is contained in:
parent
6453915cf7
commit
1a0da8b4f3
1 changed files with 5 additions and 0 deletions
|
@ -1570,6 +1570,9 @@ (define proxy
|
||||||
;; the 'set-http-proxy' action.
|
;; the 'set-http-proxy' action.
|
||||||
(or (getenv "http_proxy") #$http-proxy))
|
(or (getenv "http_proxy") #$http-proxy))
|
||||||
|
|
||||||
|
;; Start the guix-daemon from a container, when supported,
|
||||||
|
;; to solve an installation issue. See the comment below for
|
||||||
|
;; more details.
|
||||||
(fork+exec-command/container
|
(fork+exec-command/container
|
||||||
(cons* #$(file-append guix "/bin/guix-daemon")
|
(cons* #$(file-append guix "/bin/guix-daemon")
|
||||||
"--build-users-group" #$build-group
|
"--build-users-group" #$build-group
|
||||||
|
@ -1600,6 +1603,8 @@ (define proxy
|
||||||
;; operate from within the same MNT namespace as the
|
;; operate from within the same MNT namespace as the
|
||||||
;; installation container. In that case only, enter the
|
;; installation container. In that case only, enter the
|
||||||
;; namespace of the process PID passed as start argument.
|
;; namespace of the process PID passed as start argument.
|
||||||
|
;; Otherwise, for symmetry purposes enter the caller
|
||||||
|
;; namespaces which is a no-op.
|
||||||
#:pid (match args
|
#:pid (match args
|
||||||
((pid) (string->number pid))
|
((pid) (string->number pid))
|
||||||
(else (getpid)))
|
(else (getpid)))
|
||||||
|
|
Loading…
Reference in a new issue