Hi Steve,
On 16/9/25 3:43, Steve Litt wrote:
> So where do all of you think the logs belong for a runsvdir run as a
> normal user (slitt in this case)?
The drawback of using /home is that it may be mounted over network filesystems.
I'm aware that you haven't great sympathy for the hipsters of freedesktop, but there is
a directory used by the different user services that need a placeĀ for their lock files,
pid files, log files and sockets.
https://specifications.freedesktop.org/basedir-spec/latest
According to the specifications:
"There is a single base directory relative to which
user-specific runtime files and other file objects should
be placed. This directory is defined by the environment
variable|$XDG_RUNTIME_DIR"|
I thought that "/run/user/$UID" was created by pam-systemd, but this directory already
exists in my devuan system. Prior to it, user services typically stored their files in
/tmp. Maybe they considered it inappropriate as it's writable by everyone.
|Cheers,|
|Aitor.|
|
|
Received on Tue Sep 16 2025 - 16:47:04 CEST