| 1 |
# French translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Christophe Blaess <https://www.blaess.fr/christophe/>, 1996-2003. |
| 5 |
# Stéphan Rafin <[email protected]>, 2002. |
| 6 |
# Thierry Vignaud <[email protected]>, 1999, 2002. |
| 7 |
# François Micaux, 2002. |
| 8 |
# Alain Portal <[email protected]>, 2003-2008. |
| 9 |
# Jean-Philippe Guérard <[email protected]>, 2005-2006. |
| 10 |
# Jean-Luc Coulon (f5ibh) <[email protected]>, 2006-2007. |
| 11 |
# Julien Cristau <[email protected]>, 2006-2007. |
| 12 |
# Thomas Huriaux <[email protected]>, 2006-2008. |
| 13 |
# Nicolas François <[email protected]>, 2006-2008. |
| 14 |
# Florentin Duneau <[email protected]>, 2006-2010. |
| 15 |
# Simon Paillard <[email protected]>, 2006. |
| 16 |
# Denis Barbier <[email protected]>, 2006, 2010. |
| 17 |
# David Prévot <[email protected]>, 2010, 2012. |
| 18 |
# Jean-Paul Guillonneau <[email protected]>, 2023. |
| 19 |
msgid "" |
| 20 |
msgstr "" |
| 21 |
"Project-Id-Version: man-pages-fr\n" |
| 22 |
"POT-Creation-Date: 2026-06-05 06:20+0200\n" |
| 23 |
"PO-Revision-Date: 2023-11-26 10:49+0100\n" |
| 24 |
"Last-Translator: Jean-Paul Guillonneau <[email protected]>\n" |
| 25 |
"Language-Team: French <[email protected]>\n" |
| 26 |
"Language: fr\n" |
| 27 |
"MIME-Version: 1.0\n" |
| 28 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 29 |
"Content-Transfer-Encoding: 8bit\n" |
| 30 |
"Plural-Forms: nplurals=2; plural=n > 1;\n" |
| 31 |
"X-Generator: gvim\n" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 35 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 36 |
#, no-wrap |
| 37 |
msgid "cgroup_namespaces" |
| 38 |
msgstr "cgroup_namespaces" |
| 39 |
|
| 40 |
#. type: TH |
| 41 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 42 |
#: opensuse-tumbleweed |
| 43 |
#, no-wrap |
| 44 |
msgid "2026-02-08" |
| 45 |
msgstr "8 février 2026" |
| 46 |
|
| 47 |
#. type: TH |
| 48 |
#: archlinux debian-unstable |
| 49 |
#, no-wrap |
| 50 |
msgid "Linux man-pages 6.18" |
| 51 |
msgstr "Pages du manuel de Linux 6.18" |
| 52 |
|
| 53 |
#. type: SH |
| 54 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 55 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 56 |
#, no-wrap |
| 57 |
msgid "NAME" |
| 58 |
msgstr "NOM" |
| 59 |
|
| 60 |
#. type: Plain text |
| 61 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 62 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
msgid "cgroup_namespaces - overview of Linux cgroup namespaces" |
| 64 |
msgstr "cgroup_namespaces – Aperçu des espaces de noms cgroup de Linux" |
| 65 |
|
| 66 |
#. type: SH |
| 67 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 68 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 69 |
#, no-wrap |
| 70 |
msgid "DESCRIPTION" |
| 71 |
msgstr "DESCRIPTION" |
| 72 |
|
| 73 |
#. type: Plain text |
| 74 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 75 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 76 |
msgid "For an overview of namespaces, see B<namespaces>(7)." |
| 77 |
msgstr "" |
| 78 |
"Pour une présentation générale des espaces de noms, consultez " |
| 79 |
"B<namespaces>(7)." |
| 80 |
|
| 81 |
#. type: Plain text |
| 82 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 83 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 84 |
msgid "" |
| 85 |
"Cgroup namespaces virtualize the view of a process's cgroups (see " |
| 86 |
"B<cgroups>(7)) as seen via I</proc/>pidI</cgroup> and I</proc/>pidI</" |
| 87 |
"mountinfo>." |
| 88 |
msgstr "" |
| 89 |
"Les espaces de noms cgroup virtualisent la vue des cgroups de processus " |
| 90 |
"(consulter B<cgroups>(7)) telle qu’aperçue à l’aide de I</proc/>pidI</" |
| 91 |
"cgroup> et I</proc/>pidI</mountinfo>." |
| 92 |
|
| 93 |
#. type: Plain text |
| 94 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 95 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 96 |
msgid "" |
| 97 |
"Each cgroup namespace has its own set of cgroup root directories. These " |
| 98 |
"root directories are the base points for the relative locations displayed in " |
| 99 |
"the corresponding records in the I</proc/>pidI</cgroup> file. When a " |
| 100 |
"process creates a new cgroup namespace using B<clone>(2) or B<unshare>(2) " |
| 101 |
"with the B<CLONE_NEWCGROUP> flag, its current cgroups directories become the " |
| 102 |
"cgroup root directories of the new namespace. (This applies both for the " |
| 103 |
"cgroups version 1 hierarchies and the cgroups version 2 unified hierarchy.)" |
| 104 |
msgstr "" |
| 105 |
"Chaque espace de noms cgroup a son propre ensemble de répertoires racines de " |
| 106 |
"cgroup. Ces répertoires racines sont les points de base pour les " |
| 107 |
"emplacements relatifs affichés dans les enregistrements correspondants dans " |
| 108 |
"le fichier I</proc/>pidI</cgroup>. Quand un processus crée un nouvel espace " |
| 109 |
"de noms cgroup en utilisant B<clone>(2) ou B<unshare>(2) avec le drapeau " |
| 110 |
"B<CLONE_NEWCGROUP>, ses répertoires de cgroups actuels deviennent les " |
| 111 |
"répertoires racines de cgroup dans le nouvel espace de noms (cela s’applique " |
| 112 |
"pour les hiérarchies cgroups version 1 et la hiérarchie unifiée cgroups " |
| 113 |
"version 2)." |
| 114 |
|
| 115 |
#. type: Plain text |
| 116 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 117 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 118 |
msgid "" |
| 119 |
"When reading the cgroup memberships of a \"target\" process from I</proc/" |
| 120 |
">pidI</cgroup>, the pathname shown in the third field of each record will be " |
| 121 |
"relative to the reading process's root directory for the corresponding " |
| 122 |
"cgroup hierarchy. If the cgroup directory of the target process lies " |
| 123 |
"outside the root directory of the reading process's cgroup namespace, then " |
| 124 |
"the pathname will show I<../> entries for each ancestor level in the cgroup " |
| 125 |
"hierarchy." |
| 126 |
msgstr "" |
| 127 |
"Lors de la lecture des appartenances à un cgroup d’un processus « cible » à " |
| 128 |
"partir de I</proc/>pidI</cgroup>, le chemin affiché dans le troisième champ " |
| 129 |
"de chaque enregistrement sera relatif au répertoire racine du processus " |
| 130 |
"lisant pour la hiérarchie correspondante de cgroup. Si le répertoire de " |
| 131 |
"cgroup du processus cible réside en dehors du répertoire racine de l’espace " |
| 132 |
"de noms cgroup du processus lisant, alors le chemin affiche les entrées I<../" |
| 133 |
"> pour chaque niveau ancêtre dans la hiérarchie de cgroup." |
| 134 |
|
| 135 |
#. type: Plain text |
| 136 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 137 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 138 |
msgid "" |
| 139 |
"The following shell session demonstrates the effect of creating a new cgroup " |
| 140 |
"namespace." |
| 141 |
msgstr "" |
| 142 |
"La session d’interpréteur suivante montre les effets de la création d’un " |
| 143 |
"nouvel espace de noms cgroup." |
| 144 |
|
| 145 |
#. type: Plain text |
| 146 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 147 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 148 |
msgid "" |
| 149 |
"First, (as superuser) in a shell in the initial cgroup namespace, we create " |
| 150 |
"a child cgroup in the I<freezer> hierarchy, and place a process in that " |
| 151 |
"cgroup that we will use as part of the demonstration below:" |
| 152 |
msgstr "" |
| 153 |
"D’abord, (en tant que superutilisateur) dans un interpréteur dans l’espace " |
| 154 |
"de noms cgroup initial, nous créons un cgroup enfant dans la hiérarchie " |
| 155 |
"I<freezer> et plaçons un processus dans ce cgroup que nous utiliserons comme " |
| 156 |
"partie de la démonstration suivante :" |
| 157 |
|
| 158 |
#. type: Plain text |
| 159 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 160 |
#: opensuse-tumbleweed |
| 161 |
#, fuzzy, no-wrap |
| 162 |
#| msgid "" |
| 163 |
#| "# B<mkdir -p /sys/fs/cgroup/freezer/sub2>\n" |
| 164 |
#| "# B<sleep 10000 &> # Create a process that lives for a while\n" |
| 165 |
#| "[1] 20124\n" |
| 166 |
#| "# B<echo 20124 E<gt> /sys/fs/cgroup/freezer/sub2/cgroup.procs>\n" |
| 167 |
msgid "" |
| 168 |
"#B< mkdir -p /sys/fs/cgroup/freezer/sub2>;\n" |
| 169 |
"#B< sleep 10000 &> # Create a process that lives for a while\n" |
| 170 |
"[1] 20124\n" |
| 171 |
"#B< echo 20124 E<gt> /sys/fs/cgroup/freezer/sub2/cgroup.procs>;\n" |
| 172 |
msgstr "" |
| 173 |
"# B<mkdir -p /sys/fs/cgroup/freezer/sub2>\n" |
| 174 |
"# B<sleep 10000 &> # Création d’un processus qui vit pendant un certain temps\n" |
| 175 |
"[1] 20124\n" |
| 176 |
"# B<echo 20124 E<gt> /sys/fs/cgroup/freezer/sub2/cgroup.procs>\n" |
| 177 |
|
| 178 |
#. type: Plain text |
| 179 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 180 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 181 |
msgid "" |
| 182 |
"We then create another child cgroup in the I<freezer> hierarchy and put the " |
| 183 |
"shell into that cgroup:" |
| 184 |
msgstr "" |
| 185 |
"Puis créons un nouveau cgroup enfant dans la hiérarchie I<freezer> et " |
| 186 |
"intégrons l’interpréteur dans ce cgroup :" |
| 187 |
|
| 188 |
#. type: Plain text |
| 189 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 190 |
#: opensuse-tumbleweed |
| 191 |
#, fuzzy, no-wrap |
| 192 |
#| msgid "" |
| 193 |
#| "# B<mkdir -p /sys/fs/cgroup/freezer/sub>\n" |
| 194 |
#| "# B<echo $$> # Show PID of this shell\n" |
| 195 |
#| "30655\n" |
| 196 |
#| "# B<echo 30655 E<gt> /sys/fs/cgroup/freezer/sub/cgroup.procs>\n" |
| 197 |
#| "# B<cat /proc/self/cgroup | grep freezer>\n" |
| 198 |
#| "7:freezer:/sub\n" |
| 199 |
msgid "" |
| 200 |
"#B< mkdir -p /sys/fs/cgroup/freezer/sub>;\n" |
| 201 |
"#B< echo $$>; # Show PID of this shell\n" |
| 202 |
"30655\n" |
| 203 |
"#B< echo 30655 E<gt> /sys/fs/cgroup/freezer/sub/cgroup.procs>;\n" |
| 204 |
"#B< cat /proc/self/cgroup | grep freezer>;\n" |
| 205 |
"7:freezer:/sub\n" |
| 206 |
msgstr "" |
| 207 |
"# B<mkdir -p /sys/fs/cgroup/freezer/sub>\n" |
| 208 |
"# B<echo $$> # Affichage du PID de l’interpréteur\n" |
| 209 |
"30655\n" |
| 210 |
"# B<echo 30655 E<gt> /sys/fs/cgroup/freezer/sub/cgroup.procs>\n" |
| 211 |
"# B<cat /proc/self/cgroup | grep freezer>\n" |
| 212 |
"7:freezer:/sub\n" |
| 213 |
|
| 214 |
#. type: Plain text |
| 215 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 216 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 217 |
msgid "" |
| 218 |
"Next, we use B<unshare>(1) to create a process running a new shell in new " |
| 219 |
"cgroup and mount namespaces:" |
| 220 |
msgstr "" |
| 221 |
"Ensuite, nous utilisons B<unshare>(1) pour créer un processus exécutant un " |
| 222 |
"nouvel interpréteur dans les nouveaux espaces de noms cgroup et montage :" |
| 223 |
|
| 224 |
#. type: Plain text |
| 225 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 226 |
#: opensuse-tumbleweed |
| 227 |
#, fuzzy, no-wrap |
| 228 |
#| msgid "# B<PS1=\"sh2# \" unshare -Cm bash>\n" |
| 229 |
msgid "#B< PS1='sh2# ' unshare -Cm bash>;\n" |
| 230 |
msgstr "# B<PS1=\"sh2# \" unshare -Cm bash>\n" |
| 231 |
|
| 232 |
#. type: Plain text |
| 233 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 234 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 235 |
msgid "" |
| 236 |
"From the new shell started by B<unshare>(1), we then inspect the I</proc/" |
| 237 |
">pidI</cgroup> files of, respectively, the new shell, a process that is in " |
| 238 |
"the initial cgroup namespace (I<init>, with PID 1), and the process in the " |
| 239 |
"sibling cgroup (I<sub2>):" |
| 240 |
msgstr "" |
| 241 |
"À partir du nouvel interpréteur démarré par B<unshare>(1), nous inspectons " |
| 242 |
"alors les fichiers I</proc/>pidI</cgroup> de, respectivement, le nouvel " |
| 243 |
"interpréteur, un processus qui est dans l’espace de noms cgroup initial " |
| 244 |
"(I<init>, avec PID 1) et le processus dans le cgroup frère (I<sub2>) :" |
| 245 |
|
| 246 |
#. type: Plain text |
| 247 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 248 |
#: opensuse-tumbleweed |
| 249 |
#, fuzzy, no-wrap |
| 250 |
#| msgid "" |
| 251 |
#| "sh2# B<cat /proc/self/cgroup | grep freezer>\n" |
| 252 |
#| "7:freezer:/\n" |
| 253 |
#| "sh2# B<cat /proc/1/cgroup | grep freezer>\n" |
| 254 |
#| "7:freezer:/..\n" |
| 255 |
#| "sh2# B<cat /proc/20124/cgroup | grep freezer>\n" |
| 256 |
#| "7:freezer:/../sub2\n" |
| 257 |
msgid "" |
| 258 |
"sh2#B< cat /proc/self/cgroup | grep freezer>;\n" |
| 259 |
"7:freezer:/\n" |
| 260 |
"sh2#B< cat /proc/1/cgroup | grep freezer>;\n" |
| 261 |
"7:freezer:/..\n" |
| 262 |
"sh2#B< cat /proc/20124/cgroup | grep freezer>;\n" |
| 263 |
"7:freezer:/../sub2\n" |
| 264 |
msgstr "" |
| 265 |
"sh2# B<cat /proc/self/cgroup | grep freezer>\n" |
| 266 |
"7:freezer:/\n" |
| 267 |
"sh2# B<cat /proc/1/cgroup | grep freezer>\n" |
| 268 |
"7:freezer:/..\n" |
| 269 |
"sh2# B<cat /proc/20124/cgroup | grep freezer>\n" |
| 270 |
"7:freezer:/../sub2\n" |
| 271 |
|
| 272 |
#. type: Plain text |
| 273 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 274 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 275 |
msgid "" |
| 276 |
"From the output of the first command, we see that the freezer cgroup " |
| 277 |
"membership of the new shell (which is in the same cgroup as the initial " |
| 278 |
"shell) is shown defined relative to the freezer cgroup root directory that " |
| 279 |
"was established when the new cgroup namespace was created. (In absolute " |
| 280 |
"terms, the new shell is in the I</sub> freezer cgroup, and the root " |
| 281 |
"directory of the freezer cgroup hierarchy in the new cgroup namespace is " |
| 282 |
"also I</sub>. Thus, the new shell's cgroup membership is displayed as \\" |
| 283 |
"[aq]/\\[aq].)" |
| 284 |
msgstr "" |
| 285 |
"Dans la sortie de la première commande, nous voyons que l’appartenance au " |
| 286 |
"cgroup freezer du nouvel interpréteur (qui est dans le même cgroup que " |
| 287 |
"l’interpréteur initial) est affichée comme définie relativement au " |
| 288 |
"répertoire racine du cgroup freezer qui a été établi quand le nouvel espace " |
| 289 |
"de noms cgroup a été créé (en absolu, le nouvel interpréteur est dans la " |
| 290 |
"hiérarchie du cgroup freezer I</sub>, et le répertoire racine de la " |
| 291 |
"hiérarchie du cgroup freezer dans le nouvel espace de noms cgroup est aussi " |
| 292 |
"I</sub>. Par conséquent, l’appartenance à un cgroup du nouvel interpréteur " |
| 293 |
"est affichée sous forme « / »)." |
| 294 |
|
| 295 |
#. type: Plain text |
| 296 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 297 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 298 |
msgid "" |
| 299 |
"However, when we look in I</proc/self/mountinfo> we see the following " |
| 300 |
"anomaly:" |
| 301 |
msgstr "" |
| 302 |
"Cependant, quand nous regardons dans I</proc/self/mountinfo>, nous " |
| 303 |
"constatons l’anomalie suivante :" |
| 304 |
|
| 305 |
#. type: Plain text |
| 306 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 307 |
#: opensuse-tumbleweed |
| 308 |
#, fuzzy, no-wrap |
| 309 |
#| msgid "" |
| 310 |
#| "sh2# B<cat /proc/self/mountinfo | grep freezer>\n" |
| 311 |
#| "155 145 0:32 /.. /sys/fs/cgroup/freezer ...\n" |
| 312 |
msgid "" |
| 313 |
"sh2#B< cat /proc/self/mountinfo | grep freezer>;\n" |
| 314 |
"155 145 0:32 /..\\& /sys/fs/cgroup/freezer ...\n" |
| 315 |
msgstr "" |
| 316 |
"sh2# B<cat /proc/self/mountinfo | grep freezer>\n" |
| 317 |
"155 145 0:32 /.. /sys/fs/cgroup/freezer ...\n" |
| 318 |
|
| 319 |
#. type: Plain text |
| 320 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 321 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 322 |
msgid "" |
| 323 |
"The fourth field of this line (I</..>) should show the directory in the " |
| 324 |
"cgroup filesystem which forms the root of this mount. Since by the " |
| 325 |
"definition of cgroup namespaces, the process's current freezer cgroup " |
| 326 |
"directory became its root freezer cgroup directory, we should see \\[aq]/\\" |
| 327 |
"[aq] in this field. The problem here is that we are seeing a mount entry " |
| 328 |
"for the cgroup filesystem corresponding to the initial cgroup namespace " |
| 329 |
"(whose cgroup filesystem is indeed rooted at the parent directory of " |
| 330 |
"I<sub>). To fix this problem, we must remount the freezer cgroup filesystem " |
| 331 |
"from the new shell (i.e., perform the mount from a process that is in the " |
| 332 |
"new cgroup namespace), after which we see the expected results:" |
| 333 |
msgstr "" |
| 334 |
"Le quatrième champ de cette ligne (I</..>) devrait montrer le répertoire " |
| 335 |
"dans le système de fichiers de cgroup qui forme la racine de ce montage. " |
| 336 |
"Étant donné que suivant la définition des espaces de noms cgroup, le " |
| 337 |
"répertoire actuel du cgroup freezer du processus devient le répertoire " |
| 338 |
"racine du cgroup freezer, nous devrions voir « / » dans ce champ. Le " |
| 339 |
"problème ici est que nous voyons une entrée de montage pour le système de " |
| 340 |
"fichiers cgroup, correspondant à l’espace de noms cgroup initial (dont le " |
| 341 |
"système de fichiers cgroup a en fait sa racine dans le répertoire parent de " |
| 342 |
"I<sub>). Pour corriger ce problème, nous devons remonter le système de " |
| 343 |
"fichiers du cgroup freezer à partir du nouvel interpréteur (c’est-à-dire " |
| 344 |
"réaliser le montage à partir d’un processus qui est dans le nouvel espace de " |
| 345 |
"noms cgroup) ; après quoi, nous verrons les résultats attendus :" |
| 346 |
|
| 347 |
#. type: Plain text |
| 348 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 349 |
#: opensuse-tumbleweed |
| 350 |
#, fuzzy, no-wrap |
| 351 |
#| msgid "" |
| 352 |
#| "sh2# B<mount --make-rslave /> # Don\\[aq]t propagate mount events\n" |
| 353 |
#| " # to other namespaces\n" |
| 354 |
#| "sh2# B<umount /sys/fs/cgroup/freezer>\n" |
| 355 |
#| "sh2# B<mount -t cgroup -o freezer freezer /sys/fs/cgroup/freezer>\n" |
| 356 |
#| "sh2# B<cat /proc/self/mountinfo | grep freezer>\n" |
| 357 |
#| "155 145 0:32 / /sys/fs/cgroup/freezer rw,relatime ...\n" |
| 358 |
msgid "" |
| 359 |
"sh2#B< mount --make-rslave />; # Don\\[aq]t propagate mount events\n" |
| 360 |
" # to other namespaces\n" |
| 361 |
"sh2#B< umount /sys/fs/cgroup/freezer>;\n" |
| 362 |
"sh2#B< mount -t cgroup -o freezer freezer /sys/fs/cgroup/freezer>;\n" |
| 363 |
"sh2#B< cat /proc/self/mountinfo | grep freezer>;\n" |
| 364 |
"155 145 0:32 / /sys/fs/cgroup/freezer rw,relatime ...\n" |
| 365 |
msgstr "" |
| 366 |
"sh2# B<mount --make-rslave /> # Ne pas propager les évènements de \n" |
| 367 |
" # montage aux autres espaces de noms\n" |
| 368 |
"sh2# B<umount /sys/fs/cgroup/freezer>\n" |
| 369 |
"sh2# B<mount -t cgroup -o freezer freezer /sys/fs/cgroup/freezer>\n" |
| 370 |
"sh2# B<cat /proc/self/mountinfo | grep freezer>\n" |
| 371 |
"155 145 0:32 / /sys/fs/cgroup/freezer rw,relatime ...\n" |
| 372 |
|
| 373 |
#. type: SH |
| 374 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 375 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 376 |
#, no-wrap |
| 377 |
msgid "STANDARDS" |
| 378 |
msgstr "NORMES" |
| 379 |
|
| 380 |
#. type: Plain text |
| 381 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 382 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 383 |
msgid "Linux." |
| 384 |
msgstr "Linux." |
| 385 |
|
| 386 |
#. type: SH |
| 387 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 388 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 389 |
#, no-wrap |
| 390 |
msgid "NOTES" |
| 391 |
msgstr "NOTES" |
| 392 |
|
| 393 |
#. type: Plain text |
| 394 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 395 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 396 |
msgid "" |
| 397 |
"Use of cgroup namespaces requires a kernel that is configured with the " |
| 398 |
"B<CONFIG_CGROUPS> option." |
| 399 |
msgstr "" |
| 400 |
"L’utilisation des espaces de noms cgroup requiert un noyau configuré avec " |
| 401 |
"l’option B<CONFIG_CGROUPS>." |
| 402 |
|
| 403 |
#. type: Plain text |
| 404 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 405 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 406 |
msgid "" |
| 407 |
"The virtualization provided by cgroup namespaces serves a number of purposes:" |
| 408 |
msgstr "" |
| 409 |
"La virtualisation offerte par les espaces de noms cgroup poursuit plusieurs " |
| 410 |
"buts :" |
| 411 |
|
| 412 |
#. type: IP |
| 413 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 414 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 415 |
#, no-wrap |
| 416 |
msgid "\\[bu]" |
| 417 |
msgstr "-" |
| 418 |
|
| 419 |
#. type: Plain text |
| 420 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 421 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 422 |
msgid "" |
| 423 |
"It prevents information leaks whereby cgroup directory paths outside of a " |
| 424 |
"container would otherwise be visible to processes in the container. Such " |
| 425 |
"leakages could, for example, reveal information about the container " |
| 426 |
"framework to containerized applications." |
| 427 |
msgstr "" |
| 428 |
"elle prévient une fuite d’informations par laquelle des chemins de " |
| 429 |
"répertoire de cgroup en dehors d’un conteneur seraient visibles par les " |
| 430 |
"processus dans le conteneur. De telles fuites pourraient, par exemple, " |
| 431 |
"révéler des informations à propos du cadriciel utilisé pour mettre en " |
| 432 |
"conteneur les applications ;" |
| 433 |
|
| 434 |
#. type: Plain text |
| 435 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 436 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 437 |
msgid "" |
| 438 |
"It eases tasks such as container migration. The virtualization provided by " |
| 439 |
"cgroup namespaces allows containers to be isolated from knowledge of the " |
| 440 |
"pathnames of ancestor cgroups. Without such isolation, the full cgroup " |
| 441 |
"pathnames (displayed in I</proc/self/cgroups>) would need to be replicated " |
| 442 |
"on the target system when migrating a container; those pathnames would also " |
| 443 |
"need to be unique, so that they don't conflict with other pathnames on the " |
| 444 |
"target system." |
| 445 |
msgstr "" |
| 446 |
"elle facilite des tâches telles que la migration de conteneur. La " |
| 447 |
"virtualisation offerte par les espaces de noms cgroup permet aux conteneurs " |
| 448 |
"d’être protégés de la connaissance des noms de chemin de cgroups ancêtres. " |
| 449 |
"Sans cette protection, tous les noms de chemin de cgroup (affichés dans I</" |
| 450 |
"proc/self/cgroups>) devraient être répliqués sur le système cible lors de la " |
| 451 |
"migration d’un conteneur. Ces noms de chemin devraient aussi être uniques, " |
| 452 |
"de façon à ne pas entrer en conflit avec d’autres noms de chemin dans le " |
| 453 |
"système cible ;" |
| 454 |
|
| 455 |
#. type: Plain text |
| 456 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 457 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 458 |
msgid "" |
| 459 |
"It allows better confinement of containerized processes, because it is " |
| 460 |
"possible to mount the container's cgroup filesystems such that the container " |
| 461 |
"processes can't gain access to ancestor cgroup directories. Consider, for " |
| 462 |
"example, the following scenario:" |
| 463 |
msgstr "" |
| 464 |
"elle permet un meilleur confinement des processus mis en conteneur parce " |
| 465 |
"qu’il est possible de monter le système de fichiers de cgroup du conteneur " |
| 466 |
"de telle façon que les processus du conteneur puissent accéder aux " |
| 467 |
"répertoires du cgroup ancêtre. Considérons, par exemple, le scénario " |
| 468 |
"suivant :" |
| 469 |
|
| 470 |
#. type: Plain text |
| 471 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 472 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 473 |
msgid "We have a cgroup directory, I</cg/1>, that is owned by user ID 9000." |
| 474 |
msgstr "" |
| 475 |
"nous avons un répertoire de cgroup, I</cg/1> dont le propriétaire est " |
| 476 |
"l’utilisateur d’ID 9000," |
| 477 |
|
| 478 |
#. type: Plain text |
| 479 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 480 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 481 |
msgid "" |
| 482 |
"We have a process, I<X>, also owned by user ID 9000, that is namespaced " |
| 483 |
"under the cgroup I</cg/1/2> (i.e., I<X> was placed in a new cgroup namespace " |
| 484 |
"via B<clone>(2) or B<unshare>(2) with the B<CLONE_NEWCGROUP> flag)." |
| 485 |
msgstr "" |
| 486 |
"nous avons un processus, I<X>, dont le propriétaire est aussi l’utilisateur " |
| 487 |
"d’ID 9000, qui est mis dans l’espace de noms sous le cgroup I</cg/1/2> " |
| 488 |
"(c’est-à-dire I<X> a été placé dans un nouvel espace de noms cgroup à l’aide " |
| 489 |
"de B<clone>(2) ou B<unshare>(2) avec le drapeau B<CLONE_NEWCGROUP>)." |
| 490 |
|
| 491 |
#. type: Plain text |
| 492 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 493 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 494 |
msgid "" |
| 495 |
"In the absence of cgroup namespacing, because the cgroup directory I</cg/1> " |
| 496 |
"is owned (and writable) by UID 9000 and process I<X> is also owned by user " |
| 497 |
"ID 9000, process I<X> would be able to modify the contents of cgroups files " |
| 498 |
"(i.e., change cgroup settings) not only in I</cg/1/2> but also in the " |
| 499 |
"ancestor cgroup directory I</cg/1>. Namespacing process I<X> under the " |
| 500 |
"cgroup directory I</cg/1/2>, in combination with suitable mount operations " |
| 501 |
"for the cgroup filesystem (as shown above), prevents it modifying files in " |
| 502 |
"I</cg/1>, since it cannot even see the contents of that directory (or of " |
| 503 |
"further removed cgroup ancestor directories). Combined with correct " |
| 504 |
"enforcement of hierarchical limits, this prevents process I<X> from escaping " |
| 505 |
"the limits imposed by ancestor cgroups." |
| 506 |
msgstr "" |
| 507 |
"Si le cgroup n’est pas mis dans un espace de noms, comme le répertoire de " |
| 508 |
"cgroup I</cg/1> a pour propriétaire l’UID 9000 (qui peut l'éditer) et le " |
| 509 |
"processus I<X> a aussi pour propriétaire l’utilisateur d’ID 9000, le " |
| 510 |
"processus I<X> pourrait modifier le contenu des fichiers de cgroup (c’est-à-" |
| 511 |
"dire modifier les réglages de cgroup), non seulement dans I</cg/1/2>, mais " |
| 512 |
"aussi dans le répertoire ancêtre de cgroup I</cg/1>. La mise en espace de " |
| 513 |
"noms du processus I<X> sous le répertoire de cgroup I</cg/1/2>, en " |
| 514 |
"combinaison avec les opérations adaptées de montage pour le système de " |
| 515 |
"fichiers de cgroup (comme montré ci-dessus), empêche le processus de " |
| 516 |
"modifier les fichiers dans I</cg/1>, puisqu’il ne peut même pas voir le " |
| 517 |
"contenu de ce répertoire (ou des répertoires ancêtres de cgroup supprimés " |
| 518 |
"ultérieurement). Combiné avec une application correcte des limites de " |
| 519 |
"hiérarchie, cela empêche le processus I<X> de sortir des limites imposées " |
| 520 |
"par les cgroups ancêtres." |
| 521 |
|
| 522 |
#. type: SH |
| 523 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 524 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 525 |
#, no-wrap |
| 526 |
msgid "SEE ALSO" |
| 527 |
msgstr "VOIR AUSSI" |
| 528 |
|
| 529 |
#. type: Plain text |
| 530 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 531 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 532 |
msgid "" |
| 533 |
"B<unshare>(1), B<clone>(2), B<setns>(2), B<unshare>(2), B<proc>(5), " |
| 534 |
"B<cgroups>(7), B<credentials>(7), B<namespaces>(7), B<user_namespaces>(7)" |
| 535 |
msgstr "" |
| 536 |
"B<unshare>(1), B<clone>(2), B<setns>(2), B<unshare>(2), B<proc>(5), " |
| 537 |
"B<cgroups>(7), B<credentials>(7), B<namespaces>(7), B<user_namespaces>(7)" |
| 538 |
|
| 539 |
#. type: TH |
| 540 |
#: debian-trixie fedora-44 fedora-rawhide |
| 541 |
#, no-wrap |
| 542 |
msgid "2024-05-02" |
| 543 |
msgstr "2 mai 2024" |
| 544 |
|
| 545 |
#. type: TH |
| 546 |
#: debian-trixie |
| 547 |
#, no-wrap |
| 548 |
msgid "Linux man-pages 6.9.1" |
| 549 |
msgstr "Pages du manuel de Linux 6.9.1" |
| 550 |
|
| 551 |
#. type: Plain text |
| 552 |
#: debian-trixie fedora-44 fedora-rawhide |
| 553 |
#, no-wrap |
| 554 |
msgid "" |
| 555 |
"# B<mkdir -p /sys/fs/cgroup/freezer/sub2>\n" |
| 556 |
"# B<sleep 10000 &> # Create a process that lives for a while\n" |
| 557 |
"[1] 20124\n" |
| 558 |
"# B<echo 20124 E<gt> /sys/fs/cgroup/freezer/sub2/cgroup.procs>\n" |
| 559 |
msgstr "" |
| 560 |
"# B<mkdir -p /sys/fs/cgroup/freezer/sub2>\n" |
| 561 |
"# B<sleep 10000 &> # Création d’un processus qui vit pendant un certain temps\n" |
| 562 |
"[1] 20124\n" |
| 563 |
"# B<echo 20124 E<gt> /sys/fs/cgroup/freezer/sub2/cgroup.procs>\n" |
| 564 |
|
| 565 |
#. type: Plain text |
| 566 |
#: debian-trixie fedora-44 fedora-rawhide |
| 567 |
#, no-wrap |
| 568 |
msgid "" |
| 569 |
"# B<mkdir -p /sys/fs/cgroup/freezer/sub>\n" |
| 570 |
"# B<echo $$> # Show PID of this shell\n" |
| 571 |
"30655\n" |
| 572 |
"# B<echo 30655 E<gt> /sys/fs/cgroup/freezer/sub/cgroup.procs>\n" |
| 573 |
"# B<cat /proc/self/cgroup | grep freezer>\n" |
| 574 |
"7:freezer:/sub\n" |
| 575 |
msgstr "" |
| 576 |
"# B<mkdir -p /sys/fs/cgroup/freezer/sub>\n" |
| 577 |
"# B<echo $$> # Affichage du PID de l’interpréteur\n" |
| 578 |
"30655\n" |
| 579 |
"# B<echo 30655 E<gt> /sys/fs/cgroup/freezer/sub/cgroup.procs>\n" |
| 580 |
"# B<cat /proc/self/cgroup | grep freezer>\n" |
| 581 |
"7:freezer:/sub\n" |
| 582 |
|
| 583 |
#. type: Plain text |
| 584 |
#: debian-trixie fedora-44 fedora-rawhide |
| 585 |
#, no-wrap |
| 586 |
msgid "# B<PS1=\"sh2# \" unshare -Cm bash>\n" |
| 587 |
msgstr "# B<PS1=\"sh2# \" unshare -Cm bash>\n" |
| 588 |
|
| 589 |
#. type: Plain text |
| 590 |
#: debian-trixie fedora-44 fedora-rawhide |
| 591 |
#, no-wrap |
| 592 |
msgid "" |
| 593 |
"sh2# B<cat /proc/self/cgroup | grep freezer>\n" |
| 594 |
"7:freezer:/\n" |
| 595 |
"sh2# B<cat /proc/1/cgroup | grep freezer>\n" |
| 596 |
"7:freezer:/..\n" |
| 597 |
"sh2# B<cat /proc/20124/cgroup | grep freezer>\n" |
| 598 |
"7:freezer:/../sub2\n" |
| 599 |
msgstr "" |
| 600 |
"sh2# B<cat /proc/self/cgroup | grep freezer>\n" |
| 601 |
"7:freezer:/\n" |
| 602 |
"sh2# B<cat /proc/1/cgroup | grep freezer>\n" |
| 603 |
"7:freezer:/..\n" |
| 604 |
"sh2# B<cat /proc/20124/cgroup | grep freezer>\n" |
| 605 |
"7:freezer:/../sub2\n" |
| 606 |
|
| 607 |
#. type: Plain text |
| 608 |
#: debian-trixie fedora-44 fedora-rawhide |
| 609 |
#, no-wrap |
| 610 |
msgid "" |
| 611 |
"sh2# B<cat /proc/self/mountinfo | grep freezer>\n" |
| 612 |
"155 145 0:32 /.. /sys/fs/cgroup/freezer ...\n" |
| 613 |
msgstr "" |
| 614 |
"sh2# B<cat /proc/self/mountinfo | grep freezer>\n" |
| 615 |
"155 145 0:32 /.. /sys/fs/cgroup/freezer ...\n" |
| 616 |
|
| 617 |
#. type: Plain text |
| 618 |
#: debian-trixie fedora-44 fedora-rawhide |
| 619 |
#, no-wrap |
| 620 |
msgid "" |
| 621 |
"sh2# B<mount --make-rslave /> # Don\\[aq]t propagate mount events\n" |
| 622 |
" # to other namespaces\n" |
| 623 |
"sh2# B<umount /sys/fs/cgroup/freezer>\n" |
| 624 |
"sh2# B<mount -t cgroup -o freezer freezer /sys/fs/cgroup/freezer>\n" |
| 625 |
"sh2# B<cat /proc/self/mountinfo | grep freezer>\n" |
| 626 |
"155 145 0:32 / /sys/fs/cgroup/freezer rw,relatime ...\n" |
| 627 |
msgstr "" |
| 628 |
"sh2# B<mount --make-rslave /> # Ne pas propager les évènements de \n" |
| 629 |
" # montage aux autres espaces de noms\n" |
| 630 |
"sh2# B<umount /sys/fs/cgroup/freezer>\n" |
| 631 |
"sh2# B<mount -t cgroup -o freezer freezer /sys/fs/cgroup/freezer>\n" |
| 632 |
"sh2# B<cat /proc/self/mountinfo | grep freezer>\n" |
| 633 |
"155 145 0:32 / /sys/fs/cgroup/freezer rw,relatime ...\n" |
| 634 |
|
| 635 |
#. type: TH |
| 636 |
#: fedora-44 fedora-rawhide |
| 637 |
#, no-wrap |
| 638 |
msgid "Linux man-pages 6.13" |
| 639 |
msgstr "Pages du manuel de Linux 6.13" |
| 640 |
|
| 641 |
#. type: TH |
| 642 |
#: mageia-cauldron |
| 643 |
#, no-wrap |
| 644 |
msgid "Linux man-pages 6.17" |
| 645 |
msgstr "Pages du manuel de Linux 6.17" |
| 646 |
|
| 647 |
#. type: TH |
| 648 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 649 |
#, no-wrap |
| 650 |
msgid "Linux man-pages (unreleased)" |
| 651 |
msgstr "Pages du manuel de Linux (non publiées)" |