LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-20-2012, 02:28 PM   #1
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Rep: Reputation: 146Reputation: 146
SAK kills all


In Slackware 14 (and also earlier versions of course) the secure attention key (sak) kills too many processes. Is there any plan to repair it?

Code:
[   91.065206] SAK: killed process 1720 (agetty): task_session(p)==tty->session
[   91.065265] SAK: killed process 1503 (console-kit-dae): fd#9 opened to the tty
[   91.065336] SAK: killed process 1506 (console-kit-dae): fd#9 opened to the tty
[   91.065338] SAK: killed process 1508 (console-kit-dae): fd#9 opened to the tty
[   91.065339] SAK: killed process 1509 (console-kit-dae): fd#9 opened to the tty
[   91.065340] SAK: killed process 1510 (console-kit-dae): fd#9 opened to the tty
[   91.065342] SAK: killed process 1511 (console-kit-dae): fd#9 opened to the tty
[   91.065343] SAK: killed process 1512 (console-kit-dae): fd#9 opened to the tty
[   91.065344] SAK: killed process 1514 (console-kit-dae): fd#9 opened to the tty
[   91.065345] SAK: killed process 1515 (console-kit-dae): fd#9 opened to the tty
[   91.065347] SAK: killed process 1516 (console-kit-dae): fd#9 opened to the tty
[   91.065348] SAK: killed process 1517 (console-kit-dae): fd#9 opened to the tty
[   91.065349] SAK: killed process 1518 (console-kit-dae): fd#9 opened to the tty
[   91.065351] SAK: killed process 1519 (console-kit-dae): fd#9 opened to the tty
[   91.065352] SAK: killed process 1520 (console-kit-dae): fd#9 opened to the tty
[   91.065353] SAK: killed process 1521 (console-kit-dae): fd#9 opened to the tty
[   91.065355] SAK: killed process 1522 (console-kit-dae): fd#9 opened to the tty
[   91.065356] SAK: killed process 1523 (console-kit-dae): fd#9 opened to the tty
[   91.065357] SAK: killed process 1524 (console-kit-dae): fd#9 opened to the tty
[   91.065358] SAK: killed process 1525 (console-kit-dae): fd#9 opened to the tty
[   91.065360] SAK: killed process 1526 (console-kit-dae): fd#9 opened to the tty
[   91.065361] SAK: killed process 1527 (console-kit-dae): fd#9 opened to the tty
[   91.065362] SAK: killed process 1528 (console-kit-dae): fd#9 opened to the tty
[   91.065363] SAK: killed process 1529 (console-kit-dae): fd#9 opened to the tty
[   91.065365] SAK: killed process 1530 (console-kit-dae): fd#9 opened to the tty
[   91.065366] SAK: killed process 1531 (console-kit-dae): fd#9 opened to the tty
[   91.065367] SAK: killed process 1532 (console-kit-dae): fd#9 opened to the tty
[   91.065369] SAK: killed process 1533 (console-kit-dae): fd#9 opened to the tty
[   91.065370] SAK: killed process 1534 (console-kit-dae): fd#9 opened to the tty
[   91.065371] SAK: killed process 1535 (console-kit-dae): fd#9 opened to the tty
[   91.065372] SAK: killed process 1536 (console-kit-dae): fd#9 opened to the tty
[   91.065374] SAK: killed process 1537 (console-kit-dae): fd#9 opened to the tty
[   91.065375] SAK: killed process 1538 (console-kit-dae): fd#9 opened to the tty
[   91.065376] SAK: killed process 1539 (console-kit-dae): fd#9 opened to the tty
[   91.065378] SAK: killed process 1540 (console-kit-dae): fd#9 opened to the tty
[   91.065379] SAK: killed process 1541 (console-kit-dae): fd#9 opened to the tty
[   91.065380] SAK: killed process 1542 (console-kit-dae): fd#9 opened to the tty
[   91.065381] SAK: killed process 1543 (console-kit-dae): fd#9 opened to the tty
[   91.065383] SAK: killed process 1544 (console-kit-dae): fd#9 opened to the tty
[   91.065384] SAK: killed process 1545 (console-kit-dae): fd#9 opened to the tty
[   91.065385] SAK: killed process 1546 (console-kit-dae): fd#9 opened to the tty
[   91.065387] SAK: killed process 1547 (console-kit-dae): fd#9 opened to the tty
[   91.065388] SAK: killed process 1548 (console-kit-dae): fd#9 opened to the tty
[   91.065389] SAK: killed process 1549 (console-kit-dae): fd#9 opened to the tty
[   91.065390] SAK: killed process 1550 (console-kit-dae): fd#9 opened to the tty
[   91.065392] SAK: killed process 1551 (console-kit-dae): fd#9 opened to the tty
[   91.065393] SAK: killed process 1552 (console-kit-dae): fd#9 opened to the tty
[   91.065394] SAK: killed process 1553 (console-kit-dae): fd#9 opened to the tty
[   91.065396] SAK: killed process 1554 (console-kit-dae): fd#9 opened to the tty
[   91.065397] SAK: killed process 1555 (console-kit-dae): fd#9 opened to the tty
[   91.065398] SAK: killed process 1556 (console-kit-dae): fd#9 opened to the tty
[   91.065400] SAK: killed process 1557 (console-kit-dae): fd#9 opened to the tty
[   91.065401] SAK: killed process 1558 (console-kit-dae): fd#9 opened to the tty
[   91.065402] SAK: killed process 1559 (console-kit-dae): fd#9 opened to the tty
[   91.065403] SAK: killed process 1560 (console-kit-dae): fd#9 opened to the tty
[   91.065405] SAK: killed process 1561 (console-kit-dae): fd#9 opened to the tty
[   91.065406] SAK: killed process 1562 (console-kit-dae): fd#9 opened to the tty
[   91.065407] SAK: killed process 1563 (console-kit-dae): fd#9 opened to the tty
[   91.065409] SAK: killed process 1564 (console-kit-dae): fd#9 opened to the tty
[   91.065410] SAK: killed process 1565 (console-kit-dae): fd#9 opened to the tty
[   91.065411] SAK: killed process 1566 (console-kit-dae): fd#9 opened to the tty
[   91.065412] SAK: killed process 1567 (console-kit-dae): fd#9 opened to the tty
[   91.065414] SAK: killed process 1568 (console-kit-dae): fd#9 opened to the tty
[   91.065415] SAK: killed process 1572 (gdbus): fd#9 opened to the tty
[   91.065416] SAK: killed process 1748 (gmain): fd#9 opened to the tty
[   91.065417] SAK: killed process 2222 (console-kit-dae): fd#9 opened to the tty
[   91.065434] SAK: killed process 1650 (gpm): fd#0 opened to the tty
[   91.065440] SAK: killed process 1720 (agetty): task_session(p)==tty->session
 
Old 11-22-2012, 01:37 AM   #2
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,028

Rep: Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967
According to Andrew Morton in /usr/src/linux/Documentation/SAK.txt:
Code:
2: On the PC keyboard, SAK kills all applications which have
   /dev/console opened.

   Unfortunately this includes a number of things which you don't
   actually want killed.  This is because these applications are
   incorrectly holding /dev/console open.  Be sure to complain to your
   Linux distributor about this!

   You can identify processes which will be killed by SAK with the
   command

    # ls -l /proc/[0-9]*/fd/* | grep console

Last edited by Didier Spaier; 11-22-2012 at 08:06 AM. Reason: Typo corrected
 
Old 11-22-2012, 03:41 AM   #3
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Original Poster
Rep: Reputation: 146Reputation: 146
Quote:
Originally Posted by Didier Spaier View Post
According to Andrew Morton in /usr/src/linux/documentation/SAK.txt:
Code:
...  Be sure to complain to your
   Linux distributor about this!
...
Yes I did and am and probably will.
 
Old 11-22-2012, 05:56 AM   #4
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,379

Rep: Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824
When I look at my system, the only proceses that would be killed by SAK would be gpm and console-kit-daemon. Is that really too many processes?
 
Old 11-22-2012, 07:44 AM   #5
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Original Poster
Rep: Reputation: 146Reputation: 146
Quote:
Originally Posted by allend View Post
When I look at my system, the only proceses that would be killed by SAK would be gpm and console-kit-daemon. Is that really too many processes?
Sorry I forgot to mark process with red color so that it could not get confused with program.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Picasa kills X! R_Shackleford Slackware 2 12-01-2007 09:22 AM
Karma Kills....!! Hitboxx General 2 07-11-2007 07:21 PM
e1000 kills me gyrus Linux - Hardware 7 11-16-2006 08:26 PM
OS/2 kills Suse redoaks Suse/Novell 5 10-11-2006 06:16 AM
10.1 - log out kills X Esenthiel Mandriva 6 10-04-2004 10:40 AM


All times are GMT -5. The time now is 11:56 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration