Your message dated Sat, 06 Sep 2014 16:49:14 +0000
with message-id <[email protected]>
and subject line Bug#756068: fixed in gdm3 3.12.2-4
has caused the Debian Bug report #756068,
regarding gdm3 blocks SIGUSR1 for all applications
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.)


-- 
756068: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756068
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gdm3
Version: 3.12.2-2
Severity: important
Tags: upstream

Dear Maintainer,

We've been puzzled to see that when using recent gdm3 and
gnome3, our application stopped receiving SIGUSR1 signals.

Digging into the issue, we found this gdm commit that seems
to block the SIGUSR1 signal in a process-wide fashion:

commit 956d7d1c7a0cfbf2beacdb9e88e645e15ad32047
Author: Jasper St. Pierre <[email protected]>
Date:   Fri Feb 14 14:32:50 2014 -0500

    server: Process SIGUSR1 more carefully
    
    If the slave is removed as a separate process, it means that we need
    to be more careful with our handling of SIGUSR1. If multiple X servers
    are launched at once, we need to use siginfo_t to get the PID of the
    thing that sent the user signal, and make sure we signal the correct
    GdmServer.
    
    glib doesn't have native siginfo support, so do it ourselves by using
    a worker thread that spins around waiting for sigwaitinfo.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=724382

Our issue is that this signal mask blocking of SIGUSR1 trickles
down to every application launched by the window manager. This
breaks POSIX guarantees about signal masks (see signal(7)). We
would expect SIGUSR1 to be delivered to the application by default.

Moreover, reading the commit, we notice that the intent using
sigprocmask in sigusr1_thread_main() is to handle SIGUSR1, but
the code actually blocks SIGUSR1. This is exactly the opposite of
what is expected. Therefore, we can expect that the signal is
never handled by sigusr1_thread_main, so there are probably other
issues hidden under this. Also, we would recommend using
pthread_sigmask rather than sigprocmask so the effect of the
signal masking only applies to the thread running
sigusr1_thread_main.

Thanks,

Mathieu

-- System Information:
Debian Release: jessie/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gdm3 depends on:
ii  accountsservice                              0.6.37-2
ii  adduser                                      3.113+nmu3
ii  dconf-cli                                    0.20.0-2
ii  dconf-gsettings-backend                      0.20.0-2
ii  debconf [debconf-2.0]                        1.5.53
ii  gir1.2-gdm3                                  3.12.2-2
ii  gnome-session [x-session-manager]            3.12.1-3
ii  gnome-session-bin                            3.12.1-3
ii  gnome-session-flashback [x-session-manager]  3.8.0-3
ii  gnome-settings-daemon                        3.12.2-1
ii  gnome-shell                                  3.12.2-3
ii  gnome-terminal [x-terminal-emulator]         3.12.3-1
ii  gsettings-desktop-schemas                    3.12.2-1
ii  libaccountsservice0                          0.6.37-2
ii  libatk1.0-0                                  2.12.0-1
ii  libaudit1                                    1:2.3.7-1
ii  libc6                                        2.19-7
ii  libcairo-gobject2                            1.12.16-2
ii  libcairo2                                    1.12.16-2
ii  libcanberra-gtk3-0                           0.30-2
ii  libcanberra0                                 0.30-2
ii  libgdk-pixbuf2.0-0                           2.30.7-1
ii  libgdm1                                      3.12.2-2
ii  libglib2.0-0                                 2.40.0-3
ii  libglib2.0-bin                               2.40.0-3
ii  libgtk-3-0                                   3.12.2-1+b1
ii  libpam-modules                               1.1.8-3
ii  libpam-runtime                               1.1.8-3
ii  libpam-systemd                               208-6
ii  libpam0g                                     1.1.8-3
ii  libpango-1.0-0                               1.36.3-1
ii  libpangocairo-1.0-0                          1.36.3-1
ii  librsvg2-common                              2.40.2-1
ii  libselinux1                                  2.3-1
ii  libsystemd-daemon0                           208-6
ii  libsystemd-id128-0                           208-6
ii  libsystemd-journal0                          208-6
ii  libsystemd-login0                            208-6
ii  libwrap0                                     7.6.q-25
ii  libx11-6                                     2:1.6.2-2
ii  libxau6                                      1:1.0.8-1
ii  libxdmcp6                                    1:1.1.1-1
ii  libxrandr2                                   2:1.4.2-1
ii  lsb-base                                     4.1+Debian13
ii  metacity [x-window-manager]                  1:2.34.13-1
ii  policykit-1                                  0.105-6
ii  twm [x-window-manager]                       1:1.0.8-1
ii  ucf                                          3.0030
ii  x11-common                                   1:7.7+7
ii  x11-xserver-utils                            7.7+3
ii  xfce4-session [x-session-manager]            4.10.1-6
ii  xfwm4 [x-window-manager]                     4.10.1-2
ii  xterm [x-terminal-emulator]                  308-1

Versions of packages gdm3 recommends:
ii  at-spi2-core               2.12.0-2
ii  desktop-base               7.0.3
ii  gnome-icon-theme           3.12.0-1
ii  gnome-icon-theme-symbolic  3.12.0-1
ii  x11-xkb-utils              7.7+1
ii  xserver-xephyr             2:1.16.0-1
ii  xserver-xorg               1:7.7+7
ii  zenity                     3.12.1-1

Versions of packages gdm3 suggests:
pn  gnome-orca            <none>
ii  libpam-gnome-keyring  3.8.2-2+b1

-- debconf information:
  gdm3/daemon_name: /usr/sbin/gdm3
* shared/default-x-display-manager: gdm3

--- End Message ---
--- Begin Message ---
Source: gdm3
Source-Version: 3.12.2-4

We believe that the bug you reported is fixed in the latest version of
gdm3, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Laurent Bigonville <[email protected]> (supplier of updated gdm3 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 06 Sep 2014 18:21:52 +0200
Source: gdm3
Binary: gdm3 libgdm1 libgdm-dev gir1.2-gdm3
Architecture: source amd64
Version: 3.12.2-4
Distribution: unstable
Urgency: medium
Maintainer: Debian GNOME Maintainers 
<[email protected]>
Changed-By: Laurent Bigonville <[email protected]>
Description:
 gdm3       - GNOME Display Manager
 gir1.2-gdm3 - GObject introspection data for the GNOME Display Manager
 libgdm-dev - GNOME Display Manager (development files)
 libgdm1    - GNOME Display Manager (shared library)
Closes: 756068 760073
Changes:
 gdm3 (3.12.2-4) unstable; urgency=medium
 .
   * d/p/04_really_dont_block_SIGUSR1.patch: from upstream, Stop masking
     forcibly SIGUSR1, really. (Closes: #756068)
   * Update debian/README.Debian: Stop refering to deprecated programs and
     configuration files (Closes: #760073)
   * debian/rules: Remove duplicate call to dh_systemd_* helpers
   * debian/rules: Pass --as-needed to dh_autoreconf and export "-Wl,-z,defs
     -Wl,-O1 -Wl,--as-needed" to DEB_LDFLAGS_MAINT_APPEND
Checksums-Sha1:
 9c34495cc3c08693a1548ef4dd69fa955b69648f 2901 gdm3_3.12.2-4.dsc
 b38abba0ea8797e3bae7a75acbc9d7b068333d38 87316 gdm3_3.12.2-4.debian.tar.xz
 9743f08131f69c2d943e6dd100c8c423e3ce7b54 611662 gdm3_3.12.2-4_amd64.deb
 97c6c24b2c12ec0897b8818fb5c3a05c5373550c 88782 libgdm1_3.12.2-4_amd64.deb
 20ba85330cabe98e33e6c7d2ad4380bbe20999ab 64338 libgdm-dev_3.12.2-4_amd64.deb
 e647390aeea1a4a2f0a7db98634b1775b265d5a8 54370 gir1.2-gdm3_3.12.2-4_amd64.deb
Checksums-Sha256:
 040a9776085ac89f8ad3c9eb238fb99662aede2d9b08a2b5fa53366da2e01354 2901 
gdm3_3.12.2-4.dsc
 4c235eeb370cdffbd8a3da6213db0f279d04518a2535c6f1a49eb24bd97247ad 87316 
gdm3_3.12.2-4.debian.tar.xz
 1f183b78510f163dc293d898ea47e062785ae25927102d6f930e2deb5da441da 611662 
gdm3_3.12.2-4_amd64.deb
 44ebd7f3f79523002b34e26bf81854e8303a65bc89b35a8dab4505b34802f11d 88782 
libgdm1_3.12.2-4_amd64.deb
 005e72a6dd9b7c8d0e96d5e448d941b82073af216f370634960fdc638331a2d0 64338 
libgdm-dev_3.12.2-4_amd64.deb
 6a8875a145dc0f83f4171f10d96bebbf6106350e74878eb50fb0904fd4499b64 54370 
gir1.2-gdm3_3.12.2-4_amd64.deb
Files:
 62b77d7cd7b32ff296d421d13aebbf87 611662 gnome optional gdm3_3.12.2-4_amd64.deb
 1b90414a8e29e74a0e49065020177f87 88782 libs optional libgdm1_3.12.2-4_amd64.deb
 dccf6eabb5b4726e733631859d45baba 64338 libdevel optional 
libgdm-dev_3.12.2-4_amd64.deb
 4cd821b65b39a1ebd9cd76a9c46b5452 54370 introspection optional 
gir1.2-gdm3_3.12.2-4_amd64.deb
 4f3d7b61f3d0e478b698c72d0388772a 2901 gnome optional gdm3_3.12.2-4.dsc
 7fac61be2e25364ac414b62070366a02 87316 gnome optional 
gdm3_3.12.2-4.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCAAGBQJUCzkCAAoJEB/FiR66sEPVQVAH/0gZ01vlXzSDdjETSjuho3xC
1/BUAecVVGf36kJw+sQ92N6nIwui8AVZGyym+aCrLBxPr/cRAvyNYDlOFGtMggoI
If/088dXLTzoGD6DUNlXqeBmMdtwjlRW6stzB9ajONHHOMypJLBO59SMl8+grhMk
urSWnd5FxIJBFBKkUiyZyiE8Xw/SRoLLWvNhM0UDxhLXdkccOQfvHIZu6r59b/6F
KhTTZCQqXO9TJmZTy841hC8lZMPlNs/L5GdzpU48kaGxt8Xi5fGcrDpmkqH+wIaj
8tRHVDdFqa+nKN0oEf8YbOv36gTqRxOL3UHOHQ8WYCHMEN2fEUQq8qWyOtVS9dk=
=2Hhy
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to