Debian Codegraph @

po/de/man7/cgroup_namespaces.7.po

raw
1 # German translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Helge Kreutzmann <[email protected]>, 2021.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.28.0\n"
8 "POT-Creation-Date: 2026-06-05 06:20+0200\n"
9 "PO-Revision-Date: 2025-11-01 12:14+0100\n"
10 "Last-Translator: Helge Kreutzmann <[email protected]>\n"
11 "Language-Team: German <[email protected]>\n"
12 "Language: de\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
18 #. type: TH
19 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
20 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
21 #, no-wrap
22 msgid "cgroup_namespaces"
23 msgstr "cgroup_namespaces"
24
25 #. type: TH
26 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
27 #: opensuse-tumbleweed
28 #, no-wrap
29 msgid "2026-02-08"
30 msgstr "8. Februar 2026"
31
32 #. type: TH
33 #: archlinux debian-unstable
34 #, no-wrap
35 msgid "Linux man-pages 6.18"
36 msgstr "Linux man-pages 6.18"
37
38 #. type: SH
39 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
40 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
41 #, no-wrap
42 msgid "NAME"
43 msgstr "BEZEICHNUNG"
44
45 #. type: Plain text
46 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 msgid "cgroup_namespaces - overview of Linux cgroup namespaces"
49 msgstr "cgroup_namespaces - Überblick über Linux-Cgroup-Namensräume"
50
51 #. type: SH
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 #, no-wrap
55 msgid "DESCRIPTION"
56 msgstr "BESCHREIBUNG"
57
58 #. type: Plain text
59 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
60 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
61 msgid "For an overview of namespaces, see B<namespaces>(7)."
62 msgstr "Für einen Überblick über Namensräume, siehe B<namespaces>(7)."
63
64 #. type: Plain text
65 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
66 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
67 msgid ""
68 "Cgroup namespaces virtualize the view of a process's cgroups (see "
69 "B<cgroups>(7)) as seen via I</proc/>pidI</cgroup> and I</proc/>pidI</"
70 "mountinfo>."
71 msgstr ""
72 "Cgroup-Namensräume virtualisieren den Blick auf die Cgroups eines Prozesses "
73 "(siehe B<cgroups>(7)), wie er mittels I</proc/>PIDI</cgroup> und I</proc/"
74 ">PIDI</mountinfo> gesehen wird."
75
76 #. type: Plain text
77 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
78 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
79 msgid ""
80 "Each cgroup namespace has its own set of cgroup root directories. These "
81 "root directories are the base points for the relative locations displayed in "
82 "the corresponding records in the I</proc/>pidI</cgroup> file. When a "
83 "process creates a new cgroup namespace using B<clone>(2) or B<unshare>(2) "
84 "with the B<CLONE_NEWCGROUP> flag, its current cgroups directories become the "
85 "cgroup root directories of the new namespace. (This applies both for the "
86 "cgroups version 1 hierarchies and the cgroups version 2 unified hierarchy.)"
87 msgstr ""
88 "Jeder Cgroup-Namensraum hat seine eigene Gruppe an Cgroup-"
89 "Wurzelverzeichnissen. Diese Wurzelverzeichnisse sind die Basispunkte der "
90 "relativen Orte, die in den entsprechenden Datensätzen in der Datei I</proc/"
91 ">PIDI</cgroup> angezeigt werden. Wenn ein Prozess mittels B<clone>(2) oder "
92 "B<unshare>(2) mit dem Schalter B<CLONE_NEWCGROUP> einen neuen Cgroup-"
93 "Namensraum erstellt, werden seine aktuellen Cgroup-Verzeichnisse das Cgroup-"
94 "Wurzelverzeichnis des neuen Namensraumes. (Dies gilt sowohl für die Cgroup-"
95 "Version-1-Hierarchien als auch die vereinigte Cgroup-Version-2-Hierarchie.)"
96
97 #. type: Plain text
98 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
99 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
100 msgid ""
101 "When reading the cgroup memberships of a \"target\" process from I</proc/"
102 ">pidI</cgroup>, the pathname shown in the third field of each record will be "
103 "relative to the reading process's root directory for the corresponding "
104 "cgroup hierarchy. If the cgroup directory of the target process lies "
105 "outside the root directory of the reading process's cgroup namespace, then "
106 "the pathname will show I<../> entries for each ancestor level in the cgroup "
107 "hierarchy."
108 msgstr ""
109 "Wenn die Cgroup-Mitgliedschaft eines »Ziel«-Prozesses aus I</proc/>PIDI</"
110 "cgroup> gelesen wird, wird der im dritten Feld jedes Datensatzes angezeigte "
111 "Pfadname relativ zu dem Wurzelverzeichnis der entsprechenden Cgroup-"
112 "Hierarchie des lesenden Prozesses sein. Falls das Cgroup-Verzeichnis des "
113 "Zielprozesses außerhalb des Wurzelverzeichnisses des Cgroup-Namensraums des "
114 "lesenden Prozesses liegt, dann wird der Pfadname I<../>-Einträge für jede "
115 "Vorgängerstufe in der Cgroup-Hierarchie anzeigen."
116
117 #. type: Plain text
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 msgid ""
121 "The following shell session demonstrates the effect of creating a new cgroup "
122 "namespace."
123 msgstr ""
124 "Die folgende Shell-Sitzung zeigt die Auswirkung der Erstellung eines neuen "
125 "Cgroup-Namensraumes."
126
127 #. type: Plain text
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 msgid ""
131 "First, (as superuser) in a shell in the initial cgroup namespace, we create "
132 "a child cgroup in the I<freezer> hierarchy, and place a process in that "
133 "cgroup that we will use as part of the demonstration below:"
134 msgstr ""
135 "Zuerst wird (als Systemverwalter) in einer Shell im anfänglichen Cgroup-"
136 "Namensraum eine Nachfolger-Cgroup in der I<freezer>-Hierarchie erstellt und "
137 "ein Prozess in dieser Cgroup abgelegt, der als Teil der nachfolgenden "
138 "Vorstellung verwandt wird:"
139
140 #. type: Plain text
141 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
142 #: opensuse-tumbleweed
143 #, no-wrap
144 msgid ""
145 "#B< mkdir -p /sys/fs/cgroup/freezer/sub2>;\n"
146 "#B< sleep 10000 &> # Create a process that lives for a while\n"
147 "[1] 20124\n"
148 "#B< echo 20124 E<gt> /sys/fs/cgroup/freezer/sub2/cgroup.procs>;\n"
149 msgstr ""
150 "#B< mkdir -p /sys/fs/cgroup/freezer/sub2>;\n"
151 "#B< sleep 10000 &> # Erzeugung eines Prozesses, der eine Zeit lebt\n"
152 "[1] 20124\n"
153 "#B< echo 20124 E<gt> /sys/fs/cgroup/freezer/sub2/cgroup.procs>;\n"
154
155 #. type: Plain text
156 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
157 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
158 msgid ""
159 "We then create another child cgroup in the I<freezer> hierarchy and put the "
160 "shell into that cgroup:"
161 msgstr ""
162 "Dann wird eine andere Cgroup in der I<freezer>-Hierachie erstellt und die "
163 "Shell in diese Gruppe versetzt:"
164
165 #. type: Plain text
166 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
167 #: opensuse-tumbleweed
168 #, no-wrap
169 msgid ""
170 "#B< mkdir -p /sys/fs/cgroup/freezer/sub>;\n"
171 "#B< echo $$>; # Show PID of this shell\n"
172 "30655\n"
173 "#B< echo 30655 E<gt> /sys/fs/cgroup/freezer/sub/cgroup.procs>;\n"
174 "#B< cat /proc/self/cgroup | grep freezer>;\n"
175 "7:freezer:/sub\n"
176 msgstr ""
177 "#B< mkdir -p /sys/fs/cgroup/freezer/sub>;\n"
178 "#B< echo $$>; # PID dieser Shell zeigen\n"
179 "30655\n"
180 "#B< echo 30655 E<gt> /sys/fs/cgroup/freezer/sub/cgroup.procs>;\n"
181 "#B< cat /proc/self/cgroup | grep freezer>;\n"
182 "7:freezer:/sub\n"
183
184 #. type: Plain text
185 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
186 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
187 msgid ""
188 "Next, we use B<unshare>(1) to create a process running a new shell in new "
189 "cgroup and mount namespaces:"
190 msgstr ""
191 "Als nächstes wird B<unshare>(1) verwandt, um einen Prozess zu erzeugen, der "
192 "in einer neuen Shell in dem neuen Cgroup- und Einhängenamensraum läuft:"
193
194 #. type: Plain text
195 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
196 #: opensuse-tumbleweed
197 #, no-wrap
198 msgid "#B< PS1='sh2# ' unshare -Cm bash>;\n"
199 msgstr "#B< PS1='sh2# ' unshare -Cm bash>;\n"
200
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 msgid ""
205 "From the new shell started by B<unshare>(1), we then inspect the I</proc/"
206 ">pidI</cgroup> files of, respectively, the new shell, a process that is in "
207 "the initial cgroup namespace (I<init>, with PID 1), and the process in the "
208 "sibling cgroup (I<sub2>):"
209 msgstr ""
210 "Von der neuen durch B<unshare>(1) gestarteten Shell werden dann die Dateien "
211 "I</proc/>PIDI</cgroup> der neuen Shell, eines Prozesse in dem anfänglichen "
212 "Cgroup-Namensraum ((I<init> mit PID 1) bzw. des Prozesses in der "
213 "benachbarten Cgroup (I<sub2>) untersucht:"
214
215 #. type: Plain text
216 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
217 #: opensuse-tumbleweed
218 #, no-wrap
219 msgid ""
220 "sh2#B< cat /proc/self/cgroup | grep freezer>;\n"
221 "7:freezer:/\n"
222 "sh2#B< cat /proc/1/cgroup | grep freezer>;\n"
223 "7:freezer:/..\n"
224 "sh2#B< cat /proc/20124/cgroup | grep freezer>;\n"
225 "7:freezer:/../sub2\n"
226 msgstr ""
227 "sh2#B< cat /proc/self/cgroup | grep freezer>;\n"
228 "7:freezer:/\n"
229 "sh2#B< cat /proc/1/cgroup | grep freezer>;\n"
230 "7:freezer:/..\n"
231 "sh2#B< cat /proc/20124/cgroup | grep freezer>;\n"
232 "7:freezer:/../sub2\n"
233
234 #. type: Plain text
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 msgid ""
238 "From the output of the first command, we see that the freezer cgroup "
239 "membership of the new shell (which is in the same cgroup as the initial "
240 "shell) is shown defined relative to the freezer cgroup root directory that "
241 "was established when the new cgroup namespace was created. (In absolute "
242 "terms, the new shell is in the I</sub> freezer cgroup, and the root "
243 "directory of the freezer cgroup hierarchy in the new cgroup namespace is "
244 "also I</sub>. Thus, the new shell's cgroup membership is displayed as \\"
245 "[aq]/\\[aq].)"
246 msgstr ""
247 "In der Ausgabe des ersten Befehls kann gesehen werden, dass die Freezer-"
248 "Cgroup-Mitgliedschaft der neuen Shell (die in der gleichen Cgroup wie die "
249 "anfängliche Shell ist) relativ zum Wurzelverzeichnis der Freezer-Cgroup "
250 "definiert angezeigt wird, die etabliert wurde, als der neue Cgroup-"
251 "Namensraum erstellt wurde. (Absolut gesehen ist die neue Shell in der "
252 "Freezer-Cgroup I</sub> und das Wurzelverzeichnis der Freezer-Cgroup-"
253 "Hierarchie in dem neuen Cgroup-Namensraum auch I</sub>. Daher wird die "
254 "Cgroup-Mitgliedschaft der neuen Shell als »/« angezeigt.)"
255
256 #. type: Plain text
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 msgid ""
260 "However, when we look in I</proc/self/mountinfo> we see the following "
261 "anomaly:"
262 msgstr ""
263 "Wird allerdings in I</proc/self/mountinfo> geschaut, taucht folgende "
264 "Anomalie auf:"
265
266 #. type: Plain text
267 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
268 #: opensuse-tumbleweed
269 #, no-wrap
270 msgid ""
271 "sh2#B< cat /proc/self/mountinfo | grep freezer>;\n"
272 "155 145 0:32 /..\\& /sys/fs/cgroup/freezer ...\n"
273 msgstr ""
274 "sh2#B< cat /proc/self/mountinfo | grep freezer>;\n"
275 "155 145 0:32 /..\\& /sys/fs/cgroup/freezer …\n"
276
277 #. type: Plain text
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 msgid ""
281 "The fourth field of this line (I</..>) should show the directory in the "
282 "cgroup filesystem which forms the root of this mount. Since by the "
283 "definition of cgroup namespaces, the process's current freezer cgroup "
284 "directory became its root freezer cgroup directory, we should see \\[aq]/\\"
285 "[aq] in this field. The problem here is that we are seeing a mount entry "
286 "for the cgroup filesystem corresponding to the initial cgroup namespace "
287 "(whose cgroup filesystem is indeed rooted at the parent directory of "
288 "I<sub>). To fix this problem, we must remount the freezer cgroup filesystem "
289 "from the new shell (i.e., perform the mount from a process that is in the "
290 "new cgroup namespace), after which we see the expected results:"
291 msgstr ""
292 "Das vierte Feld dieser Zeile (I</..>) sollte das Verzeichnis in dem Cgroup-"
293 "Dateisystem anzeigen, das die Wurzel dieser Einhängung formt. Da per "
294 "Definition von Cgroup-Namensräumen das aktuelle Freezer-Cgroup-Verzeichnis "
295 "des aktuellen Prozesses sein Wurzel-Freezer-Cgroup-Verzeichnis wurde, sollte "
296 "in diesem Feld »/« auftauchen. Das Problem hier ist, dass ein "
297 "Einhängeeintrag für das Cgroup-Dateisystem gezeigt wird, das dem "
298 "anfänglichen Cgroup-Namensraum entspricht (dessen Cgroup-Dateisystem "
299 "tatsächlich am übergeordneten Verzeichnis von I<sub> verwurzelt ist). Um "
300 "dieses Problem zu beheben, muss das Freezer-Cgroup-Dateisystem aus der neuen "
301 "Shell neu eingehängt werden (d.h. die Einhängung muss von einem Prozess "
302 "durchgeführt werden, der in dem neuen Cgroup-Namensraum ist). Danach kann "
303 "das erwartete Ergebnis gesehen werden:"
304
305 #. type: Plain text
306 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
307 #: opensuse-tumbleweed
308 #, no-wrap
309 msgid ""
310 "sh2#B< mount --make-rslave />; # Don\\[aq]t propagate mount events\n"
311 " # to other namespaces\n"
312 "sh2#B< umount /sys/fs/cgroup/freezer>;\n"
313 "sh2#B< mount -t cgroup -o freezer freezer /sys/fs/cgroup/freezer>;\n"
314 "sh2#B< cat /proc/self/mountinfo | grep freezer>;\n"
315 "155 145 0:32 / /sys/fs/cgroup/freezer rw,relatime ...\n"
316 msgstr ""
317 "sh2#B< mount --make-rslave />; # Einhänge-Ereignisse nicht in\n"
318 " # andere Namensräume weiterleiten\n"
319 "sh2#B< umount /sys/fs/cgroup/freezer>;\n"
320 "sh2#B< mount -t cgroup -o freezer freezer /sys/fs/cgroup/freezer>;\n"
321 "sh2#B< cat /proc/self/mountinfo | grep freezer>;\n"
322 "155 145 0:32 / /sys/fs/cgroup/freezer rw,relatime …\n"
323
324 #. type: SH
325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
327 #, no-wrap
328 msgid "STANDARDS"
329 msgstr "STANDARDS"
330
331 #. type: Plain text
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 msgid "Linux."
335 msgstr "Linux."
336
337 #. type: SH
338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
340 #, no-wrap
341 msgid "NOTES"
342 msgstr "ANMERKUNGEN"
343
344 #. type: Plain text
345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
347 msgid ""
348 "Use of cgroup namespaces requires a kernel that is configured with the "
349 "B<CONFIG_CGROUPS> option."
350 msgstr ""
351 "Die Verwendung von Cgroup-Namensräumen benötigt einen Kernel, der mit der "
352 "Option B<CONFIG_CGROUPS> konfiguriert ist."
353
354 #. type: Plain text
355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
357 msgid ""
358 "The virtualization provided by cgroup namespaces serves a number of purposes:"
359 msgstr ""
360 "Die durch Cgroup-Namensräume bereitgestellte Virtualisierung dient einer "
361 "Reihe von Zwecken:"
362
363 #. type: IP
364 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
365 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
366 #, no-wrap
367 msgid "\\[bu]"
368 msgstr "\\[bu]"
369
370 #. type: Plain text
371 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
372 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
373 msgid ""
374 "It prevents information leaks whereby cgroup directory paths outside of a "
375 "container would otherwise be visible to processes in the container. Such "
376 "leakages could, for example, reveal information about the container "
377 "framework to containerized applications."
378 msgstr ""
379 "Sie verhindert Informationslecks, durch die Cgroup-Verzeichnispfade "
380 "außerhalb eines Containers andernfalls für Prozesse innerhalb des Containers "
381 "sichtbar sind. Solche Lecks könnten beispielsweise Informationen über das "
382 "umgebende Container-System an Anwendungen innerhalb von Containern "
383 "offenlegen."
384
385 #. type: Plain text
386 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
387 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
388 msgid ""
389 "It eases tasks such as container migration. The virtualization provided by "
390 "cgroup namespaces allows containers to be isolated from knowledge of the "
391 "pathnames of ancestor cgroups. Without such isolation, the full cgroup "
392 "pathnames (displayed in I</proc/self/cgroups>) would need to be replicated "
393 "on the target system when migrating a container; those pathnames would also "
394 "need to be unique, so that they don't conflict with other pathnames on the "
395 "target system."
396 msgstr ""
397 "Sie erleichtern Aufgaben wie Container-Migration. Die durch Cgroup-"
398 "Namensräume bereitgestellte Virtualisierung erlaubt es, Container vom Wissen "
399 "über die Pfadnamen von Vorgängern-Cgroups zu isolieren. Ohne solche "
400 "Isolierungen müssten die vollständigen Cgroup-Pfadnamen (angezeigt in I</"
401 "proc/self/cgroups>) auf dem Zielsystem bei der Migration eines Containers "
402 "repliziert werden; diese Pfadnamen müssten auch eindeutig sein, so dass sie "
403 "nicht zu anderen Pfadnamen auf dem Zielsystem in Konflikt stehen."
404
405 #. type: Plain text
406 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
407 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
408 msgid ""
409 "It allows better confinement of containerized processes, because it is "
410 "possible to mount the container's cgroup filesystems such that the container "
411 "processes can't gain access to ancestor cgroup directories. Consider, for "
412 "example, the following scenario:"
413 msgstr ""
414 "Sie erlauben bessere Einsperrungen von Prozessen in Containern, da es "
415 "möglich ist, das Cgroup-Dateisystem des Containers so einzuhängen, dass der "
416 "Prozess im Container keinen Zugriff auf die Vorgänger-Cgroup-Verzeichnisse "
417 "erlangen kann. Betrachten Sie beispielsweise folgendes Szenario:"
418
419 # WONTFIX user ID → UID // Upstream: Globally move to "user ID"
420 #. type: Plain text
421 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
422 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
423 msgid "We have a cgroup directory, I</cg/1>, that is owned by user ID 9000."
424 msgstr ""
425 "Es gibt ein Cgroup-Verzeichnis I</cg/1>, das der Benutzerkennung 9000 gehört."
426
427 # WONTFIX user ID → UID // Upstream: Globally move to "user ID"
428 #. type: Plain text
429 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
430 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
431 msgid ""
432 "We have a process, I<X>, also owned by user ID 9000, that is namespaced "
433 "under the cgroup I</cg/1/2> (i.e., I<X> was placed in a new cgroup namespace "
434 "via B<clone>(2) or B<unshare>(2) with the B<CLONE_NEWCGROUP> flag)."
435 msgstr ""
436 "Es gibt einen Prozess I<X>, der auch der Benutzerkennung 9000 gehört, der im "
437 "Namensraum unterhalb der Cgroup I</cg/1/2> ist (d.h. I<X> wurde in einen "
438 "neuen Cgroup-Namensraum mittels B<clone>(2) oder B<unshare>(2) mit dem "
439 "Schalter B<CLONE_NEWCGROUP> gebracht)."
440
441 # WONTFIX user ID → UID // Upstream: Globally move to "user ID"
442 #. type: Plain text
443 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
444 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
445 msgid ""
446 "In the absence of cgroup namespacing, because the cgroup directory I</cg/1> "
447 "is owned (and writable) by UID 9000 and process I<X> is also owned by user "
448 "ID 9000, process I<X> would be able to modify the contents of cgroups files "
449 "(i.e., change cgroup settings) not only in I</cg/1/2> but also in the "
450 "ancestor cgroup directory I</cg/1>. Namespacing process I<X> under the "
451 "cgroup directory I</cg/1/2>, in combination with suitable mount operations "
452 "for the cgroup filesystem (as shown above), prevents it modifying files in "
453 "I</cg/1>, since it cannot even see the contents of that directory (or of "
454 "further removed cgroup ancestor directories). Combined with correct "
455 "enforcement of hierarchical limits, this prevents process I<X> from escaping "
456 "the limits imposed by ancestor cgroups."
457 msgstr ""
458 "Da das Cgroup-Verzeichnis I</cg/1> der UID 9000 gehört (und für sie "
459 "schreibbar ist) und I<X> auch der UID 9000 gehört, wäre der Prozess I<X>, in "
460 "Abwesenheit von Cgroup-Namensräumen, in der Lage, die Inhalte der Cgroup-"
461 "Dateien zu verändern (d.h. die Cgroup-Einstellungen zu ändern), nicht nur in "
462 "I</cg/1/2>, sondern auch in dem Vorgänger-Cgroup-Verzeichnis I</cg/1>. Da "
463 "der Prozess I<X> im Namensraum unter dem Cgroup-Verzeichnis I</cg/1/2> ist, "
464 "wird, in Zusammenhang mit geeigneten Einhängeaktionen für das Cgroup-"
465 "Dateisystem (wie oben gezeigt), verhindert, dass er Dateien in I</cg/1> "
466 "verändert, da er noch nicht einmal die Inhalte dieses Verzeichnisses (oder "
467 "von weiter entfernten Cgroup-Vorgänger-Verzeichnissen) sehen kann. In "
468 "Zusammenspiel mit der korrekten Durchsetzung von hierarchischen "
469 "Beschränkungen verhindert dies, dass Prozess I<X> diesen von den Vorgänger-"
470 "Cgroups auferlegten Beschränkungen entkommt."
471
472 #. type: SH
473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
475 #, no-wrap
476 msgid "SEE ALSO"
477 msgstr "SIEHE AUCH"
478
479 #. type: Plain text
480 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
481 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
482 msgid ""
483 "B<unshare>(1), B<clone>(2), B<setns>(2), B<unshare>(2), B<proc>(5), "
484 "B<cgroups>(7), B<credentials>(7), B<namespaces>(7), B<user_namespaces>(7)"
485 msgstr ""
486 "B<unshare>(1), B<clone>(2), B<setns>(2), B<unshare>(2), B<proc>(5), "
487 "B<cgroups>(7), B<credentials>(7), B<namespaces>(7), B<user_namespaces>(7)"
488
489 #. type: TH
490 #: debian-trixie fedora-44 fedora-rawhide
491 #, no-wrap
492 msgid "2024-05-02"
493 msgstr "2. Mai 2024"
494
495 #. type: TH
496 #: debian-trixie
497 #, no-wrap
498 msgid "Linux man-pages 6.9.1"
499 msgstr "Linux man-pages 6.9.1"
500
501 #. type: Plain text
502 #: debian-trixie fedora-44 fedora-rawhide
503 #, no-wrap
504 msgid ""
505 "# B<mkdir -p /sys/fs/cgroup/freezer/sub2>\n"
506 "# B<sleep 10000 &> # Create a process that lives for a while\n"
507 "[1] 20124\n"
508 "# B<echo 20124 E<gt> /sys/fs/cgroup/freezer/sub2/cgroup.procs>\n"
509 msgstr ""
510 "# B<mkdir -p /sys/fs/cgroup/freezer/sub2>\n"
511 "# B<sleep 10000 &> # Erzeugung eines Prozesses, der eine Zeit lebt\n"
512 "[1] 20124\n"
513 "# B<echo 20124 E<gt> /sys/fs/cgroup/freezer/sub2/cgroup.procs>\n"
514
515 #. type: Plain text
516 #: debian-trixie fedora-44 fedora-rawhide
517 #, no-wrap
518 msgid ""
519 "# B<mkdir -p /sys/fs/cgroup/freezer/sub>\n"
520 "# B<echo $$> # Show PID of this shell\n"
521 "30655\n"
522 "# B<echo 30655 E<gt> /sys/fs/cgroup/freezer/sub/cgroup.procs>\n"
523 "# B<cat /proc/self/cgroup | grep freezer>\n"
524 "7:freezer:/sub\n"
525 msgstr ""
526 "# B<mkdir -p /sys/fs/cgroup/freezer/sub>\n"
527 "# B<echo $$> # PID dieser Shell zeigen\n"
528 "30655\n"
529 "# B<echo 30655 E<gt> /sys/fs/cgroup/freezer/sub/cgroup.procs>\n"
530 "# B<cat /proc/self/cgroup | grep freezer>\n"
531 "7:freezer:/sub\n"
532
533 #. type: Plain text
534 #: debian-trixie fedora-44 fedora-rawhide
535 #, no-wrap
536 msgid "# B<PS1=\"sh2# \" unshare -Cm bash>\n"
537 msgstr "# B<PS1=\"sh2# \" unshare -Cm bash>\n"
538
539 #. type: Plain text
540 #: debian-trixie fedora-44 fedora-rawhide
541 #, no-wrap
542 msgid ""
543 "sh2# B<cat /proc/self/cgroup | grep freezer>\n"
544 "7:freezer:/\n"
545 "sh2# B<cat /proc/1/cgroup | grep freezer>\n"
546 "7:freezer:/..\n"
547 "sh2# B<cat /proc/20124/cgroup | grep freezer>\n"
548 "7:freezer:/../sub2\n"
549 msgstr ""
550 "sh2# B<cat /proc/self/cgroup | grep freezer>\n"
551 "7:freezer:/\n"
552 "sh2# B<cat /proc/1/cgroup | grep freezer>\n"
553 "7:freezer:/..\n"
554 "sh2# B<cat /proc/20124/cgroup | grep freezer>\n"
555 "7:freezer:/../sub2\n"
556
557 #. type: Plain text
558 #: debian-trixie fedora-44 fedora-rawhide
559 #, no-wrap
560 msgid ""
561 "sh2# B<cat /proc/self/mountinfo | grep freezer>\n"
562 "155 145 0:32 /.. /sys/fs/cgroup/freezer ...\n"
563 msgstr ""
564 "sh2# B<cat /proc/self/mountinfo | grep freezer>\n"
565 "155 145 0:32 /.. /sys/fs/cgroup/freezer …\n"
566
567 #. type: Plain text
568 #: debian-trixie fedora-44 fedora-rawhide
569 #, no-wrap
570 msgid ""
571 "sh2# B<mount --make-rslave /> # Don\\[aq]t propagate mount events\n"
572 " # to other namespaces\n"
573 "sh2# B<umount /sys/fs/cgroup/freezer>\n"
574 "sh2# B<mount -t cgroup -o freezer freezer /sys/fs/cgroup/freezer>\n"
575 "sh2# B<cat /proc/self/mountinfo | grep freezer>\n"
576 "155 145 0:32 / /sys/fs/cgroup/freezer rw,relatime ...\n"
577 msgstr ""
578 "sh2# B<mount --make-rslave /> # Einhänge-Ereignisse nicht in\n"
579 " # andere Namensräume weiterleiten\n"
580 "sh2# B<umount /sys/fs/cgroup/freezer>\n"
581 "sh2# B<mount -t cgroup -o freezer freezer /sys/fs/cgroup/freezer>\n"
582 "sh2# B<cat /proc/self/mountinfo | grep freezer>\n"
583 "155 145 0:32 / /sys/fs/cgroup/freezer rw,relatime …\n"
584
585 #. type: TH
586 #: fedora-44 fedora-rawhide
587 #, no-wrap
588 msgid "Linux man-pages 6.13"
589 msgstr "Linux man-pages 6.13"
590
591 #. type: TH
592 #: mageia-cauldron
593 #, no-wrap
594 msgid "Linux man-pages 6.17"
595 msgstr "Linux man-pages 6.17"
596
597 #. type: TH
598 #: opensuse-leap-16-1 opensuse-tumbleweed
599 #, no-wrap
600 msgid "Linux man-pages (unreleased)"
601 msgstr "Linux man-pages (unveröffentlicht)"