[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: file-systems: mount the PID cgroup filesystem.
From: |
guix-commits |
Subject: |
branch master updated: file-systems: mount the PID cgroup filesystem. |
Date: |
Mon, 27 Apr 2020 08:15:02 -0400 |
This is an automated email from the git hooks/post-receive script.
niedzejkob pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 2ef4d27 file-systems: mount the PID cgroup filesystem.
2ef4d27 is described below
commit 2ef4d273d13faccbc9e11a74cfdbd0a9f4f1c898
Author: Jakub Kądziołka <address@hidden>
AuthorDate: Sun Apr 26 17:58:58 2020 +0200
file-systems: mount the PID cgroup filesystem.
* gnu/system/file-systems.scm (%control-groups): Add "pids".
* gnu/services/docker.scm (docker-shepherd-service): Resolve a TODO.
This has allowed me to make a specific configuration of nsjail work.
---
gnu/services/docker.scm | 3 ++-
gnu/system/file-systems.scm | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/services/docker.scm b/gnu/services/docker.scm
index 04f9127..d6dc792 100644
--- a/gnu/services/docker.scm
+++ b/gnu/services/docker.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018 Danny Milosavljevic <address@hidden>
+;;; Copyright © 2020 Jakub Kądziołka <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -94,7 +95,7 @@ loop-back communications.")
file-system-/sys/fs/cgroup/cpuset
file-system-/sys/fs/cgroup/devices
file-system-/sys/fs/cgroup/memory
- ; TODO: file-system-/sys/fs/cgroup/pids
+ file-system-/sys/fs/cgroup/pids
networking
udev))
(start #~(make-forkexec-constructor
diff --git a/gnu/system/file-systems.scm b/gnu/system/file-systems.scm
index 3b599ef..b41f66e 100644
--- a/gnu/system/file-systems.scm
+++ b/gnu/system/file-systems.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès
<address@hidden>
+;;; Copyright © 2020 Jakub Kądziołka <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -389,7 +390,7 @@ TARGET in the other system."
;; parent directory.
(dependencies (list parent))))
'("cpuset" "cpu" "cpuacct" "memory" "devices" "freezer"
- "blkio" "perf_event")))))
+ "blkio" "perf_event" "pids")))))
(define %elogind-file-systems
;; We don't use systemd, but these file systems are needed for elogind,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: file-systems: mount the PID cgroup filesystem.,
guix-commits <=