Your message dated Sat, 09 Oct 2021 12:09:40 +0100
with message-id 
<81741a2f4e370c14a3bec08b7fe6e2b10c32267b.ca...@adam-barratt.org.uk>
and subject line Closing p-u bugs for updates in 11.1
has caused the Debian Bug report #994112,
regarding bullseye-pu: package tmux/3.1c-1+deb11u1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
994112: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994112
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: bullseye
User: [email protected]
Usertags: pu

Hello,

I'm seeking permission to upload tmux/3.1c-1+deb11u1 to bullseye; it
fixes a regression which results in tmux not loading its configuration
during startup in some situations (#992202).

Full debdiff attached.

Thanks,
diffstat for tmux-3.1c tmux-3.1c

 changelog                        |    9 +++++++++
 patches/series                   |    1 +
 patches/upstream-7a4aa14618.diff |   28 ++++++++++++++++++++++++++++
 3 files changed, 38 insertions(+)

diff -Nru tmux-3.1c/debian/changelog tmux-3.1c/debian/changelog
--- tmux-3.1c/debian/changelog  2020-11-01 13:45:43.000000000 +0100
+++ tmux-3.1c/debian/changelog  2021-09-11 23:24:41.000000000 +0200
@@ -1,3 +1,12 @@
+tmux (3.1c-1+deb11u1) bullseye; urgency=medium
+
+  * Cherry-pick commit 7a4aa14618 from upstream to fix race condition
+    which results in the config not being loaded if several clients are
+    interacting with the server while it's initializing (upstream GitHub
+    issue #2438, closes: #992202).
+
+ -- Romain Francoise <[email protected]>  Sat, 11 Sep 2021 23:24:41 +0200
+
 tmux (3.1c-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru tmux-3.1c/debian/patches/series tmux-3.1c/debian/patches/series
--- tmux-3.1c/debian/patches/series     2020-11-01 13:45:43.000000000 +0100
+++ tmux-3.1c/debian/patches/series     2021-09-11 23:06:29.000000000 +0200
@@ -1 +1,2 @@
 platform-quirks.diff
+upstream-7a4aa14618.diff
diff -Nru tmux-3.1c/debian/patches/upstream-7a4aa14618.diff 
tmux-3.1c/debian/patches/upstream-7a4aa14618.diff
--- tmux-3.1c/debian/patches/upstream-7a4aa14618.diff   1970-01-01 
01:00:00.000000000 +0100
+++ tmux-3.1c/debian/patches/upstream-7a4aa14618.diff   2021-09-11 
23:06:36.000000000 +0200
@@ -0,0 +1,28 @@
+commit 7a4aa146187cc60d2df66333b3e7dd5a5176f793
+Author: Nicholas Marriott <[email protected]>
+Date:   Wed Oct 28 10:09:10 2020 +0000
+
+    Do not require that there be no other clients before loading the config,
+    being the first client is enough. GitHub issue 2438.
+
+--- a/server-client.c
++++ b/server-client.c
+@@ -1975,13 +1975,13 @@
+       }
+ 
+       /*
+-       * If this is the first client that has finished identifying, load
+-       * configuration files.
++       * If this is the first client, load configuration files. Any later
++       * clients are allowed to continue with their command even if the
++       * config has not been loaded - they might have been run from inside it
+        */
+       if ((~c->flags & CLIENT_EXIT) &&
+-          !cfg_finished &&
+-          c == TAILQ_FIRST(&clients) &&
+-          TAILQ_NEXT(c, entry) == NULL)
++           !cfg_finished &&
++           c == TAILQ_FIRST(&clients))
+               start_cfg();
+ }
+ 

--- End Message ---
--- Begin Message ---
Package: release.debian.org
Version: 11.1

Hi,

The updates relating to these bugs were included in this morning's 11.1
point release for bullseye.

Regards,

Adam

--- End Message ---

Reply via email to