[Bug 2027] New: xinit should handle SIGTERM similar to SIGINT

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 7 02:41:30 PST 2004


Please do not reply to this email: if you want to comment on the bug, go to          
the URL shown below and enter yourcomments there.   
 
https://bugs.freedesktop.org/show_bug.cgi?id=2027        
   
           Summary: xinit should handle SIGTERM similar to SIGINT
           Product: xorg
           Version: 6.7.0
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: App/other
        AssignedTo: xorg-bugzilla-noise at freedesktop.org
        ReportedBy: luik at orthogon.de


xinit properly handles SIGINT, as well as SIGQUIT and SIGHUP.
Unfortunately, it does not handle SIGTERM, but it should.
Reason: I use xinit in /etc/inittab to automatically start an
X Server in run-level 4.  This works fine.  If I switch to
run-level 3 (telinit 3), init sends SIGTERM to xinit.  xinit
terminates, but does not kill the X Server (or any clients it
started).  So right now, the X server continues to run in level 3.
The correct behaviour would be xinit to catch SIGTERM, and shutdown
the X Server and clients.        
   
   
--         
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email       
   
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-bugzilla-noise mailing list