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

Bug#852448: x11-common: ssh-agent socket removed from /tmp for long-running sessions



On 01/24/2017 07:20 PM, Sam Hartman wrote:
>>>>>> "Julien" == Julien Cristau <jcristau@debian.org> writes:
> 
>     Julien> On 01/24/2017 03:51 PM, Sam Hartman wrote:
>     >> Package: x11-common Version: 1:7.7+18 Severity: important
>     >> 
>     >> Hi. In the brave new world of systemd, /tmp tends to get cleaned
>     >> fairly aggressively even while users are logged in.  I've found
>     >> that after a few days my ssh agent socket gets cleaned up, and I
>     >> get grumpy typing long pass phrases and unable to use smart
>     >> cards.
>     >> 
>     Julien> That sounds like a serious bug in whatever is doing that.
>     Julien> There are a number of things in /tmp that shouldn't be
>     Julien> automatically deleted.  /tmp/.X11-unix/X* come to mind.
> 
> Yeah, it looks from /usr/lib/tmpfiles.d/x11.conf that /tmp/.X11-unix
> will delete sockets after 10 days.
> That should be fun.
> This is all from systemd.
> I'd be fine with an argument that in addition to this change systemd
> shouldn't clean up ssh agent sockets in /tmp.

My opinion is that it should leave /tmp the hell alone.

Cheers,
Julien


Reply to: