Bug#949698: elogind: deletes users’ files under /dev/shm/ on logout

Mark Hindley mark at hindley.org.uk
Thu Jan 23 20:16:31 GMT 2020

On Thu, Jan 23, 2020 at 08:32:46PM +0100, Thorsten Glaser wrote:
> Package: elogind
> Version: 241.3-1+debian2
> Severity: critical
> Justification: breaks unrelated software
> I’m using a scheme in which I store ssh-agent and gpg-agent information
> across all logins (local X session or ssh or xrdp) under /dev/shm/ since
> I needed space that an unprivileged user can use and that doesn’t persist
> across reboots.
> Since installing elogind, logging out from SSH sessions then on again
> both breaks gpg-agent as well as makes ssh-agent instances multiply and,
> thus, lose their loaded keys to the user.


Thanks for this.

This behaviour is configurable via RemoveIPC in /etc/elogind/logind.conf. See
man logind.conf(5).

I accept that the documentation for the behaviour is difficult to find (I had to
search quite hard) and it may be that the default ought to be different.

Perhaps you could confirm that this configuration change provides the behaviour
you want?

Many thanks.


More information about the Debian-init-diversity mailing list