mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
docs: clarify sockdir's separation
There's another reason for separating sockdir from tmpdir, beyond "shorter pathnames needed": permissions. For example, passt drops privileges such that it cannot access "/tmp", and that restricts both the unix domain socket and the PID file of passt. Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2184967 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Richard W.M. Jones <rjones@redhat.com> Message-Id: <20230714132213.96616-5-lersek@redhat.com>
This commit is contained in:
@@ -1548,8 +1548,8 @@ See L</LIBGUESTFS_CACHEDIR>, L</LIBGUESTFS_TMPDIR>.
|
||||
This directory represents a user-specific directory for storing
|
||||
non-essential runtime files.
|
||||
|
||||
If it is set, then is used to store temporary sockets. Otherwise,
|
||||
F</tmp> is used.
|
||||
If it is set, then is used to store temporary sockets and PID files.
|
||||
Otherwise, F</tmp> is used.
|
||||
|
||||
See also L</get-sockdir>,
|
||||
L<http://www.freedesktop.org/wiki/Specifications/basedir-spec/>.
|
||||
|
||||
Reference in New Issue
Block a user