Bug 23977 - dbus-launch --exit-with-session not killing dbus-daemon on SIGINT
Summary: dbus-launch --exit-with-session not killing dbus-daemon on SIGINT
Status: RESOLVED FIXED
Alias: None
Product: dbus
Classification: Unclassified
Component: core (show other bugs)
Version: 1.2.x
Hardware: All All
: medium normal
Assignee: Havoc Pennington
QA Contact: John (J5) Palmieri
URL:
Whiteboard:
Keywords: patch
: 10022 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-16 10:10 UTC by Sascha Silbe
Modified: 2011-02-28 09:21 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dbus-launch: handle SIGINT the same as SIGTERM (585 bytes, patch)
2009-09-16 10:10 UTC, Sascha Silbe
Details | Splinter Review

Description Sascha Silbe 2009-09-16 10:10:55 UTC
Created attachment 29600 [details] [review]
dbus-launch: handle SIGINT the same as SIGTERM

If dbus-launch --exit-with-session encounters SIGINT (e.g. because the parent process was aborted with Ctrl-C), it exits without killing dbus-daemon:

Process 3301 attached - interrupt to quit
select(6, [0 5], NULL, [0 5], NULL)     = ? ERESTARTNOHAND (To be restarted)
--- SIGINT (Interrupt) @ 0 (0) ---
Process 3301 detached
Comment 1 Colin Walters 2009-10-16 13:02:35 UTC
commit 9b2c196ef36260ef455f0746f003aec6ffe6ff4c
Author: Sascha Silbe <sascha-web-bugs.freedesktop.org@silbe.org>
Date:   Fri Oct 16 15:20:43 2009 -0400

    Bug 23977 - dbus-launch --exit-with-session not killing dbus-daemon on SIGINT
    
    Handle SIGINT in the same way we handle SIGTERM.
Comment 2 Simon McVittie 2011-02-28 09:21:08 UTC
*** Bug 10022 has been marked as a duplicate of this bug. ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.