Debian Codegraph @

templates/man1/mkosi-sandbox.1.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:31+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "mkosi-sandbox"
24 msgstr ""
25
26 #. type: SH
27 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
28 #: opensuse-leap-16-1 opensuse-tumbleweed
29 #, no-wrap
30 msgid "NAME"
31 msgstr ""
32
33 #. type: Plain text
34 #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1
35 msgid "mkosi-sandbox \\[em] Run commands in a custom sandbox"
36 msgstr ""
37
38 #. type: SH
39 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
40 #: opensuse-leap-16-1 opensuse-tumbleweed
41 #, no-wrap
42 msgid "SYNOPSIS"
43 msgstr ""
44
45 #. type: Plain text
46 #: archlinux debian-trixie opensuse-leap-16-1
47 msgid "\\f[CR]mkosi-sandbox [options\\&...] command [arguments]\\fR"
48 msgstr ""
49
50 #. type: SH
51 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
52 #: opensuse-leap-16-1 opensuse-tumbleweed
53 #, no-wrap
54 msgid "DESCRIPTION"
55 msgstr ""
56
57 #. type: Plain text
58 #: archlinux debian-trixie opensuse-leap-16-1
59 msgid ""
60 "\\f[CR]mkosi-sandbox\\f[R] runs the given command in a custom sandbox. The "
61 "sandbox is configured by specifying command line options that configure "
62 "individual parts of the sandbox.\\fR"
63 msgstr ""
64
65 #. type: Plain text
66 #: archlinux debian-trixie opensuse-leap-16-1
67 msgid ""
68 "If no command is specified, \\f[CR]mkosi-sandbox\\f[R] will start "
69 "\\f[CR]bash\\f[R] in the sandbox.\\fR"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: opensuse-leap-16-1 opensuse-tumbleweed
75 msgid ""
76 "Note that this sandbox is not designed to be a security boundary. Its "
77 "intended purpose is to allow running commands in an isolated environment so "
78 "they are not affected by the host system."
79 msgstr ""
80
81 #. type: Plain text
82 #: archlinux
83 msgid ""
84 "It is possible to use \\f[CR]mkosi-sandbox\\f[R] to create an in process "
85 "sandbox for python applications by importing it as a module and invoking its "
86 "main function with only options. No command line to execute is needed in "
87 "this case. As an example:\\fR"
88 msgstr ""
89
90 #. type: Plain text
91 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
92 #, no-wrap
93 msgid "\\f[B]import\\f[R] mkosi.sandbox\\fR\n"
94 msgstr ""
95
96 #. type: Plain text
97 #: archlinux fedora-44 fedora-rawhide
98 #, no-wrap
99 msgid ""
100 "\\f[R]mkosi.sandbox.main([\\[dq]--become-root\\[dq]])\n"
101 "print(os.getuid())\\fR\n"
102 msgstr ""
103
104 #. type: Plain text
105 #: archlinux
106 msgid ""
107 "Only the \\f[CR]main\\f[R] function can be invoked. Invoking any other "
108 "functions from \\f[CR]mkosi.sandbox\\f[R] is not supported and may break in "
109 "future versions.\\fR"
110 msgstr ""
111
112 #. type: SH
113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
114 #: opensuse-leap-16-1 opensuse-tumbleweed
115 #, no-wrap
116 msgid "OPTIONS"
117 msgstr ""
118
119 #. type: TP
120 #: archlinux debian-trixie opensuse-leap-16-1
121 #, no-wrap
122 msgid "\\f[CR]--tmpfs DST\\fR"
123 msgstr ""
124
125 #. type: Plain text
126 #: archlinux debian-trixie opensuse-leap-16-1
127 msgid "Mounts a new tmpfs at \\f[CR]DST\\f[R] in the sandbox.\\fR"
128 msgstr ""
129
130 #. type: TP
131 #: archlinux debian-trixie opensuse-leap-16-1
132 #, no-wrap
133 msgid "\\f[CR]--dev DST\\fR"
134 msgstr ""
135
136 #. type: Plain text
137 #: archlinux debian-trixie opensuse-leap-16-1
138 msgid ""
139 "Sets up a private \\f[CR]/dev\\f[R] at \\f[CR]DST\\f[R] in the sandbox. "
140 "This private \\f[CR]/dev\\f[R] will only contain the basic device nodes "
141 "required for a functioning sandbox (e.g.\\ \\f[CR]/dev/null\\f[R]) and no "
142 "actual devices.\\fR"
143 msgstr ""
144
145 #. type: TP
146 #: archlinux debian-trixie opensuse-leap-16-1
147 #, no-wrap
148 msgid "\\f[CR]--proc DST\\fR"
149 msgstr ""
150
151 #. type: Plain text
152 #: archlinux debian-trixie opensuse-leap-16-1
153 msgid ""
154 "Mounts \\f[CR]/proc\\f[R] from the host at \\f[CR]DST\\f[R] in the sandbox."
155 "\\fR"
156 msgstr ""
157
158 #. type: TP
159 #: archlinux debian-trixie opensuse-leap-16-1
160 #, no-wrap
161 msgid "\\f[CR]--dir DST\\fR"
162 msgstr ""
163
164 #. type: Plain text
165 #: archlinux debian-trixie opensuse-leap-16-1
166 msgid ""
167 "Creates a directory and all missing parent directories at \\f[CR]DST\\f[R] "
168 "in the sandbox. All directories are created with mode 755 unless the path "
169 "ends with \\f[CR]/tmp\\f[R] or \\f[CR]/var/tmp\\f[R] in which case it is "
170 "created with mode 1777.\\fR"
171 msgstr ""
172
173 #. type: TP
174 #: archlinux debian-trixie opensuse-leap-16-1
175 #, no-wrap
176 msgid "\\f[CR]--bind SRC DST\\fR"
177 msgstr ""
178
179 #. type: Plain text
180 #: archlinux
181 msgid ""
182 "The source path \\f[CR]SRC\\f[R] is recursively bind mounted to "
183 "\\f[CR]DST\\f[R] in the sandbox. The mountpoint is created in the sandbox "
184 "if it does not yet exist. Any missing parent directories in the sandbox are "
185 "created as well. The source path may optionally be prefixed with a \\f[CR]+"
186 "\\f[R] character. If so, the source path is interpreted relative to the "
187 "sandbox root directory instead of the host root directory.\\fR"
188 msgstr ""
189
190 #. type: TP
191 #: archlinux debian-trixie opensuse-leap-16-1
192 #, no-wrap
193 msgid "\\f[CR]--bind-try SRC DST\\fR"
194 msgstr ""
195
196 #. type: Plain text
197 #: archlinux debian-trixie opensuse-leap-16-1
198 msgid ""
199 "Like \\f[CR]--bind\\f[R], but doesn\\[cq]t fail if the source path doesn\\"
200 "[cq]t exist.\\fR"
201 msgstr ""
202
203 #. type: TP
204 #: archlinux debian-trixie opensuse-leap-16-1
205 #, no-wrap
206 msgid "\\f[CR]--ro-bind SRC DST\\fR"
207 msgstr ""
208
209 #. type: Plain text
210 #: archlinux debian-trixie opensuse-leap-16-1
211 msgid "Like \\f[CR]--bind\\f[R], but does a recursive readonly bind mount.\\fR"
212 msgstr ""
213
214 #. type: TP
215 #: archlinux debian-trixie opensuse-leap-16-1
216 #, no-wrap
217 msgid "\\f[CR]--ro-bind-try SRC DST\\fR"
218 msgstr ""
219
220 #. type: Plain text
221 #: archlinux debian-trixie opensuse-leap-16-1
222 msgid ""
223 "Like \\f[CR]--bind-try\\f[R], but does a recursive readonly bind mount.\\fR"
224 msgstr ""
225
226 #. type: TP
227 #: archlinux debian-trixie opensuse-leap-16-1
228 #, no-wrap
229 msgid "\\f[CR]--symlink SRC DST\\fR"
230 msgstr ""
231
232 #. type: Plain text
233 #: archlinux debian-trixie opensuse-leap-16-1
234 msgid ""
235 "Creates a symlink at \\f[CR]DST\\f[R] in the sandbox pointing to "
236 "\\f[CR]SRC\\f[R]. If \\f[CR]DST\\f[R] already exists and is a file or "
237 "symlink, a temporary symlink is created and mounted on top of "
238 "\\f[CR]DST\\f[R].\\fR"
239 msgstr ""
240
241 #. type: TP
242 #: archlinux debian-trixie opensuse-leap-16-1
243 #, no-wrap
244 msgid "\\f[CR]--write DATA DST\\fR"
245 msgstr ""
246
247 #. type: Plain text
248 #: archlinux debian-trixie opensuse-leap-16-1
249 msgid ""
250 "Writes the string from \\f[CR]DATA\\f[R] to \\f[CR]DST\\f[R] in the sandbox."
251 "\\fR"
252 msgstr ""
253
254 #. type: TP
255 #: archlinux debian-trixie opensuse-leap-16-1
256 #, no-wrap
257 msgid "\\f[CR]--overlay-lowerdir DIR\\fR"
258 msgstr ""
259
260 #. type: Plain text
261 #: archlinux debian-trixie opensuse-leap-16-1
262 msgid ""
263 "Adds \\f[CR]DIR\\f[R] from the host as a new lower directory for the next "
264 "overlayfs mount.\\fR"
265 msgstr ""
266
267 #. type: TP
268 #: archlinux debian-trixie opensuse-leap-16-1
269 #, no-wrap
270 msgid "\\f[CR]--overlay-upperdir DIR\\fR"
271 msgstr ""
272
273 #. type: Plain text
274 #: archlinux debian-trixie opensuse-leap-16-1
275 msgid ""
276 "Sets the upper directory for the next overlayfs mount to \\f[CR]DIR\\f[R] "
277 "from the host. If set to \\f[CR]tmpfs\\f[R], the upperdir and workdir will "
278 "be subdirectories of a fresh tmpfs mount.\\fR"
279 msgstr ""
280
281 #. type: TP
282 #: archlinux debian-trixie opensuse-leap-16-1
283 #, no-wrap
284 msgid "\\f[CR]--overlay-workdir DIR\\fR"
285 msgstr ""
286
287 #. type: Plain text
288 #: archlinux debian-trixie opensuse-leap-16-1
289 msgid ""
290 "Sets the working directory for the next overlayfs mount to \\f[CR]DIR\\f[R] "
291 "from the host.\\fR"
292 msgstr ""
293
294 #. type: TP
295 #: archlinux debian-trixie opensuse-leap-16-1
296 #, no-wrap
297 msgid "\\f[CR]--overlay DST\\fR"
298 msgstr ""
299
300 #. type: Plain text
301 #: archlinux debian-trixie opensuse-leap-16-1
302 msgid ""
303 "Mounts a new overlay filesystem at \\f[CR]DST\\f[R] in the sandbox. The "
304 "lower directories, upper directory and working directory are specified using "
305 "the \\f[CR]--overlay-lowerdir\\f[R], \\f[CR]--overlay-upperdir\\f[R] and "
306 "\\f[CR]--overlay-workdir\\f[R] options respectively. After each \\f[CR]--"
307 "overlay\\f[R] option is parsed, the other overlay options are reset.\\fR"
308 msgstr ""
309
310 #. type: TP
311 #: archlinux debian-trixie opensuse-leap-16-1
312 #, no-wrap
313 msgid "\\f[CR]--unsetenv NAME\\fR"
314 msgstr ""
315
316 #. type: Plain text
317 #: archlinux debian-trixie opensuse-leap-16-1
318 msgid "Unsets the \\f[CR]NAME\\f[R] environment variable in the sandbox.\\fR"
319 msgstr ""
320
321 #. type: TP
322 #: archlinux debian-trixie opensuse-leap-16-1
323 #, no-wrap
324 msgid "\\f[CR]--setenv NAME VALUE\\fR"
325 msgstr ""
326
327 #. type: Plain text
328 #: archlinux debian-trixie opensuse-leap-16-1
329 msgid ""
330 "Sets the \\f[CR]NAME\\f[R] environment variable to \\f[CR]VALUE\\f[R] in the "
331 "sandbox\\fR"
332 msgstr ""
333
334 #. type: TP
335 #: archlinux debian-trixie opensuse-leap-16-1
336 #, no-wrap
337 msgid "\\f[CR]--chdir DIR\\fR"
338 msgstr ""
339
340 #. type: Plain text
341 #: archlinux debian-trixie opensuse-leap-16-1
342 msgid "Changes the working directory to \\f[CR]DIR\\f[R] in the sandbox.\\fR"
343 msgstr ""
344
345 #. type: TP
346 #: archlinux debian-trixie opensuse-leap-16-1
347 #, no-wrap
348 msgid "\\f[CR]--same-dir\\fR"
349 msgstr ""
350
351 #. type: Plain text
352 #: archlinux debian-trixie opensuse-leap-16-1
353 msgid ""
354 "Changes to the working directory in the sandbox to the current working "
355 "directory that \\f[CR]mkosi-sandbox\\f[R] is invoked in on the host.\\fR"
356 msgstr ""
357
358 #. type: TP
359 #: archlinux debian-trixie opensuse-leap-16-1
360 #, no-wrap
361 msgid "\\f[CR]--become-root\\fR"
362 msgstr ""
363
364 #. type: Plain text
365 #: archlinux debian-trixie opensuse-leap-16-1
366 msgid ""
367 "Maps the current user to the root user in the sandbox. If this option is "
368 "not specified, the current user is mapped to itself in the sandbox. "
369 "Regardless of whether this option is specified or not, the current user will "
370 "have a full set of ambient capabilities in the sandbox. This includes "
371 "\\f[CR]CAP_SYS_ADMIN\\f[R] which means that the invoked process in the "
372 "sandbox will be able to do bind mounts and other operations.\\fR"
373 msgstr ""
374
375 #. type: Plain text
376 #: archlinux debian-trixie opensuse-leap-16-1
377 msgid ""
378 "If \\f[CR]mkosi-sandbox\\f[R] is invoked as the root user, this option won\\"
379 "[cq]t do anything.\\fR"
380 msgstr ""
381
382 #. type: TP
383 #: archlinux debian-trixie opensuse-leap-16-1
384 #, no-wrap
385 msgid "\\f[CR]--suppress-chown\\fR"
386 msgstr ""
387
388 #. type: Plain text
389 #: archlinux debian-trixie opensuse-leap-16-1
390 msgid ""
391 "Specifying this option causes all calls to \\f[CR]chown()\\f[R] or similar "
392 "system calls to become a noop in the sandbox. This is primarily useful when "
393 "invoking package managers in the sandbox which might try to \\f[CR]chown()"
394 "\\f[R] files to different users or groups which would fail unless "
395 "\\f[CR]mkosi-sandbox\\f[R] is invoked by a privileged user.\\fR"
396 msgstr ""
397
398 #. type: TP
399 #: archlinux
400 #, no-wrap
401 msgid "\\f[CR]--suppress-sync\\fR"
402 msgstr ""
403
404 #. type: Plain text
405 #: archlinux
406 msgid ""
407 "Specifying this option causes all calls to \\f[CR]sync()\\f[R] or similar "
408 "system calls to become a noop in the sandbox. This is primarily useful when "
409 "invoking package managers in the sandbox which might try to \\f[CR]sync()"
410 "\\f[R] files when extracting packages which is unnecessary when building "
411 "images and slows down execution time significantly.\\fR"
412 msgstr ""
413
414 #. type: TP
415 #: archlinux debian-trixie opensuse-leap-16-1
416 #, no-wrap
417 msgid "\\f[CR]--unshare-net\\fR"
418 msgstr ""
419
420 #. type: Plain text
421 #: archlinux debian-trixie opensuse-leap-16-1
422 msgid ""
423 "Specifying this option makes \\f[CR]mkosi-sandbox\\f[R] unshare a network "
424 "namespace if possible.\\fR"
425 msgstr ""
426
427 #. type: TP
428 #: archlinux debian-trixie opensuse-leap-16-1
429 #, no-wrap
430 msgid "\\f[CR]--unshare-ipc\\fR"
431 msgstr ""
432
433 #. type: Plain text
434 #: archlinux debian-trixie opensuse-leap-16-1
435 msgid ""
436 "Specifying this option makes \\f[CR]mkosi-sandbox\\f[R] unshare an IPC "
437 "namespace if possible.\\fR"
438 msgstr ""
439
440 #. type: TP
441 #: archlinux
442 #, no-wrap
443 msgid "\\f[CR]--suspend\\fR"
444 msgstr ""
445
446 #. type: Plain text
447 #: archlinux
448 msgid ""
449 "Make the \\f[CR]mkosi-sandbox\\f[R] process suspend itself with "
450 "\\f[CR]SIGSTOP\\f[R] just before it calls \\f[CR]execve()\\f[R]. This is "
451 "useful to wait until all setup logic has completed before continuing "
452 "execution in the parent process invoking \\f[CR]mkosi-sandbox\\f[R] by using "
453 "\\f[CR]waitid()\\f[R] with the \\f[CR]WNOWAIT\\f[R] AND "
454 "\\f[CR]WSTOPPED\\f[R] flags.\\fR"
455 msgstr ""
456
457 #. type: TP
458 #: archlinux
459 #, no-wrap
460 msgid "\\f[CR]--pack-fds\\fR"
461 msgstr ""
462
463 #. type: Plain text
464 #: archlinux
465 msgid ""
466 "Pack inherited file descriptors together starting at file descriptor number "
467 "3 and set \\f[CR]$LISTEN_FDS\\f[R] to the number of packed file descriptors "
468 "and \\f[CR]$LISTEN_PID\\f[R] to the current process pid.\\fR"
469 msgstr ""
470
471 #. type: TP
472 #: archlinux debian-trixie opensuse-leap-16-1
473 #, no-wrap
474 msgid "\\f[CR]--version\\fR"
475 msgstr ""
476
477 #. type: Plain text
478 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
479 #: opensuse-leap-16-1 opensuse-tumbleweed
480 msgid "Show package version."
481 msgstr ""
482
483 #. type: TP
484 #: archlinux debian-trixie opensuse-leap-16-1
485 #, no-wrap
486 msgid "\\f[CR]--help\\f[R], \\f[CR]-h\\fR"
487 msgstr ""
488
489 #. type: Plain text
490 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
491 #: opensuse-leap-16-1 opensuse-tumbleweed
492 msgid "Show brief usage information."
493 msgstr ""
494
495 #. type: SH
496 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
497 #: opensuse-leap-16-1 opensuse-tumbleweed
498 #, no-wrap
499 msgid "EXAMPLES"
500 msgstr ""
501
502 #. type: Plain text
503 #: archlinux debian-trixie opensuse-leap-16-1
504 msgid ""
505 "Start \\f[CR]bash\\f[R] in the current working directory in its own network "
506 "namespace as the current user.\\fR"
507 msgstr ""
508
509 #. type: Plain text
510 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
511 #: opensuse-leap-16-1 opensuse-tumbleweed
512 #, no-wrap
513 msgid "mkosi-sandbox --bind / / --same-dir --unshare-net\n"
514 msgstr ""
515
516 #. type: Plain text
517 #: archlinux debian-trixie opensuse-leap-16-1
518 msgid ""
519 "Run \\f[CR]id\\f[R] as the root user in a sandbox with only \\f[CR]/"
520 "usr\\f[R] from the host plus the necessary symlinks to be able to run "
521 "commands.\\fR"
522 msgstr ""
523
524 #. type: Plain text
525 #: archlinux fedora-44 fedora-rawhide
526 #, no-wrap
527 msgid ""
528 "mkosi-sandbox \\[rs]\n"
529 " --ro-bind /usr /usr \\[rs]\n"
530 " --symlink usr/bin /bin \\[rs]\n"
531 " --symlink usr/lib /lib \\[rs]\n"
532 " --symlink usr/lib64 /lib64 \\[rs]\n"
533 " --symlink usr/sbin /sbin \\[rs]\n"
534 " --dev /dev \\[rs]\n"
535 " --proc /proc \\[rs]\n"
536 " --tmpfs /tmp \\[rs]\n"
537 " --become-root \\[rs]\n"
538 " id\n"
539 msgstr ""
540
541 #. type: SH
542 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
543 #: opensuse-leap-16-1 opensuse-tumbleweed
544 #, no-wrap
545 msgid "SEE ALSO"
546 msgstr ""
547
548 #. type: Plain text
549 #: archlinux debian-trixie opensuse-leap-16-1
550 msgid "\\f[CR]mkosi(1)\\fR"
551 msgstr ""
552
553 #. type: Plain text
554 #: debian-trixie opensuse-leap-16-1
555 msgid ""
556 "The source path \\f[CR]SRC\\f[R] is recursively bind mounted to "
557 "\\f[CR]DST\\f[R] in the sandbox. The mountpoint is created in the sandbox "
558 "if it does not yet exist. Any missing parent directories in the sandbox are "
559 "created as well.\\fR"
560 msgstr ""
561
562 #. type: TP
563 #: debian-trixie opensuse-leap-16-1
564 #, no-wrap
565 msgid "\\f[CR]--exec-fd FD\\fR"
566 msgstr ""
567
568 #. type: Plain text
569 #: debian-trixie opensuse-leap-16-1
570 msgid ""
571 "The specified \\f[CR]FD\\f[R] will be closed when \\f[CR]mkosi-sandbox\\f[R] "
572 "calls \\f[CR]execvp()\\f[R]. This is useful to wait until all setup logic "
573 "has completed before continuing execution in the parent process invoking "
574 "\\f[CR]mkosi-sandbox\\f[R].\\fR"
575 msgstr ""
576
577 #. type: Plain text
578 #: debian-trixie opensuse-leap-16-1
579 #, no-wrap
580 msgid ""
581 "mkosi-sandbox \\[rs]\n"
582 " --ro-bind /usr /usr \\[rs]\n"
583 " --symlink usr/bin /bin \\[rs]\n"
584 " --symlink usr/bin /bin \\[rs]\n"
585 " --symlink usr/lib /lib \\[rs]\n"
586 " --symlink usr/lib64 /lib64 \\[rs]\n"
587 " --symlink usr/sbin /sbin \\[rs]\n"
588 " --dev /dev \\[rs]\n"
589 " --proc /proc \\[rs]\n"
590 " --tmpfs /tmp \\[rs]\n"
591 " --become-root \\[rs]\n"
592 " id\n"
593 msgstr ""
594
595 #. type: Plain text
596 #: debian-unstable opensuse-tumbleweed
597 msgid "mkosi-sandbox \\(em Run commands in a custom sandbox"
598 msgstr ""
599
600 #. type: Plain text
601 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
602 msgid "\\f[B]mkosi-sandbox [options\\&...] command [arguments]\\fR"
603 msgstr ""
604
605 #. type: Plain text
606 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
607 msgid ""
608 "\\f[B]mkosi-sandbox\\f[R] runs the given command in a custom sandbox. The "
609 "sandbox is configured by specifying command line options that configure "
610 "individual parts of the sandbox.\\fR"
611 msgstr ""
612
613 #. type: Plain text
614 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
615 msgid ""
616 "If no command is specified, \\f[B]mkosi-sandbox\\f[R] will start "
617 "\\f[B]bash\\f[R] in the sandbox.\\fR"
618 msgstr ""
619
620 #. type: Plain text
621 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
622 msgid ""
623 "It is possible to use \\f[B]mkosi-sandbox\\f[R] to create an in process "
624 "sandbox for python applications by importing it as a module and invoking its "
625 "main function with only options. No command line to execute is needed in "
626 "this case. As an example:\\fR"
627 msgstr ""
628
629 #. type: Plain text
630 #: debian-unstable opensuse-tumbleweed
631 #, no-wrap
632 msgid ""
633 "\\f[R]mkosi.sandbox.main([\"--become-root\"])\n"
634 "print(os.getuid())\\fR\n"
635 msgstr ""
636
637 #. type: Plain text
638 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
639 msgid ""
640 "Only the \\f[B]main\\f[R] function can be invoked. Invoking any other "
641 "functions from \\f[B]mkosi.sandbox\\f[R] is not supported and may break in "
642 "future versions.\\fR"
643 msgstr ""
644
645 #. type: TP
646 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
647 #, no-wrap
648 msgid "\\f[B]--tmpfs DST\\fR"
649 msgstr ""
650
651 #. type: Plain text
652 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
653 msgid "Mounts a new tmpfs at \\f[B]DST\\f[R] in the sandbox.\\fR"
654 msgstr ""
655
656 #. type: TP
657 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
658 #, no-wrap
659 msgid "\\f[B]--dev DST\\fR"
660 msgstr ""
661
662 #. type: Plain text
663 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
664 msgid ""
665 "Sets up a private \\f[B]/dev\\f[R] at \\f[B]DST\\f[R] in the sandbox. This "
666 "private \\f[B]/dev\\f[R] will only contain the basic device nodes required "
667 "for a functioning sandbox (e.g.\\ \\f[B]/dev/null\\f[R]) and no actual "
668 "devices.\\fR"
669 msgstr ""
670
671 #. type: TP
672 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
673 #, no-wrap
674 msgid "\\f[B]--proc DST\\fR"
675 msgstr ""
676
677 #. type: Plain text
678 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
679 msgid ""
680 "Mounts \\f[B]/proc\\f[R] from the host at \\f[B]DST\\f[R] in the sandbox.\\fR"
681 msgstr ""
682
683 #. type: TP
684 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
685 #, no-wrap
686 msgid "\\f[B]--dir DST\\fR"
687 msgstr ""
688
689 #. type: Plain text
690 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
691 msgid ""
692 "Creates a directory and all missing parent directories at \\f[B]DST\\f[R] in "
693 "the sandbox. All directories are created with mode 755 unless the path ends "
694 "with \\f[B]/tmp\\f[R] or \\f[B]/var/tmp\\f[R] in which case it is created "
695 "with mode 1777.\\fR"
696 msgstr ""
697
698 #. type: TP
699 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
700 #, no-wrap
701 msgid "\\f[B]--bind SRC DST\\fR"
702 msgstr ""
703
704 #. type: Plain text
705 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
706 msgid ""
707 "The source path \\f[B]SRC\\f[R] is recursively bind mounted to "
708 "\\f[B]DST\\f[R] in the sandbox. The mountpoint is created in the sandbox if "
709 "it does not yet exist. Any missing parent directories in the sandbox are "
710 "created as well. The source path may optionally be prefixed with a \\f[B]+"
711 "\\f[R] character. If so, the source path is interpreted relative to the "
712 "sandbox root directory instead of the host root directory.\\fR"
713 msgstr ""
714
715 #. type: TP
716 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
717 #, no-wrap
718 msgid "\\f[B]--bind-try SRC DST\\fR"
719 msgstr ""
720
721 #. type: Plain text
722 #: debian-unstable opensuse-tumbleweed
723 msgid ""
724 "Like \\f[B]--bind\\f[R], but doesn\\(cqt fail if the source path doesn\\(cqt "
725 "exist.\\fR"
726 msgstr ""
727
728 #. type: TP
729 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
730 #, no-wrap
731 msgid "\\f[B]--ro-bind SRC DST\\fR"
732 msgstr ""
733
734 #. type: Plain text
735 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
736 msgid "Like \\f[B]--bind\\f[R], but does a recursive readonly bind mount.\\fR"
737 msgstr ""
738
739 #. type: TP
740 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
741 #, no-wrap
742 msgid "\\f[B]--ro-bind-try SRC DST\\fR"
743 msgstr ""
744
745 #. type: Plain text
746 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
747 msgid ""
748 "Like \\f[B]--bind-try\\f[R], but does a recursive readonly bind mount.\\fR"
749 msgstr ""
750
751 #. type: TP
752 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
753 #, no-wrap
754 msgid "\\f[B]--symlink SRC DST\\fR"
755 msgstr ""
756
757 #. type: Plain text
758 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
759 msgid ""
760 "Creates a symlink at \\f[B]DST\\f[R] in the sandbox pointing to "
761 "\\f[B]SRC\\f[R]. If \\f[B]DST\\f[R] already exists and is a file or "
762 "symlink, a temporary symlink is created and mounted on top of "
763 "\\f[B]DST\\f[R].\\fR"
764 msgstr ""
765
766 #. type: TP
767 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
768 #, no-wrap
769 msgid "\\f[B]--write DATA DST\\fR"
770 msgstr ""
771
772 #. type: Plain text
773 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
774 msgid ""
775 "Writes the string from \\f[B]DATA\\f[R] to \\f[B]DST\\f[R] in the sandbox."
776 "\\fR"
777 msgstr ""
778
779 #. type: TP
780 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
781 #, no-wrap
782 msgid "\\f[B]--overlay-lowerdir DIR\\fR"
783 msgstr ""
784
785 #. type: Plain text
786 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
787 msgid ""
788 "Adds \\f[B]DIR\\f[R] from the host as a new lower directory for the next "
789 "overlayfs mount.\\fR"
790 msgstr ""
791
792 #. type: TP
793 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
794 #, no-wrap
795 msgid "\\f[B]--overlay-upperdir DIR\\fR"
796 msgstr ""
797
798 #. type: Plain text
799 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
800 msgid ""
801 "Sets the upper directory for the next overlayfs mount to \\f[B]DIR\\f[R] "
802 "from the host. If set to \\f[B]tmpfs\\f[R], the upperdir and workdir will "
803 "be subdirectories of a fresh tmpfs mount.\\fR"
804 msgstr ""
805
806 #. type: TP
807 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
808 #, no-wrap
809 msgid "\\f[B]--overlay-workdir DIR\\fR"
810 msgstr ""
811
812 #. type: Plain text
813 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
814 msgid ""
815 "Sets the working directory for the next overlayfs mount to \\f[B]DIR\\f[R] "
816 "from the host.\\fR"
817 msgstr ""
818
819 #. type: TP
820 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
821 #, no-wrap
822 msgid "\\f[B]--overlay DST\\fR"
823 msgstr ""
824
825 #. type: Plain text
826 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
827 msgid ""
828 "Mounts a new overlay filesystem at \\f[B]DST\\f[R] in the sandbox. The "
829 "lower directories, upper directory and working directory are specified using "
830 "the \\f[B]--overlay-lowerdir\\f[R], \\f[B]--overlay-upperdir\\f[R] and "
831 "\\f[B]--overlay-workdir\\f[R] options respectively. After each \\f[B]--"
832 "overlay\\f[R] option is parsed, the other overlay options are reset.\\fR"
833 msgstr ""
834
835 #. type: TP
836 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
837 #, no-wrap
838 msgid "\\f[B]--unsetenv NAME\\fR"
839 msgstr ""
840
841 #. type: Plain text
842 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
843 msgid "Unsets the \\f[B]NAME\\f[R] environment variable in the sandbox.\\fR"
844 msgstr ""
845
846 #. type: TP
847 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
848 #, no-wrap
849 msgid "\\f[B]--setenv NAME VALUE\\fR"
850 msgstr ""
851
852 #. type: Plain text
853 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
854 msgid ""
855 "Sets the \\f[B]NAME\\f[R] environment variable to \\f[B]VALUE\\f[R] in the "
856 "sandbox\\fR"
857 msgstr ""
858
859 #. type: TP
860 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
861 #, no-wrap
862 msgid "\\f[B]--chdir DIR\\fR"
863 msgstr ""
864
865 #. type: Plain text
866 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
867 msgid "Changes the working directory to \\f[B]DIR\\f[R] in the sandbox.\\fR"
868 msgstr ""
869
870 #. type: TP
871 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
872 #, no-wrap
873 msgid "\\f[B]--same-dir\\fR"
874 msgstr ""
875
876 #. type: Plain text
877 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
878 msgid ""
879 "Changes to the working directory in the sandbox to the current working "
880 "directory that \\f[B]mkosi-sandbox\\f[R] is invoked in on the host.\\fR"
881 msgstr ""
882
883 #. type: TP
884 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
885 #, no-wrap
886 msgid "\\f[B]--become-root\\fR"
887 msgstr ""
888
889 #. type: Plain text
890 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
891 msgid ""
892 "Maps the current user to the root user in the sandbox. If this option is "
893 "not specified, the current user is mapped to itself in the sandbox. "
894 "Regardless of whether this option is specified or not, the current user will "
895 "have a full set of ambient capabilities in the sandbox. This includes "
896 "\\f[B]CAP_SYS_ADMIN\\f[R] which means that the invoked process in the "
897 "sandbox will be able to do bind mounts and other operations.\\fR"
898 msgstr ""
899
900 #. type: Plain text
901 #: debian-unstable opensuse-tumbleweed
902 msgid ""
903 "\\f[R]If \\f[B]mkosi-sandbox\\f[R] is invoked as the root user, this option "
904 "won\\(cqt do anything.\\fR"
905 msgstr ""
906
907 #. type: TP
908 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
909 #, no-wrap
910 msgid "\\f[B]--suppress-chown\\fR"
911 msgstr ""
912
913 #. type: Plain text
914 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
915 msgid ""
916 "Specifying this option causes all calls to \\f[B]chown()\\f[R] or similar "
917 "system calls to become a noop in the sandbox. This is primarily useful when "
918 "invoking package managers in the sandbox which might try to \\f[B]chown()"
919 "\\f[R] files to different users or groups which would fail unless "
920 "\\f[B]mkosi-sandbox\\f[R] is invoked by a privileged user.\\fR"
921 msgstr ""
922
923 #. type: TP
924 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
925 #, no-wrap
926 msgid "\\f[B]--suppress-sync\\fR"
927 msgstr ""
928
929 #. type: Plain text
930 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
931 msgid ""
932 "Specifying this option causes all calls to \\f[B]sync()\\f[R] or similar "
933 "system calls to become a noop in the sandbox. This is primarily useful when "
934 "invoking package managers in the sandbox which might try to \\f[B]sync()"
935 "\\f[R] files when extracting packages which is unnecessary when building "
936 "images and slows down execution time significantly.\\fR"
937 msgstr ""
938
939 #. type: TP
940 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
941 #, no-wrap
942 msgid "\\f[B]--unshare-net\\fR"
943 msgstr ""
944
945 #. type: Plain text
946 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
947 msgid ""
948 "Specifying this option makes \\f[B]mkosi-sandbox\\f[R] unshare a network "
949 "namespace if possible.\\fR"
950 msgstr ""
951
952 #. type: TP
953 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
954 #, no-wrap
955 msgid "\\f[B]--unshare-ipc\\fR"
956 msgstr ""
957
958 #. type: Plain text
959 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
960 msgid ""
961 "Specifying this option makes \\f[B]mkosi-sandbox\\f[R] unshare an IPC "
962 "namespace if possible.\\fR"
963 msgstr ""
964
965 #. type: TP
966 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
967 #, no-wrap
968 msgid "\\f[B]--suspend\\fR"
969 msgstr ""
970
971 #. type: Plain text
972 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
973 msgid ""
974 "Make the \\f[B]mkosi-sandbox\\f[R] process suspend itself with "
975 "\\f[B]SIGSTOP\\f[R] just before it calls \\f[B]execve()\\f[R]. This is "
976 "useful to wait until all setup logic has completed before continuing "
977 "execution in the parent process invoking \\f[B]mkosi-sandbox\\f[R] by using "
978 "\\f[B]waitid()\\f[R] with the \\f[B]WNOWAIT\\f[R] AND \\f[B]WSTOPPED\\f[R] "
979 "flags.\\fR"
980 msgstr ""
981
982 #. type: TP
983 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
984 #, no-wrap
985 msgid "\\f[B]--pack-fds\\fR"
986 msgstr ""
987
988 #. type: Plain text
989 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
990 msgid ""
991 "Pack inherited file descriptors together starting at file descriptor number "
992 "3 and set \\f[B]$LISTEN_FDS\\f[R] to the number of packed file descriptors "
993 "and \\f[B]$LISTEN_PID\\f[R] to the current process pid.\\fR"
994 msgstr ""
995
996 #. type: TP
997 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
998 #, no-wrap
999 msgid "\\f[B]--version\\fR"
1000 msgstr ""
1001
1002 #. type: TP
1003 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
1004 #, no-wrap
1005 msgid "\\f[B]--help\\f[R], \\f[B]-h\\fR"
1006 msgstr ""
1007
1008 #. type: Plain text
1009 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
1010 msgid ""
1011 "Start \\f[B]bash\\f[R] in the current working directory in its own network "
1012 "namespace as the current user.\\fR"
1013 msgstr ""
1014
1015 #. type: Plain text
1016 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
1017 msgid ""
1018 "Run \\f[B]id\\f[R] as the root user in a sandbox with only \\f[B]/usr\\f[R] "
1019 "from the host plus the necessary symlinks to be able to run commands.\\fR"
1020 msgstr ""
1021
1022 #. type: Plain text
1023 #: debian-unstable opensuse-tumbleweed
1024 #, no-wrap
1025 msgid ""
1026 "mkosi-sandbox \\(rs\n"
1027 " --ro-bind /usr /usr \\(rs\n"
1028 " --symlink usr/bin /bin \\(rs\n"
1029 " --symlink usr/lib /lib \\(rs\n"
1030 " --symlink usr/lib64 /lib64 \\(rs\n"
1031 " --symlink usr/sbin /sbin \\(rs\n"
1032 " --dev /dev \\(rs\n"
1033 " --proc /proc \\(rs\n"
1034 " --tmpfs /tmp \\(rs\n"
1035 " --become-root \\(rs\n"
1036 " id\n"
1037 msgstr ""
1038
1039 #. type: Plain text
1040 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
1041 msgid "\\f[B]mkosi(1)\\fR"
1042 msgstr ""
1043
1044 #. type: Plain text
1045 #: fedora-44 fedora-rawhide
1046 msgid ""
1047 "Like \\f[B]--bind\\f[R], but doesn\\[cq]t fail if the source path doesn\\"
1048 "[cq]t exist.\\fR"
1049 msgstr ""
1050
1051 #. type: Plain text
1052 #: fedora-44 fedora-rawhide
1053 msgid ""
1054 "If \\f[B]mkosi-sandbox\\f[R] is invoked as the root user, this option won\\"
1055 "[cq]t do anything.\\fR"
1056 msgstr ""