Hello Josh, On 12/12/22 18:38, Josh Gentry wrote:
In the systemctl man page, under: *bind */UNIT PATH/[/PATH/] Bind-mounts a file or directory from the host into the specified unit's mount namespace. The first path argument is the source file or directory on the host, the second path argument is the destination file or directory in the unit's mount namespace. When the latter is omitted, the destination path in the unit's mount namespace is the same as the source path on the host. When combined with the *--read-only *switch, a ready-only bind mount is created. When combined with the *--mkdir *switch, the destination path is first created before the mount is applied. Note that this option is currently only supported for units that run within a mount namespace (e.g.: with *RootImage=*, *PrivateMounts=*, etc.). This command supports bind-mounting directories, regular files, device nodes, *AF_UNIX *socket nodes, as well as FIFOs. The bind mount is ephemeral, and it is undone as soon as the current unit process exists. Note that the namespace mentioned here, where the bind mount will be added to, is the one where the main service process runs. Other processes (those exececuted by *ExecReload=*, *ExecStartPre=*, etc.) run in distinct namespaces. I believe ‘exists’ should be ‘exits’ but this may just be weird grammar as well. I used this link to reference the systemctl man page:https://man7.org/linux/man-pages/man1/systemctl.1.html <https://man7.org/linux/man-pages/man1/systemctl.1.html>Thanks for your excellent man pages!
Thank your for your report!In this case, it's not a page provided by the Linux man-pages project, but one provided by the systemd project, so you should report it to them. See the colophon of the page:
COLOPHON top This page is part of the systemd (systemd system and service manager) project. Information about the project can be found at ⟨http://www.freedesktop.org/wiki/Software/systemd⟩;. If you have a bug report for this manual page, see ⟨http://www.freedesktop.org/wiki/Software/systemd/#bugreports⟩;. This page was obtained from the project's upstream Git repository ⟨https://github.com/systemd/systemd.git⟩; on 2021-08-27. (At that time, the date of the most recent commit that was found in the repository was 2021-08-27.) If you discover any rendering problems in this HTML version of the page, or you believe there is a better or more up-to-date source for the page, or you have corrections or improvements to the information in this COLOPHON (which is not part of the original manual page), send a mail to man-pages@xxxxxxxx Cheers, Alex -- <http://www.alejandro-colomar.es/>
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature