Bug#756068: gdm3 blocks SIGUSR1 for all applications

Colomban Wendling lists.ban at herbesfolles.org
Mon Sep 1 00:11:04 UTC 2014


Package: gdm3
Version: 3.12.2-2.1
Followup-For: Bug #756068

Dear maintainer,

I'm afraid I still suffer from this bug even with version 3.12.2-2.1.
The upstream patch did not actually fix teh issue, as it only removed
the SIGUSR1 handler (which I'm not even sure is useful) but failed to
reset the signal mask.
See https://bugzilla.gnome.org/show_bug.cgi?id=731228#c7
Rebuilding the gdm3 package with this patch added fixed the issue for
me.

To ease checking SIGUSR1 is properly unmasked in the launched session,
above is a small C program that should output "is SIGUSR1 blocked? no".

> /* gcc -o sigusr1check sigusr1check.c */
>
> #define _POSIX_C_SOURCE 1
>
> #include <stdio.h>
> #include <signal.h>
>
> int main(void)
> {
>   sigset_t set;
>
>   if (sigprocmask(0, NULL, &set) != 0)
>     perror("sigprocmask()");
>   else
>     fprintf(stderr, "is SIGUSR1 blocked? %s\n",
>             sigismember(&set, SIGUSR1) ? "yes" : "no");
>
>   return 0;
> }


Regards,
Colomban

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

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

Versions of packages gdm3 depends on:
ii  accountsservice                              0.6.37-3
ii  adduser                                      3.113+nmu3
ii  cinnamon [x-window-manager]                  2.2.16-2
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.1
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.1-1
ii  gnome-settings-daemon                        3.12.2-1+b1
ii  gnome-shell                                  3.12.2-3
ii  gnome-terminal [x-terminal-emulator]         3.12.3-2
ii  gsettings-desktop-schemas                    3.12.2-1
ii  libaccountsservice0                          0.6.37-3
ii  libaudit1                                    1:2.3.7-1
ii  libc6                                        2.19-10
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.1
ii  libglib2.0-0                                 2.40.0-5
ii  libglib2.0-bin                               2.40.0-5
ii  libgtk-3-0                                   3.12.2-3+b1
ii  libpam-modules                               1.1.8-3.1
ii  libpam-runtime                               1.1.8-3.1
ii  libpam-systemd                               208-8
ii  libpam0g                                     1.1.8-3.1
ii  librsvg2-common                              2.40.3-1
ii  libselinux1                                  2.3-2
ii  libsystemd-daemon0                           208-8
ii  libsystemd-journal0                          208-8
ii  libsystemd-login0                            208-8
ii  libwrap0                                     7.6.q-25
ii  libx11-6                                     2:1.6.2-3
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  marco [x-window-manager]                     1.8.1+dfsg1-1
ii  mate-session-manager [x-session-manager]     1.8.1-4
ii  mate-terminal [x-terminal-emulator]          1.8.0+dfsg1-3
ii  metacity [x-window-manager]                  1:3.12.0-2
ii  mutter [x-window-manager]                    3.12.2-2+b1
ii  openbox [x-window-manager]                   3.5.2-7
ii  policykit-1                                  0.105-6.1
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-8
ii  xfce4-terminal [x-terminal-emulator]         0.6.3-1
ii  xfwm4 [x-window-manager]                     4.10.1-2
ii  xterm [x-terminal-emulator]                  310-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.1

Versions of packages gdm3 suggests:
ii  gnome-orca            3.12.2-1
ii  libpam-gnome-keyring  3.12.2-1

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



More information about the pkg-gnome-maintainers mailing list