Your message dated Wed, 19 Oct 2016 19:28:58 +0000
with message-id <[email protected]>
and subject line Bug#823460: fixed in lightdm 1.18.2-3
has caused the Debian Bug report #823460,
regarding lightdm: SIGPIPE ignored in session
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.)


-- 
823460: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823460
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lightdm
Version: 1.18.1-1
Severity: serious


I have just discovered that my entire X session is running with
SIGPIPE ignored.  I think this is the fault of lightdm - see below.

All Unix programs are entitled to assume that they start with
reasonable signal dispositions, which (with a few exceptions) means
everything set to SIG_DFL.  I have marked this bug "serious" on the
grounds that I think this is a release-critical bug.


More details:

In an xterm:

zealot:~> perl -e 'print $SIG{PIPE},"\n"'
IGNORE
zealot:~>


By grepping /proc I have discovered this:


* Several processes spawned directly from init (including secnet, a
  program of which I am the maintainer, which does not mess with
  SIGPIPE) do not have SIGPIPE ignored:

root(ian)@zealot:~> for f in `pidof secnet`; do grep SigIgn /proc/$f/status; 
done
SigIgn: 0000000000000002
SigIgn: 0000000000000002
root(ian)@zealot:~>

So I don't think init (sysvinit, in my case) is responsible.


* lightdm has SIGPIPE ignored:

root(ian)@zealot:~> for f in `pidof lightdm`; do grep SigIgn /proc/$f/status; 
done
SigIgn: 0000000000001000
SigIgn: 0000000000001000
root(ian)@zealot:~>

lightdm is of course entitled to run with whatever SIGPIPE disposition
it likes, but this is suggestive.



* My .xsession script has SIGPIPE ignored:

root      4144  3371  0 11:24 ?        00:00:00     lightdm --session-child 13 
22
ian       4154  4144  0 11:24 ?        00:00:00       /bin/bash 
/home/ian/.xsession

root(ian)@zealot:~> grep SigIgn /proc/4154/status 
SigIgn: 0000000000001004
root(ian)@zealot:~>

My .xsession script is fairly complicated but does not mention PIPE,
and hasn't changed since Decmeber; on another machine running jessie
and gdm it has SIGPIPE set to DFL.

So this isn't something my .xsession script has done.

I have a .dmrc containing this:

[Desktop]
Language=en_GB.utf8
Layout=gb
Session=lightdm-xsession



The bad SIGPIPE disposition is inherited by the primary xterm which my
xsession runs, and its children including my main session script, my
window manager, all my xterms, etc.


Thanks for your attention.

Ian.



-8<- ~/.xession -8<-
#!/bin/bash

exec >>.configs/xsession-errors 2>&1
echo xsession running

. .configs/setenvir

rm .configs/mini-desktop-window-id

eval `.configs/configure`

set

if [ -x .configs/xmodmap-kb=$kb ]
then
        .configs/xmodmap-kb=$kb | xmodmap -
else
        xmodmap .configs/xmodmap-kb=$kb
fi

xrdb -merge .configs/Xresources
xrdb -merge .configs/Xresources-colours=$colours
xrdb -merge .configs/Xresources-font=$font
xrdb -merge .configs/Xresources-size=$size

xset b off

${lxtermpath}xterm -C $lxtermopts -T "login" -e .configs/xprofile
echo xterm done logging out again
rm .configs/xsession-errors
.configs/eliforp
-8<-


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

Kernel: Linux 4.5.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.utf-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages lightdm depends on:
ii  adduser                                3.114
ii  dbus                                   1.10.8-1
ii  debconf [debconf-2.0]                  1.5.59
ii  libaudit1                              1:2.4.5-1+b1
ii  libc6                                  2.22-7
ii  libgcrypt20                            1.7.0-2
ii  libglib2.0-0                           2.48.0-1
ii  libpam-systemd                         229-5
ii  libpam0g                               1.1.8-3.2
ii  libxcb1                                1.11.1-1
ii  libxdmcp6                              1:1.1.2-1.1
ii  lightdm-gtk-greeter [lightdm-greeter]  2.0.1-2

Versions of packages lightdm recommends:
ii  xserver-xorg  1:7.7+15

Versions of packages lightdm suggests:
pn  accountsservice  <none>
ii  upower           0.99.4-2

-- Configuration Files:
/etc/lightdm/lightdm.conf changed:
[LightDM]
[Seat:*]
xserver-command=X -retro
[XDMCPServer]
[VNCServer]


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

--- End Message ---
--- Begin Message ---
Source: lightdm
Source-Version: 1.18.2-3

We believe that the bug you reported is fixed in the latest version of
lightdm, 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.
Yves-Alexis Perez <[email protected]> (supplier of updated lightdm 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: SHA512

Format: 1.8
Date: Wed, 19 Oct 2016 20:56:07 +0200
Source: lightdm
Binary: lightdm lightdm-vala liblightdm-gobject-1-0 liblightdm-qt-3-0 
liblightdm-gobject-dev liblightdm-qt-dev gir1.2-lightdm-1
Architecture: source
Version: 1.18.2-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Xfce Maintainers <[email protected]>
Changed-By: Yves-Alexis Perez <[email protected]>
Description:
 gir1.2-lightdm-1 - Typelib file for liblightdm-1
 liblightdm-gobject-1-0 - simple display manager (gobject library)
 liblightdm-gobject-dev - simple display manager (gobject development files)
 liblightdm-qt-3-0 - simple display manager (Qt library)
 liblightdm-qt-dev - simple display manager (Qt development files)
 lightdm    - simple display manager
 lightdm-vala - simple display manager (Vala files)
Closes: 823460 831298
Changes:
 lightdm (1.18.2-3) unstable; urgency=medium
 .
   * debian/control:
     - add Suggests on xserver-xephyr.                           closes: #831298
   * debian/patches:
     - 08_reset-SIGPIPE-before-exec added, ignore SIGPIPE during LightDM life
       but reset it before exec()ing children.                   closes: #823460
Checksums-Sha1:
 5a76eacb05530f3f38e1723d051e752bb11658a6 2401 lightdm_1.18.2-3.dsc
 d9d34abe7fbd4b0e894a14ea62d2f0a00f21d20c 36940 lightdm_1.18.2-3.debian.tar.xz
Checksums-Sha256:
 e782b2f20eff662174af546db235893cf9b6dbf5b3dbeae8dc4804a5b49a34bc 2401 
lightdm_1.18.2-3.dsc
 c16129a151f846bc0a36872e742166af6b101b30571dc815a09096d95f3d2c1b 36940 
lightdm_1.18.2-3.debian.tar.xz
Files:
 53473aa8013e4fefb016c0238efe38a9 2401 x11 optional lightdm_1.18.2-3.dsc
 0cc5ed63998b1f0cae2708ba7d1c723b 36940 x11 optional 
lightdm_1.18.2-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQEcBAEBCgAGBQJYB8YPAAoJEG3bU/KmdcClXtAIAKafqINCLjDt+afrHq0Racih
axcLshC4sEpthCZLBTIVJpzREX4m3fC2ym6UBS6vgE8u/enxdeVXoSVNneM/t/JR
nKn3WSPHaoi85eYMtU/76h/D7RWJJQuyOgeI0GLDpp8QUKG/OHARF9y2XJxw661G
WZZlvbHqtXY0oCpPc9mk9TaHn+xRaDdsh9vdByDDwQcIPVpk94OfMC15rE+lOtUj
jYN35F+ksQVHSXBPh10uYh1H1qtQeyhtzOaE63+NvfMGYFDiXuxYUuAVFSujAz54
GY4m63R0JhQyUTdpxsKg4vtNpqGcnSfMR0AoI4OF2fBpShILbyGjaYt3xFPZ/gU=
=JxGC
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Pkg-xfce-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-xfce-devel

Reply via email to