Debian Bug report logs - #781246
desktop item launcher is flawed

version graph

Package: src:mate-desktop; Maintainer for src:mate-desktop is Debian+Ubuntu MATE Packaging Team <debian-mate@lists.debian.org>;

Affects: mate-control-center

Reported by: Vlad Orlov <monsta@inbox.ru>

Date: Thu, 26 Mar 2015 13:33:12 UTC

Severity: normal

Tags: jessie, sid, stretch

Found in version mate-desktop/1.8.1+dfsg1-2

Fixed in version mate-desktop/1.8.1+dfsg1-3

Done: Mike Gabriel <sunweaver@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, MATE Packaging Team <pkg-mate-team@lists.alioth.debian.org>:
Bug#781246; Package src:mate-desktop. (Thu, 26 Mar 2015 13:33:16 GMT) (full text, mbox, link).


Acknowledgement sent to Vlad Orlov <monsta@inbox.ru>:
New Bug report received and forwarded. Copy sent to MATE Packaging Team <pkg-mate-team@lists.alioth.debian.org>. (Thu, 26 Mar 2015 13:33:16 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Vlad Orlov <monsta@inbox.ru>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: desktop item launcher is flawed
Date: Thu, 26 Mar 2015 16:32:30 +0300
Source: mate-desktop
Version: 1.8.1+dfsg1-2
Severity: normal

As stated in GLib docs [1], running g_spawn_async with
G_SPAWN_DO_NOT_REAP_CHILD flag requires adding
a child watch function like g_child_watch_add afterwards
to prevent the child from becoming a zombie.

Current desktop item launcher does not do that. It even
ignores the child PID completely, regardless of the result
of the function call.

The upstream pull request [2] fixes the issue.


[1] https://developer.gnome.org/glib/stable/glib-Spawning-Processes.html#GSpawnFlags
[2] https://github.com/mate-desktop/mate-desktop/pull/167

Added tag(s) sid and jessie. Request was from Vlad Orlov <monsta@inbox.ru> to control@bugs.debian.org. (Thu, 26 Mar 2015 13:39:11 GMT) (full text, mbox, link).


Added indication that bug 781246 blocks 781247 Request was from Vlad Orlov <monsta@inbox.ru> to control@bugs.debian.org. (Thu, 26 Mar 2015 13:45:13 GMT) (full text, mbox, link).


Added indication that 781246 affects mate-control-center Request was from Vlad Orlov <monsta@inbox.ru> to control@bugs.debian.org. (Thu, 26 Mar 2015 13:45:14 GMT) (full text, mbox, link).


Added tag(s) pending. Request was from Mike Gabriel <mike.gabriel@das-netzwerkteam.de> to control@bugs.debian.org. (Mon, 06 Apr 2015 08:33:04 GMT) (full text, mbox, link).


Message sent on to Vlad Orlov <monsta@inbox.ru>:
Bug#781246. (Mon, 06 Apr 2015 08:33:08 GMT) (full text, mbox, link).


Message #16 received at 781246-submitter@bugs.debian.org (full text, mbox, reply):

From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: 781246-submitter@bugs.debian.org
Subject: Bug#781246 marked as pending
Date: Mon, 06 Apr 2015 08:31:56 +0000
tag 781246 pending
thanks

Hello,

Bug #781246 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

    http://git.debian.org/?p=pkg-mate/mate-desktop.git;a=commitdiff;h=3110f68

---
commit 3110f689072cda70bb74a0bed3b4715eb6adc06d
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Date:   Sat Mar 28 14:53:53 2015 +0100

    upload to unstable (debian/1.8.1+dfsg1-3)

diff --git a/debian/changelog b/debian/changelog
index 405f4ba..526e2c7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+mate-desktop (1.8.1+dfsg1-3) unstable; urgency=medium
+
+  [ Mike Gabriel ]
+  * debian/patches:
+    + Add 0001_fix-pkexec-calls-in-desktop-launcher.patch. In
+      mate-desktop-item.c: Add a child watch if "do not reap child" flag is set.
+      This avoids double forking with desktop files that have "exec pkexec ..."
+      inside. (Closes: #781246).
+
+ -- Mike Gabriel <sunweaver@debian.org>  Sat, 28 Mar 2015 14:53:31 +0100
+
 mate-desktop (1.8.1+dfsg1-2) unstable; urgency=medium
 
   [ Vangelis Mouhtsis ]



Reply sent to Mike Gabriel <sunweaver@debian.org>:
You have taken responsibility. (Mon, 06 Apr 2015 09:42:19 GMT) (full text, mbox, link).


Notification sent to Vlad Orlov <monsta@inbox.ru>:
Bug acknowledged by developer. (Mon, 06 Apr 2015 09:42:19 GMT) (full text, mbox, link).


Message #21 received at 781246-close@bugs.debian.org (full text, mbox, reply):

From: Mike Gabriel <sunweaver@debian.org>
To: 781246-close@bugs.debian.org
Subject: Bug#781246: fixed in mate-desktop 1.8.1+dfsg1-3
Date: Mon, 06 Apr 2015 09:40:04 +0000
Source: mate-desktop
Source-Version: 1.8.1+dfsg1-3

We believe that the bug you reported is fixed in the latest version of
mate-desktop, 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 781246@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mike Gabriel <sunweaver@debian.org> (supplier of updated mate-desktop 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Sat, 28 Mar 2015 14:53:31 +0100
Source: mate-desktop
Binary: mate-desktop mate-desktop-common libmate-desktop-2-17 libmate-desktop-dev libmate-desktop-doc mate-desktop-dbg libmate-desktop-2-17-dbg
Architecture: source amd64 all
Version: 1.8.1+dfsg1-3
Distribution: unstable
Urgency: medium
Maintainer: MATE Packaging Team <pkg-mate-team@lists.alioth.debian.org>
Changed-By: Mike Gabriel <sunweaver@debian.org>
Description:
 libmate-desktop-2-17 - Library with common API for various MATE modules (library)
 libmate-desktop-2-17-dbg - Library with common API for various MATE modules (library debuggi
 libmate-desktop-dev - Library with common API for various MATE modules (development fil
 libmate-desktop-doc - Library with common API for various MATE modules (documentation f
 mate-desktop - Library with common API for various MATE modules
 mate-desktop-common - Library with common API for various MATE modules (common files)
 mate-desktop-dbg - Library with common API for various MATE modules (debugging symbo
Closes: 781246
Changes:
 mate-desktop (1.8.1+dfsg1-3) unstable; urgency=medium
 .
   [ Mike Gabriel ]
   * debian/patches:
     + Add 0001_fix-pkexec-calls-in-desktop-launcher.patch. In
       mate-desktop-item.c: Add a child watch if "do not reap child" flag is set.
       This avoids double forking with desktop files that have "exec pkexec ..."
       inside. (Closes: #781246).
Checksums-Sha1:
 b6c12c4a593b0a4af979ebe6b68b8d898d49d1ad 2767 mate-desktop_1.8.1+dfsg1-3.dsc
 76615b1c7217587d3cd676ab5c318c422060a8c7 8904 mate-desktop_1.8.1+dfsg1-3.debian.tar.xz
 463ab962dc3530d40fa8a561a6b373c07be84dc8 20362 mate-desktop_1.8.1+dfsg1-3_amd64.deb
 7af351053af93052f69f85f838f6c6963df24675 230598 mate-desktop-common_1.8.1+dfsg1-3_all.deb
 14497ead833c42a3d500bb22e975290b530dceae 70470 libmate-desktop-2-17_1.8.1+dfsg1-3_amd64.deb
 385ee521b6e76556b6755c193c79f66c3120b76f 14620 libmate-desktop-dev_1.8.1+dfsg1-3_amd64.deb
 aa415f3181350270031d2b082e44b723d03a9d2e 31500 libmate-desktop-doc_1.8.1+dfsg1-3_all.deb
 cdccc44051bc6a16cf4503dfb3492a375a3ba4ed 16164 mate-desktop-dbg_1.8.1+dfsg1-3_amd64.deb
 357530daab15c615294a1dbe1579f43a73eaa767 219320 libmate-desktop-2-17-dbg_1.8.1+dfsg1-3_amd64.deb
Checksums-Sha256:
 0c2c8f6abd694eac87e12ed13e6c03a07ca1e688c1d60d44c938ea2e04eb9d30 2767 mate-desktop_1.8.1+dfsg1-3.dsc
 a4ea57e0463537daf2cc985b969b1f60ade154a75556faa8a9fc4a0b51bca71e 8904 mate-desktop_1.8.1+dfsg1-3.debian.tar.xz
 a841176434d5ac635fa07eb7e5231eb4273f900c85602d8fd3b5ff8df8c03ca6 20362 mate-desktop_1.8.1+dfsg1-3_amd64.deb
 2808deac29d35f68d7c9af63a84c6ee7c24eedc4f2370fd2aa99ab8ca2837aa4 230598 mate-desktop-common_1.8.1+dfsg1-3_all.deb
 3d4e262585e0c1d42d0b885554b70fcac22fdf4d30e753c258d6d82c2f3e490e 70470 libmate-desktop-2-17_1.8.1+dfsg1-3_amd64.deb
 6cea17640af3aa21b51b053970d2881d6ce36ee2e174cde30a589ed3740ab780 14620 libmate-desktop-dev_1.8.1+dfsg1-3_amd64.deb
 edc69def7f1899ede502db8c6118a89ad24e2a5803eb093994328d782bd12a2b 31500 libmate-desktop-doc_1.8.1+dfsg1-3_all.deb
 d05d50e13e809bf645cbcdb2215f955eaf0dd3ed23aad2ec5727b348ded9ae4f 16164 mate-desktop-dbg_1.8.1+dfsg1-3_amd64.deb
 05cd65d69a5ce388d20b7e93b564d4d6ffe1271fd149a40a01b5838d48cc71f7 219320 libmate-desktop-2-17-dbg_1.8.1+dfsg1-3_amd64.deb
Files:
 b1b4a87fcf9d34da5dccb80c7cb964db 2767 x11 optional mate-desktop_1.8.1+dfsg1-3.dsc
 137f0126a25fa592c61a0bab9fbfb205 8904 x11 optional mate-desktop_1.8.1+dfsg1-3.debian.tar.xz
 194db37125f95d48c654350c18d0324a 20362 x11 optional mate-desktop_1.8.1+dfsg1-3_amd64.deb
 ef82c60d0fd2c7fc22c32d13d264c12f 230598 x11 optional mate-desktop-common_1.8.1+dfsg1-3_all.deb
 780c1afb38e30da4e4ecb48566373077 70470 x11 optional libmate-desktop-2-17_1.8.1+dfsg1-3_amd64.deb
 72fc60f02384ec81cc539888bac6ac20 14620 libdevel optional libmate-desktop-dev_1.8.1+dfsg1-3_amd64.deb
 38a71cf5bc6452ea9804ca212f702b57 31500 doc optional libmate-desktop-doc_1.8.1+dfsg1-3_all.deb
 4edf2b5baf55e150e98c1b613dc011d0 16164 debug extra mate-desktop-dbg_1.8.1+dfsg1-3_amd64.deb
 4aed6a15b6436c603f40da511a975b5b 219320 debug extra libmate-desktop-2-17-dbg_1.8.1+dfsg1-3_amd64.deb

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

iQIcBAEBCAAGBQJVIkLnAAoJEJr0azAldxsxfKUQAIFsExnTLUZOUbyrvf6w7taS
BUgAHHo2iig2PARXflRcOH4xtxy4qV6RtPb0IbyChsKD8iFmayIuoFsXcXBRFfl3
aHPr1tik+wwDLe0Om3XbQHxb4XAb+6rOWCVfi1xcIQMRfJcIpg0AfGA8xKGDleSX
L0B24gzHvk/2fRWoBgjSgZ3BOv3Ig7K3/U/QWpraRbbYK96sA+GBpiRHdpJ31VEd
+V0Q2Ol3EPBV4iwMph3uvlRLcV+b8rqBQt8y69L5mpIOZ38MLwWu1PwbKZvLVRpn
K53s5qMxgTNwuKaYDX5OZtOBMQoF6bCyPBAGFoyozux6CqplrjFKscxcmexsUxuH
vsU3NoqdthqMBpvMdIH+74+kTTegTnzm4bDDQh9oR8aD7lhbNSQkQ9ZexQt32iB7
kekcVUTs+nyra337WDeyOwLTkIWInKn8TQz7FHDlK38P5Skq+TYq4YnTu9QzaSP+
9jNTNMHVUN+xcNW+9Cs/1WsRattG/MzOibZp5UK+60KOWbiKveiBYHduMTLqN3T3
7tdgrPOXwWzujSOemR8EW+KdgD+Ff5NUMsRG0T/ZSrrK86LwXtPIhRtjo6xwlSTW
Mdb2DNX36RLLhPYQCSHji14FxJr9GyUO12cGCqxcage9JLGLEoc07KVVykHd5MCd
bEQL5br9xkS2+A04o2Qn
=9bGi
-----END PGP SIGNATURE-----




Added tag(s) stretch. Request was from Ivo De Decker <ivodd@debian.org> to control@bugs.debian.org. (Tue, 28 Apr 2015 17:20:36 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 27 May 2015 07:28:32 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 15 04:30:32 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.