Bug#1070724: tmux: take flock on socket file/dir in /tmp/

2024-05-08 Thread Luca Boccassi
On Wed, 8 May 2024 at 10:45, Luca Boccassi wrote: > > On Wed, 8 May 2024 at 08:20, Romain Francoise wrote: > > > > Hi Luca, > > > > Thanks for the heads up! Appreciate it. > > > > On Wed, May 8, 2024 at 1:33 AM Luca Boccassi wrote: > > > In order to avoid the /tmp/tmux-UID/default socket being

Bug#1070724: tmux: take flock on socket file/dir in /tmp/

2024-05-08 Thread Luca Boccassi
On Wed, 8 May 2024 at 08:20, Romain Francoise wrote: > > Hi Luca, > > Thanks for the heads up! Appreciate it. > > On Wed, May 8, 2024 at 1:33 AM Luca Boccassi wrote: > > In order to avoid the /tmp/tmux-UID/default socket being deleted while > > in use (e.g.: long term session), please patch tmux

Bug#1070724: tmux: take flock on socket file/dir in /tmp/

2024-05-08 Thread Romain Francoise
Hi Luca, Thanks for the heads up! Appreciate it. On Wed, May 8, 2024 at 1:33 AM Luca Boccassi wrote: > In order to avoid the /tmp/tmux-UID/default socket being deleted while > in use (e.g.: long term session), please patch tmux to take a flock(2) > on the directory while it's running, as per

Bug#1070724: tmux: take flock on socket file/dir in /tmp/

2024-05-07 Thread Luca Boccassi
Package: tmux Severity: important Hi, The default tmpfiles.d/tmp.conf will soon start cleaning up /tmp/ once a day, automatically deleting files older than 10 days (ctime/mtime/atime are all taken into account). In order to avoid the /tmp/tmux-UID/default socket being deleted while in use