# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2026-06-05 06:31+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "mkosi-sandbox" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1 msgid "mkosi-sandbox \\[em] Run commands in a custom sandbox" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]mkosi-sandbox [options\\&...] command [arguments]\\fR" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]mkosi-sandbox\\f[R] runs the given command in a custom sandbox. The " "sandbox is configured by specifying command line options that configure " "individual parts of the sandbox.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "If no command is specified, \\f[CR]mkosi-sandbox\\f[R] will start " "\\f[CR]bash\\f[R] in the sandbox.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Note that this sandbox is not designed to be a security boundary. Its " "intended purpose is to allow running commands in an isolated environment so " "they are not affected by the host system." msgstr "" #. type: Plain text #: archlinux msgid "" "It is possible to use \\f[CR]mkosi-sandbox\\f[R] to create an in process " "sandbox for python applications by importing it as a module and invoking its " "main function with only options. No command line to execute is needed in " "this case. As an example:\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]import\\f[R] mkosi.sandbox\\fR\n" msgstr "" #. type: Plain text #: archlinux fedora-44 fedora-rawhide #, no-wrap msgid "" "\\f[R]mkosi.sandbox.main([\\[dq]--become-root\\[dq]])\n" "print(os.getuid())\\fR\n" msgstr "" #. type: Plain text #: archlinux msgid "" "Only the \\f[CR]main\\f[R] function can be invoked. Invoking any other " "functions from \\f[CR]mkosi.sandbox\\f[R] is not supported and may break in " "future versions.\\fR" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "OPTIONS" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--tmpfs DST\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "Mounts a new tmpfs at \\f[CR]DST\\f[R] in the sandbox.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--dev DST\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Sets up a private \\f[CR]/dev\\f[R] at \\f[CR]DST\\f[R] in the sandbox. " "This private \\f[CR]/dev\\f[R] will only contain the basic device nodes " "required for a functioning sandbox (e.g.\\ \\f[CR]/dev/null\\f[R]) and no " "actual devices.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--proc DST\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Mounts \\f[CR]/proc\\f[R] from the host at \\f[CR]DST\\f[R] in the sandbox." "\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--dir DST\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Creates a directory and all missing parent directories at \\f[CR]DST\\f[R] " "in the sandbox. All directories are created with mode 755 unless the path " "ends with \\f[CR]/tmp\\f[R] or \\f[CR]/var/tmp\\f[R] in which case it is " "created with mode 1777.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--bind SRC DST\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "The source path \\f[CR]SRC\\f[R] is recursively bind mounted to " "\\f[CR]DST\\f[R] in the sandbox. The mountpoint is created in the sandbox " "if it does not yet exist. Any missing parent directories in the sandbox are " "created as well. The source path may optionally be prefixed with a \\f[CR]+" "\\f[R] character. If so, the source path is interpreted relative to the " "sandbox root directory instead of the host root directory.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--bind-try SRC DST\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Like \\f[CR]--bind\\f[R], but doesn\\[cq]t fail if the source path doesn\\" "[cq]t exist.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--ro-bind SRC DST\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "Like \\f[CR]--bind\\f[R], but does a recursive readonly bind mount.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--ro-bind-try SRC DST\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Like \\f[CR]--bind-try\\f[R], but does a recursive readonly bind mount.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--symlink SRC DST\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Creates a symlink at \\f[CR]DST\\f[R] in the sandbox pointing to " "\\f[CR]SRC\\f[R]. If \\f[CR]DST\\f[R] already exists and is a file or " "symlink, a temporary symlink is created and mounted on top of " "\\f[CR]DST\\f[R].\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--write DATA DST\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Writes the string from \\f[CR]DATA\\f[R] to \\f[CR]DST\\f[R] in the sandbox." "\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--overlay-lowerdir DIR\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Adds \\f[CR]DIR\\f[R] from the host as a new lower directory for the next " "overlayfs mount.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--overlay-upperdir DIR\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Sets the upper directory for the next overlayfs mount to \\f[CR]DIR\\f[R] " "from the host. If set to \\f[CR]tmpfs\\f[R], the upperdir and workdir will " "be subdirectories of a fresh tmpfs mount.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--overlay-workdir DIR\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Sets the working directory for the next overlayfs mount to \\f[CR]DIR\\f[R] " "from the host.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--overlay DST\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Mounts a new overlay filesystem at \\f[CR]DST\\f[R] in the sandbox. The " "lower directories, upper directory and working directory are specified using " "the \\f[CR]--overlay-lowerdir\\f[R], \\f[CR]--overlay-upperdir\\f[R] and " "\\f[CR]--overlay-workdir\\f[R] options respectively. After each \\f[CR]--" "overlay\\f[R] option is parsed, the other overlay options are reset.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--unsetenv NAME\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "Unsets the \\f[CR]NAME\\f[R] environment variable in the sandbox.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--setenv NAME VALUE\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Sets the \\f[CR]NAME\\f[R] environment variable to \\f[CR]VALUE\\f[R] in the " "sandbox\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--chdir DIR\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "Changes the working directory to \\f[CR]DIR\\f[R] in the sandbox.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--same-dir\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Changes to the working directory in the sandbox to the current working " "directory that \\f[CR]mkosi-sandbox\\f[R] is invoked in on the host.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--become-root\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Maps the current user to the root user in the sandbox. If this option is " "not specified, the current user is mapped to itself in the sandbox. " "Regardless of whether this option is specified or not, the current user will " "have a full set of ambient capabilities in the sandbox. This includes " "\\f[CR]CAP_SYS_ADMIN\\f[R] which means that the invoked process in the " "sandbox will be able to do bind mounts and other operations.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "If \\f[CR]mkosi-sandbox\\f[R] is invoked as the root user, this option won\\" "[cq]t do anything.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--suppress-chown\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Specifying this option causes all calls to \\f[CR]chown()\\f[R] or similar " "system calls to become a noop in the sandbox. This is primarily useful when " "invoking package managers in the sandbox which might try to \\f[CR]chown()" "\\f[R] files to different users or groups which would fail unless " "\\f[CR]mkosi-sandbox\\f[R] is invoked by a privileged user.\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]--suppress-sync\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Specifying this option causes all calls to \\f[CR]sync()\\f[R] or similar " "system calls to become a noop in the sandbox. This is primarily useful when " "invoking package managers in the sandbox which might try to \\f[CR]sync()" "\\f[R] files when extracting packages which is unnecessary when building " "images and slows down execution time significantly.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--unshare-net\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Specifying this option makes \\f[CR]mkosi-sandbox\\f[R] unshare a network " "namespace if possible.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--unshare-ipc\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Specifying this option makes \\f[CR]mkosi-sandbox\\f[R] unshare an IPC " "namespace if possible.\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]--suspend\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Make the \\f[CR]mkosi-sandbox\\f[R] process suspend itself with " "\\f[CR]SIGSTOP\\f[R] just before it calls \\f[CR]execve()\\f[R]. This is " "useful to wait until all setup logic has completed before continuing " "execution in the parent process invoking \\f[CR]mkosi-sandbox\\f[R] by using " "\\f[CR]waitid()\\f[R] with the \\f[CR]WNOWAIT\\f[R] AND " "\\f[CR]WSTOPPED\\f[R] flags.\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]--pack-fds\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Pack inherited file descriptors together starting at file descriptor number " "3 and set \\f[CR]$LISTEN_FDS\\f[R] to the number of packed file descriptors " "and \\f[CR]$LISTEN_PID\\f[R] to the current process pid.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--version\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Show package version." msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--help\\f[R], \\f[CR]-h\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Show brief usage information." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Start \\f[CR]bash\\f[R] in the current working directory in its own network " "namespace as the current user.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "mkosi-sandbox --bind / / --same-dir --unshare-net\n" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Run \\f[CR]id\\f[R] as the root user in a sandbox with only \\f[CR]/" "usr\\f[R] from the host plus the necessary symlinks to be able to run " "commands.\\fR" msgstr "" #. type: Plain text #: archlinux fedora-44 fedora-rawhide #, no-wrap msgid "" "mkosi-sandbox \\[rs]\n" " --ro-bind /usr /usr \\[rs]\n" " --symlink usr/bin /bin \\[rs]\n" " --symlink usr/lib /lib \\[rs]\n" " --symlink usr/lib64 /lib64 \\[rs]\n" " --symlink usr/sbin /sbin \\[rs]\n" " --dev /dev \\[rs]\n" " --proc /proc \\[rs]\n" " --tmpfs /tmp \\[rs]\n" " --become-root \\[rs]\n" " id\n" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]mkosi(1)\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "The source path \\f[CR]SRC\\f[R] is recursively bind mounted to " "\\f[CR]DST\\f[R] in the sandbox. The mountpoint is created in the sandbox " "if it does not yet exist. Any missing parent directories in the sandbox are " "created as well.\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--exec-fd FD\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "The specified \\f[CR]FD\\f[R] will be closed when \\f[CR]mkosi-sandbox\\f[R] " "calls \\f[CR]execvp()\\f[R]. This is useful to wait until all setup logic " "has completed before continuing execution in the parent process invoking " "\\f[CR]mkosi-sandbox\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "" "mkosi-sandbox \\[rs]\n" " --ro-bind /usr /usr \\[rs]\n" " --symlink usr/bin /bin \\[rs]\n" " --symlink usr/bin /bin \\[rs]\n" " --symlink usr/lib /lib \\[rs]\n" " --symlink usr/lib64 /lib64 \\[rs]\n" " --symlink usr/sbin /sbin \\[rs]\n" " --dev /dev \\[rs]\n" " --proc /proc \\[rs]\n" " --tmpfs /tmp \\[rs]\n" " --become-root \\[rs]\n" " id\n" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "mkosi-sandbox \\(em Run commands in a custom sandbox" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi-sandbox [options\\&...] command [arguments]\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]mkosi-sandbox\\f[R] runs the given command in a custom sandbox. The " "sandbox is configured by specifying command line options that configure " "individual parts of the sandbox.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "If no command is specified, \\f[B]mkosi-sandbox\\f[R] will start " "\\f[B]bash\\f[R] in the sandbox.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "It is possible to use \\f[B]mkosi-sandbox\\f[R] to create an in process " "sandbox for python applications by importing it as a module and invoking its " "main function with only options. No command line to execute is needed in " "this case. As an example:\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed #, no-wrap msgid "" "\\f[R]mkosi.sandbox.main([\"--become-root\"])\n" "print(os.getuid())\\fR\n" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Only the \\f[B]main\\f[R] function can be invoked. Invoking any other " "functions from \\f[B]mkosi.sandbox\\f[R] is not supported and may break in " "future versions.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--tmpfs DST\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "Mounts a new tmpfs at \\f[B]DST\\f[R] in the sandbox.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--dev DST\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Sets up a private \\f[B]/dev\\f[R] at \\f[B]DST\\f[R] in the sandbox. This " "private \\f[B]/dev\\f[R] will only contain the basic device nodes required " "for a functioning sandbox (e.g.\\ \\f[B]/dev/null\\f[R]) and no actual " "devices.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--proc DST\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Mounts \\f[B]/proc\\f[R] from the host at \\f[B]DST\\f[R] in the sandbox.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--dir DST\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Creates a directory and all missing parent directories at \\f[B]DST\\f[R] in " "the sandbox. All directories are created with mode 755 unless the path ends " "with \\f[B]/tmp\\f[R] or \\f[B]/var/tmp\\f[R] in which case it is created " "with mode 1777.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--bind SRC DST\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "The source path \\f[B]SRC\\f[R] is recursively bind mounted to " "\\f[B]DST\\f[R] in the sandbox. The mountpoint is created in the sandbox if " "it does not yet exist. Any missing parent directories in the sandbox are " "created as well. The source path may optionally be prefixed with a \\f[B]+" "\\f[R] character. If so, the source path is interpreted relative to the " "sandbox root directory instead of the host root directory.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--bind-try SRC DST\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "Like \\f[B]--bind\\f[R], but doesn\\(cqt fail if the source path doesn\\(cqt " "exist.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--ro-bind SRC DST\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "Like \\f[B]--bind\\f[R], but does a recursive readonly bind mount.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--ro-bind-try SRC DST\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Like \\f[B]--bind-try\\f[R], but does a recursive readonly bind mount.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--symlink SRC DST\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Creates a symlink at \\f[B]DST\\f[R] in the sandbox pointing to " "\\f[B]SRC\\f[R]. If \\f[B]DST\\f[R] already exists and is a file or " "symlink, a temporary symlink is created and mounted on top of " "\\f[B]DST\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--write DATA DST\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Writes the string from \\f[B]DATA\\f[R] to \\f[B]DST\\f[R] in the sandbox." "\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--overlay-lowerdir DIR\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Adds \\f[B]DIR\\f[R] from the host as a new lower directory for the next " "overlayfs mount.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--overlay-upperdir DIR\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Sets the upper directory for the next overlayfs mount to \\f[B]DIR\\f[R] " "from the host. If set to \\f[B]tmpfs\\f[R], the upperdir and workdir will " "be subdirectories of a fresh tmpfs mount.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--overlay-workdir DIR\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Sets the working directory for the next overlayfs mount to \\f[B]DIR\\f[R] " "from the host.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--overlay DST\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Mounts a new overlay filesystem at \\f[B]DST\\f[R] in the sandbox. The " "lower directories, upper directory and working directory are specified using " "the \\f[B]--overlay-lowerdir\\f[R], \\f[B]--overlay-upperdir\\f[R] and " "\\f[B]--overlay-workdir\\f[R] options respectively. After each \\f[B]--" "overlay\\f[R] option is parsed, the other overlay options are reset.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--unsetenv NAME\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "Unsets the \\f[B]NAME\\f[R] environment variable in the sandbox.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--setenv NAME VALUE\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Sets the \\f[B]NAME\\f[R] environment variable to \\f[B]VALUE\\f[R] in the " "sandbox\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--chdir DIR\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "Changes the working directory to \\f[B]DIR\\f[R] in the sandbox.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--same-dir\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Changes to the working directory in the sandbox to the current working " "directory that \\f[B]mkosi-sandbox\\f[R] is invoked in on the host.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--become-root\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Maps the current user to the root user in the sandbox. If this option is " "not specified, the current user is mapped to itself in the sandbox. " "Regardless of whether this option is specified or not, the current user will " "have a full set of ambient capabilities in the sandbox. This includes " "\\f[B]CAP_SYS_ADMIN\\f[R] which means that the invoked process in the " "sandbox will be able to do bind mounts and other operations.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]If \\f[B]mkosi-sandbox\\f[R] is invoked as the root user, this option " "won\\(cqt do anything.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--suppress-chown\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Specifying this option causes all calls to \\f[B]chown()\\f[R] or similar " "system calls to become a noop in the sandbox. This is primarily useful when " "invoking package managers in the sandbox which might try to \\f[B]chown()" "\\f[R] files to different users or groups which would fail unless " "\\f[B]mkosi-sandbox\\f[R] is invoked by a privileged user.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--suppress-sync\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Specifying this option causes all calls to \\f[B]sync()\\f[R] or similar " "system calls to become a noop in the sandbox. This is primarily useful when " "invoking package managers in the sandbox which might try to \\f[B]sync()" "\\f[R] files when extracting packages which is unnecessary when building " "images and slows down execution time significantly.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--unshare-net\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Specifying this option makes \\f[B]mkosi-sandbox\\f[R] unshare a network " "namespace if possible.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--unshare-ipc\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Specifying this option makes \\f[B]mkosi-sandbox\\f[R] unshare an IPC " "namespace if possible.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--suspend\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Make the \\f[B]mkosi-sandbox\\f[R] process suspend itself with " "\\f[B]SIGSTOP\\f[R] just before it calls \\f[B]execve()\\f[R]. This is " "useful to wait until all setup logic has completed before continuing " "execution in the parent process invoking \\f[B]mkosi-sandbox\\f[R] by using " "\\f[B]waitid()\\f[R] with the \\f[B]WNOWAIT\\f[R] AND \\f[B]WSTOPPED\\f[R] " "flags.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--pack-fds\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Pack inherited file descriptors together starting at file descriptor number " "3 and set \\f[B]$LISTEN_FDS\\f[R] to the number of packed file descriptors " "and \\f[B]$LISTEN_PID\\f[R] to the current process pid.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--version\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--help\\f[R], \\f[B]-h\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Start \\f[B]bash\\f[R] in the current working directory in its own network " "namespace as the current user.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Run \\f[B]id\\f[R] as the root user in a sandbox with only \\f[B]/usr\\f[R] " "from the host plus the necessary symlinks to be able to run commands.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed #, no-wrap msgid "" "mkosi-sandbox \\(rs\n" " --ro-bind /usr /usr \\(rs\n" " --symlink usr/bin /bin \\(rs\n" " --symlink usr/lib /lib \\(rs\n" " --symlink usr/lib64 /lib64 \\(rs\n" " --symlink usr/sbin /sbin \\(rs\n" " --dev /dev \\(rs\n" " --proc /proc \\(rs\n" " --tmpfs /tmp \\(rs\n" " --become-root \\(rs\n" " id\n" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi(1)\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Like \\f[B]--bind\\f[R], but doesn\\[cq]t fail if the source path doesn\\" "[cq]t exist.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "If \\f[B]mkosi-sandbox\\f[R] is invoked as the root user, this option won\\" "[cq]t do anything.\\fR" msgstr ""