[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#966621: Make /tmp/ a tmpfs and cleanup /var/tmp/ on a timer by default [was: Re: systemd: tmpfiles.d not cleaning /var/tmp by default]



>>>>> "Luca" == Luca Boccassi <bluca@debian.org> writes:

    Luca> On Mon, 6 May 2024 at 15:42, Richard Lewis
    Luca> <richard.lewis.debian@googlemail.com> wrote:
    >> 
    >> Luca Boccassi <bluca@debian.org> writes:
    >> 
    >> > Hence, I am not really looking for philosophical discussions or
    >> lists > of personal preferences or hypotheticals, but for facts:
    >> what would > break where, and how to fix it?

ssh-agent appears to default to creating a socket under /tmp.
I think respecting $XDG_RUNTIME_DIR would be better.

/etc/X11/Xsession.d/90x11-common_ssh-agent also doesn't override where
the socket ends up.
I definitely think for session scripts like that $XDG_RUNTIME_DIR would
be better.


gnome-keyring's ssh-agent handles this better, although last time I
checked, it did not support pkcs11, so I could not use it with PIV
cards.
(Other parts of gnome-keyring do support pkcs11).


Reply to: