| 1 |
# Romanian translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Remus-Gabriel Chelu <[email protected]>, 2024, 2025. |
| 5 |
msgid "" |
| 6 |
msgstr "" |
| 7 |
"Project-Id-Version: manpages-l10n 4.21.0\n" |
| 8 |
"POT-Creation-Date: 2026-06-05 06:20+0200\n" |
| 9 |
"PO-Revision-Date: 2025-11-06 19:33+0100\n" |
| 10 |
"Last-Translator: Remus-Gabriel Chelu <[email protected]>\n" |
| 11 |
"Language-Team: Romanian <[email protected]>\n" |
| 12 |
"Language: ro\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=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " |
| 17 |
"20)) ? 1 : 2;\n" |
| 18 |
"X-Generator: Poedit 3.6\n" |
| 19 |
|
| 20 |
#. type: TH |
| 21 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 22 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 23 |
#, no-wrap |
| 24 |
msgid "cgroup_namespaces" |
| 25 |
msgstr "cgroup_namespaces" |
| 26 |
|
| 27 |
#. type: TH |
| 28 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 29 |
#: opensuse-tumbleweed |
| 30 |
#, no-wrap |
| 31 |
msgid "2026-02-08" |
| 32 |
msgstr "8 februarie 2026" |
| 33 |
|
| 34 |
#. type: TH |
| 35 |
#: archlinux debian-unstable |
| 36 |
#, no-wrap |
| 37 |
msgid "Linux man-pages 6.18" |
| 38 |
msgstr "Pagini de manual de Linux 6.18" |
| 39 |
|
| 40 |
#. type: SH |
| 41 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 42 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 43 |
#, no-wrap |
| 44 |
msgid "NAME" |
| 45 |
msgstr "NUME" |
| 46 |
|
| 47 |
#. type: Plain text |
| 48 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 49 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 50 |
msgid "cgroup_namespaces - overview of Linux cgroup namespaces" |
| 51 |
msgstr "" |
| 52 |
"cgroup_namespaces - prezentare generală a spațiilor de nume cgroup din Linux" |
| 53 |
|
| 54 |
#. type: SH |
| 55 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 56 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 57 |
#, no-wrap |
| 58 |
msgid "DESCRIPTION" |
| 59 |
msgstr "DESCRIERE" |
| 60 |
|
| 61 |
#. type: Plain text |
| 62 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 63 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 64 |
msgid "For an overview of namespaces, see B<namespaces>(7)." |
| 65 |
msgstr "" |
| 66 |
"Pentru o descriere generală a spațiilor de nume, consultați B<namespaces>(7)." |
| 67 |
|
| 68 |
#. type: Plain text |
| 69 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 70 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 71 |
msgid "" |
| 72 |
"Cgroup namespaces virtualize the view of a process's cgroups (see " |
| 73 |
"B<cgroups>(7)) as seen via I</proc/>pidI</cgroup> and I</proc/>pidI</" |
| 74 |
"mountinfo>." |
| 75 |
msgstr "" |
| 76 |
"Spațiile de nume cgroup virtualizează vizualizarea grupurilor cgroup ale " |
| 77 |
"unui proces (a se vedea B<cgroups>(7)), așa cum sunt văzute prin intermediul " |
| 78 |
"fișierelor I</proc/>pidI</cgroup> și I</proc/>pidI</mountinfo>." |
| 79 |
|
| 80 |
#. type: Plain text |
| 81 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 82 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 83 |
msgid "" |
| 84 |
"Each cgroup namespace has its own set of cgroup root directories. These " |
| 85 |
"root directories are the base points for the relative locations displayed in " |
| 86 |
"the corresponding records in the I</proc/>pidI</cgroup> file. When a " |
| 87 |
"process creates a new cgroup namespace using B<clone>(2) or B<unshare>(2) " |
| 88 |
"with the B<CLONE_NEWCGROUP> flag, its current cgroups directories become the " |
| 89 |
"cgroup root directories of the new namespace. (This applies both for the " |
| 90 |
"cgroups version 1 hierarchies and the cgroups version 2 unified hierarchy.)" |
| 91 |
msgstr "" |
| 92 |
"Fiecare spațiu de nume cgroup are propriul set de directoare rădăcină " |
| 93 |
"cgroup. Aceste directoare rădăcină sunt punctele de bază pentru locațiile " |
| 94 |
"relative afișate în înregistrările corespunzătoare din fișierul I</proc/" |
| 95 |
">pidI</cgroup>. Atunci când un proces creează un nou spațiu de nume cgroup " |
| 96 |
"folosind B<clone>(2) sau B<unshare>(2) cu fanionul B<CLONE_NEWCGROUP>, " |
| 97 |
"directoarele sale cgroups curente devin directoarele rădăcină cgroup ale " |
| 98 |
"noului spațiu de nume; (acest lucru se aplică atât pentru ierarhiile cgroups " |
| 99 |
"versiunea 1, cât și pentru ierarhia unificată cgroups versiunea 2)." |
| 100 |
|
| 101 |
#. type: Plain text |
| 102 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 103 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 104 |
msgid "" |
| 105 |
"When reading the cgroup memberships of a \"target\" process from I</proc/" |
| 106 |
">pidI</cgroup>, the pathname shown in the third field of each record will be " |
| 107 |
"relative to the reading process's root directory for the corresponding " |
| 108 |
"cgroup hierarchy. If the cgroup directory of the target process lies " |
| 109 |
"outside the root directory of the reading process's cgroup namespace, then " |
| 110 |
"the pathname will show I<../> entries for each ancestor level in the cgroup " |
| 111 |
"hierarchy." |
| 112 |
msgstr "" |
| 113 |
"Atunci când se citesc membrii cgroup ai unui proces \"țintă\" din I</proc/" |
| 114 |
">pidI</cgroup>, numele rutei afișat în al treilea câmp al fiecărei " |
| 115 |
"înregistrări va fi relativ la directorul rădăcină al procesului de citire " |
| 116 |
"pentru ierarhia cgroup corespunzătoare. În cazul în care directorul cgroup " |
| 117 |
"al procesului țintă se află în afara directorului rădăcină al spațiului de " |
| 118 |
"nume cgroup al procesului de citire, atunci numele rutei va afișa intrări " |
| 119 |
"I<../> pentru fiecare nivel antecesor în ierarhia cgroup." |
| 120 |
|
| 121 |
#. type: Plain text |
| 122 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 123 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 124 |
msgid "" |
| 125 |
"The following shell session demonstrates the effect of creating a new cgroup " |
| 126 |
"namespace." |
| 127 |
msgstr "" |
| 128 |
"Următoarea sesiune shell demonstrează efectul creării unui nou spațiu de " |
| 129 |
"nume cgroup." |
| 130 |
|
| 131 |
#. type: Plain text |
| 132 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 133 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 134 |
msgid "" |
| 135 |
"First, (as superuser) in a shell in the initial cgroup namespace, we create " |
| 136 |
"a child cgroup in the I<freezer> hierarchy, and place a process in that " |
| 137 |
"cgroup that we will use as part of the demonstration below:" |
| 138 |
msgstr "" |
| 139 |
"În primul rând, (ca super-utilizator), într-un shell din spațiul de nume " |
| 140 |
"cgroup inițial, creăm un cgroup copil în ierarhia I<freezer> și plasăm un " |
| 141 |
"proces în acel cgroup pe care îl vom folosi ca parte a demonstrației de mai " |
| 142 |
"jos:" |
| 143 |
|
| 144 |
#. type: Plain text |
| 145 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 146 |
#: opensuse-tumbleweed |
| 147 |
#, no-wrap |
| 148 |
msgid "" |
| 149 |
"#B< mkdir -p /sys/fs/cgroup/freezer/sub2>;\n" |
| 150 |
"#B< sleep 10000 &> # Create a process that lives for a while\n" |
| 151 |
"[1] 20124\n" |
| 152 |
"#B< echo 20124 E<gt> /sys/fs/cgroup/freezer/sub2/cgroup.procs>;\n" |
| 153 |
msgstr "" |
| 154 |
"#B< mkdir -p /sys/fs/cgroup/freezer/sub2>;\n" |
| 155 |
"#B< sleep 10000 &> # Creează un proces care există o perioadă de timp\n" |
| 156 |
"[1] 20124\n" |
| 157 |
"#B< echo 20124 E<gt> /sys/fs/cgroup/freezer/sub2/cgroup.procs>;\n" |
| 158 |
|
| 159 |
#. type: Plain text |
| 160 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 161 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 162 |
msgid "" |
| 163 |
"We then create another child cgroup in the I<freezer> hierarchy and put the " |
| 164 |
"shell into that cgroup:" |
| 165 |
msgstr "" |
| 166 |
"Apoi creăm un alt cgroup copil în ierarhia I<freezer> și punem shell-ul în " |
| 167 |
"acel cgroup:" |
| 168 |
|
| 169 |
#. type: Plain text |
| 170 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 171 |
#: opensuse-tumbleweed |
| 172 |
#, no-wrap |
| 173 |
msgid "" |
| 174 |
"#B< mkdir -p /sys/fs/cgroup/freezer/sub>;\n" |
| 175 |
"#B< echo $$>; # Show PID of this shell\n" |
| 176 |
"30655\n" |
| 177 |
"#B< echo 30655 E<gt> /sys/fs/cgroup/freezer/sub/cgroup.procs>;\n" |
| 178 |
"#B< cat /proc/self/cgroup | grep freezer>;\n" |
| 179 |
"7:freezer:/sub\n" |
| 180 |
msgstr "" |
| 181 |
"#B< mkdir -p /sys/fs/cgroup/freezer/sub>;\n" |
| 182 |
"#B< echo $$>; # Afișează PID-ul acestui shell\n" |
| 183 |
"30655\n" |
| 184 |
"#B< echo 30655 E<gt> /sys/fs/cgroup/freezer/sub/cgroup.procs>;\n" |
| 185 |
"#B< cat /proc/self/cgroup | grep freezer>;\n" |
| 186 |
"7:freezer:/sub\n" |
| 187 |
|
| 188 |
#. type: Plain text |
| 189 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 190 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 191 |
msgid "" |
| 192 |
"Next, we use B<unshare>(1) to create a process running a new shell in new " |
| 193 |
"cgroup and mount namespaces:" |
| 194 |
msgstr "" |
| 195 |
"În continuare, folosim B<unshare>(1) pentru a crea un proces care rulează un " |
| 196 |
"nou shell în noile spații de nume cgroup și mount:" |
| 197 |
|
| 198 |
#. type: Plain text |
| 199 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 200 |
#: opensuse-tumbleweed |
| 201 |
#, no-wrap |
| 202 |
msgid "#B< PS1='sh2# ' unshare -Cm bash>;\n" |
| 203 |
msgstr "#B< PS1='sh2# ' unshare -Cm bash>;\n" |
| 204 |
|
| 205 |
#. type: Plain text |
| 206 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 207 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 208 |
msgid "" |
| 209 |
"From the new shell started by B<unshare>(1), we then inspect the I</proc/" |
| 210 |
">pidI</cgroup> files of, respectively, the new shell, a process that is in " |
| 211 |
"the initial cgroup namespace (I<init>, with PID 1), and the process in the " |
| 212 |
"sibling cgroup (I<sub2>):" |
| 213 |
msgstr "" |
| 214 |
"Din noul shell pornit de B<unshare>(1), inspectăm apoi fișierele I</proc/" |
| 215 |
">pidI</cgroup> ale noului shell, respectiv ale unui proces care se află în " |
| 216 |
"spațiul de nume cgroup inițial (I<init>, cu PID 1) și ale procesului din " |
| 217 |
"cgroup-ul frate (I<sub2>):" |
| 218 |
|
| 219 |
#. type: Plain text |
| 220 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 221 |
#: opensuse-tumbleweed |
| 222 |
#, no-wrap |
| 223 |
msgid "" |
| 224 |
"sh2#B< cat /proc/self/cgroup | grep freezer>;\n" |
| 225 |
"7:freezer:/\n" |
| 226 |
"sh2#B< cat /proc/1/cgroup | grep freezer>;\n" |
| 227 |
"7:freezer:/..\n" |
| 228 |
"sh2#B< cat /proc/20124/cgroup | grep freezer>;\n" |
| 229 |
"7:freezer:/../sub2\n" |
| 230 |
msgstr "" |
| 231 |
"sh2#B< cat /proc/self/cgroup | grep freezer>;\n" |
| 232 |
"7:freezer:/\n" |
| 233 |
"sh2#B< cat /proc/1/cgroup | grep freezer>;\n" |
| 234 |
"7:freezer:/..\n" |
| 235 |
"sh2#B< cat /proc/20124/cgroup | grep freezer>;\n" |
| 236 |
"7:freezer:/../sub2\n" |
| 237 |
|
| 238 |
#. type: Plain text |
| 239 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 240 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 241 |
msgid "" |
| 242 |
"From the output of the first command, we see that the freezer cgroup " |
| 243 |
"membership of the new shell (which is in the same cgroup as the initial " |
| 244 |
"shell) is shown defined relative to the freezer cgroup root directory that " |
| 245 |
"was established when the new cgroup namespace was created. (In absolute " |
| 246 |
"terms, the new shell is in the I</sub> freezer cgroup, and the root " |
| 247 |
"directory of the freezer cgroup hierarchy in the new cgroup namespace is " |
| 248 |
"also I</sub>. Thus, the new shell's cgroup membership is displayed as \\" |
| 249 |
"[aq]/\\[aq].)" |
| 250 |
msgstr "" |
| 251 |
"Din ieșirea primei comenzi, vedem că apartenența la freezer cgroup a noului " |
| 252 |
"shell (care se află în același cgroup ca și shell-ul inițial) este afișată " |
| 253 |
"definită în raport cu directorul rădăcină al freezer cgroup care a fost " |
| 254 |
"stabilit atunci când a fost creat noul spațiu de nume cgroup; (în termeni " |
| 255 |
"absoluți, noul shell se află în cgroup-ul freezer I</sub>, iar directorul " |
| 256 |
"rădăcină al ierarhiei freezer cgroup din noul spațiu de nume cgroup este, de " |
| 257 |
"asemenea, I</sub>. Astfel, apartenența la cgroup a noului shell este afișată " |
| 258 |
"ca „/”)." |
| 259 |
|
| 260 |
#. type: Plain text |
| 261 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 262 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 263 |
msgid "" |
| 264 |
"However, when we look in I</proc/self/mountinfo> we see the following " |
| 265 |
"anomaly:" |
| 266 |
msgstr "" |
| 267 |
"Cu toate acestea, când ne uităm în I</proc/self/mountinfo> vedem următoarea " |
| 268 |
"anomalie:" |
| 269 |
|
| 270 |
#. type: Plain text |
| 271 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 272 |
#: opensuse-tumbleweed |
| 273 |
#, no-wrap |
| 274 |
msgid "" |
| 275 |
"sh2#B< cat /proc/self/mountinfo | grep freezer>;\n" |
| 276 |
"155 145 0:32 /..\\& /sys/fs/cgroup/freezer ...\n" |
| 277 |
msgstr "" |
| 278 |
"sh2#B< cat /proc/self/mountinfo | grep freezer>;\n" |
| 279 |
"155 145 0:32 /..\\& /sys/fs/cgroup/freezer ...\n" |
| 280 |
|
| 281 |
#. type: Plain text |
| 282 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 283 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 284 |
msgid "" |
| 285 |
"The fourth field of this line (I</..>) should show the directory in the " |
| 286 |
"cgroup filesystem which forms the root of this mount. Since by the " |
| 287 |
"definition of cgroup namespaces, the process's current freezer cgroup " |
| 288 |
"directory became its root freezer cgroup directory, we should see \\[aq]/\\" |
| 289 |
"[aq] in this field. The problem here is that we are seeing a mount entry " |
| 290 |
"for the cgroup filesystem corresponding to the initial cgroup namespace " |
| 291 |
"(whose cgroup filesystem is indeed rooted at the parent directory of " |
| 292 |
"I<sub>). To fix this problem, we must remount the freezer cgroup filesystem " |
| 293 |
"from the new shell (i.e., perform the mount from a process that is in the " |
| 294 |
"new cgroup namespace), after which we see the expected results:" |
| 295 |
msgstr "" |
| 296 |
"Al patrulea câmp al acestei linii (I</..>) trebuie să arate directorul din " |
| 297 |
"sistemul de fișiere cgroup care formează rădăcina acestei montări. Deoarece, " |
| 298 |
"prin definiția spațiilor de nume cgroup, directorul cgroup freezer curent al " |
| 299 |
"procesului a devenit directorul cgroup freezer rădăcină al acestuia, ar " |
| 300 |
"trebui să vedem „/” în acest câmp. Problema aici este că vedem o intrare de " |
| 301 |
"montare pentru sistemul de fișiere cgroup corespunzător spațiului de nume " |
| 302 |
"cgroup inițial (al cărui sistem de fișiere cgroup este într-adevăr " |
| 303 |
"înrădăcinat în directorul părinte al lui I<sub>). Pentru a remedia această " |
| 304 |
"problemă, trebuie să montăm din nou sistemul de fișiere cgroup freezer din " |
| 305 |
"noul shell (adică să efectuăm montarea dintr-un proces care se află în noul " |
| 306 |
"spațiu de nume cgroup), după care vedem rezultatele așteptate:" |
| 307 |
|
| 308 |
#. type: Plain text |
| 309 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 310 |
#: opensuse-tumbleweed |
| 311 |
#, no-wrap |
| 312 |
msgid "" |
| 313 |
"sh2#B< mount --make-rslave />; # Don\\[aq]t propagate mount events\n" |
| 314 |
" # to other namespaces\n" |
| 315 |
"sh2#B< umount /sys/fs/cgroup/freezer>;\n" |
| 316 |
"sh2#B< mount -t cgroup -o freezer freezer /sys/fs/cgroup/freezer>;\n" |
| 317 |
"sh2#B< cat /proc/self/mountinfo | grep freezer>;\n" |
| 318 |
"155 145 0:32 / /sys/fs/cgroup/freezer rw,relatime ...\n" |
| 319 |
msgstr "" |
| 320 |
"sh2#B< mount --make-rslave />; # Nu propagă evenimentele de montare\n" |
| 321 |
" # în alte spații de nume\n" |
| 322 |
"sh2#B< umount /sys/fs/cgroup/freezer>;\n" |
| 323 |
"sh2#B< mount -t cgroup -o freezer freezer /sys/fs/cgroup/freezer>;\n" |
| 324 |
"sh2#B< cat /proc/self/mountinfo | grep freezer>;\n" |
| 325 |
"155 145 0:32 / /sys/fs/cgroup/freezer rw,relatime ...\n" |
| 326 |
|
| 327 |
#. type: SH |
| 328 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 329 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 330 |
#, no-wrap |
| 331 |
msgid "STANDARDS" |
| 332 |
msgstr "STANDARDE" |
| 333 |
|
| 334 |
#. type: Plain text |
| 335 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 336 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 337 |
msgid "Linux." |
| 338 |
msgstr "Linux." |
| 339 |
|
| 340 |
#. type: SH |
| 341 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 342 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 343 |
#, no-wrap |
| 344 |
msgid "NOTES" |
| 345 |
msgstr "NOTE" |
| 346 |
|
| 347 |
#. type: Plain text |
| 348 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 349 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 350 |
msgid "" |
| 351 |
"Use of cgroup namespaces requires a kernel that is configured with the " |
| 352 |
"B<CONFIG_CGROUPS> option." |
| 353 |
msgstr "" |
| 354 |
"Utilizarea spațiilor de nume cgroup necesită un nucleu care să fie " |
| 355 |
"configurat cu opțiunea B<CONFIG_CGROUPS>." |
| 356 |
|
| 357 |
#. type: Plain text |
| 358 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 359 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 360 |
msgid "" |
| 361 |
"The virtualization provided by cgroup namespaces serves a number of purposes:" |
| 362 |
msgstr "" |
| 363 |
"Virtualizarea oferită de spațiile de nume cgroup servește mai multor scopuri:" |
| 364 |
|
| 365 |
#. type: IP |
| 366 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 367 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 368 |
#, no-wrap |
| 369 |
msgid "\\[bu]" |
| 370 |
msgstr "\\[bu]" |
| 371 |
|
| 372 |
#. type: Plain text |
| 373 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 374 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 375 |
msgid "" |
| 376 |
"It prevents information leaks whereby cgroup directory paths outside of a " |
| 377 |
"container would otherwise be visible to processes in the container. Such " |
| 378 |
"leakages could, for example, reveal information about the container " |
| 379 |
"framework to containerized applications." |
| 380 |
msgstr "" |
| 381 |
"Aceasta previne scurgerile de informații prin care rutele directoarelor " |
| 382 |
"cgroup din afara unui container ar fi altfel vizibile pentru procesele din " |
| 383 |
"container. Astfel de scurgeri de informații ar putea, de exemplu, dezvălui " |
| 384 |
"informații despre cadrul containerului pentru aplicațiile containerizate." |
| 385 |
|
| 386 |
#. type: Plain text |
| 387 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 388 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 389 |
msgid "" |
| 390 |
"It eases tasks such as container migration. The virtualization provided by " |
| 391 |
"cgroup namespaces allows containers to be isolated from knowledge of the " |
| 392 |
"pathnames of ancestor cgroups. Without such isolation, the full cgroup " |
| 393 |
"pathnames (displayed in I</proc/self/cgroups>) would need to be replicated " |
| 394 |
"on the target system when migrating a container; those pathnames would also " |
| 395 |
"need to be unique, so that they don't conflict with other pathnames on the " |
| 396 |
"target system." |
| 397 |
msgstr "" |
| 398 |
"Aceasta ușurează sarcini precum migrarea containerelor. Virtualizarea " |
| 399 |
"oferită de spațiile de nume ale cgroup-urilor permite ca containerele să fie " |
| 400 |
"izolate de cunoașterea numelor de rută ale cgroup-urilor ancestrale. Fără o " |
| 401 |
"astfel de izolare, ar trebui ca numele complete ale rutelor cgroup-urilor " |
| 402 |
"(afișate în I</proc/self/cgroups>) să fie reproduse pe sistemul țintă atunci " |
| 403 |
"când se migrează un container; aceste nume de rute ar trebui, de asemenea, " |
| 404 |
"să fie unice, astfel încât să nu intre în conflict cu alte nume de rute de " |
| 405 |
"pe sistemul țintă." |
| 406 |
|
| 407 |
#. type: Plain text |
| 408 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 409 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 410 |
msgid "" |
| 411 |
"It allows better confinement of containerized processes, because it is " |
| 412 |
"possible to mount the container's cgroup filesystems such that the container " |
| 413 |
"processes can't gain access to ancestor cgroup directories. Consider, for " |
| 414 |
"example, the following scenario:" |
| 415 |
msgstr "" |
| 416 |
"Aceasta permite o mai bună confinare a proceselor containerizate, deoarece " |
| 417 |
"este posibil să se monteze sistemele de fișiere cgroup ale containerului " |
| 418 |
"astfel încât procesele containerului să nu poată obține acces la " |
| 419 |
"directoarele cgroup ancestrale. Luați în considerare, de exemplu, următorul " |
| 420 |
"scenariu:" |
| 421 |
|
| 422 |
#. type: Plain text |
| 423 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 424 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 425 |
msgid "We have a cgroup directory, I</cg/1>, that is owned by user ID 9000." |
| 426 |
msgstr "" |
| 427 |
"Avem un director cgroup, I</cg/1>, care este deținut de utilizatorul ID 9000." |
| 428 |
|
| 429 |
#. type: Plain text |
| 430 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 431 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 432 |
msgid "" |
| 433 |
"We have a process, I<X>, also owned by user ID 9000, that is namespaced " |
| 434 |
"under the cgroup I</cg/1/2> (i.e., I<X> was placed in a new cgroup namespace " |
| 435 |
"via B<clone>(2) or B<unshare>(2) with the B<CLONE_NEWCGROUP> flag)." |
| 436 |
msgstr "" |
| 437 |
"Avem un proces, I<X>, deținut de asemenea de utilizatorul ID 9000, care este " |
| 438 |
"plasat în spațiul de nume al cgroupului I</cg/1/2> (adică I<X> a fost plasat " |
| 439 |
"într-un nou spațiu de nume de cgroup prin B<clone>(2) sau B<unshare>(2) cu " |
| 440 |
"indicatorul B<CLONE_NEWCGROUP>)." |
| 441 |
|
| 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 |
"Dacă cgroup-ul nu este pus într-un spațiu de nume, deoarece directorul " |
| 459 |
"cgroup I</cg/1> este deținut (și poate fi scris) de UID 9000 și procesul " |
| 460 |
"I<X> este, de asemenea, deținut de ID-ul utilizatorului 9000, procesul I<X> " |
| 461 |
"ar putea modifica conținutul fișierelor cgroups (adică ar putea schimba " |
| 462 |
"parametrii cgroup) nu numai în I</cg/1/2>, ci și în directorul cgroup " |
| 463 |
"ancestral I</cg/1>. Plasarea procesului I<X> sub directorul cgroup I</cg/" |
| 464 |
"1/2>, în combinație cu operațiile de montare adecvate pentru sistemul de " |
| 465 |
"fișiere cgroup (așa cum s-a arătat mai sus), îl împiedică să modifice " |
| 466 |
"fișierele din I</cg/1>, deoarece nu poate vedea nici măcar conținutul " |
| 467 |
"acestui director (sau al directoarelor ancestrale cgroup mai îndepărtate). " |
| 468 |
"În combinație cu aplicarea corectă a limitelor ierarhice, acest lucru " |
| 469 |
"împiedică procesul I<X> să scape de limitele impuse de cgroup-urile " |
| 470 |
"ancestrale." |
| 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 "CONSULTAȚI ȘI" |
| 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 "Pagini de manual de Linux 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 &> # Creează un proces care există o perioadă de timp\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 $$> # Afișează PID-ul acestui shell\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 /> # Nu propagă evenimentele de montare\n" |
| 579 |
" # în alte spații de nume\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 "Pagini de manual de Linux 6.13" |
| 590 |
|
| 591 |
#. type: TH |
| 592 |
#: mageia-cauldron |
| 593 |
#, no-wrap |
| 594 |
msgid "Linux man-pages 6.17" |
| 595 |
msgstr "Pagini de manual de Linux 6.17" |
| 596 |
|
| 597 |
#. type: TH |
| 598 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 599 |
#, no-wrap |
| 600 |
msgid "Linux man-pages (unreleased)" |
| 601 |
msgstr "Pagini de manual Linux (nepublicate)" |