Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2020 - Weird shutdown screen spam?
Summary: Weird shutdown screen spam?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-23 00:04 UTC by Ryan Wehler
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Wehler 2002-04-23 00:04:22 UTC
after emerge --upadate world today, shutdown now spams "root is shutting the 
system down IMMEDIATELY from (vc/X)" a number of times along with some beeps, 
and then shuts down.. it never 'spammed' the screen like this before.. 

even executing halt -idp produces the same thing.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-04-23 17:51:16 UTC
Az: any ideas?
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-04-23 18:02:48 UTC
My bright /var/run/utmpx fix maybe ? Try updating to baselayout-1.7.8-r1,
and make sure that /etc/init.d/bootmisc is updated.  Then reboot and test
again.
Comment 3 Matt Boehlig 2002-04-24 01:35:53 UTC
I also have this problem.  
Top reports 121 users. The command users shows: "root root root root root...".  
When you shutdown it sends the notification to all those roots, so you get a pile of messages at the same time.  
Therefore, this problem is not with the shutdown scripts, but with all those users.
I have not made any more users yet (i tryed superadduser but it didn't work: maybe related to this?) so I don't know if this problem is only with root or with any user.
The who command shows alot of root's logged i, on every virtual console.  The login times show every time i have logged in, from a week ago to now.  There seems to be a bunch of times where a user has logged in 3 times on the same console at the same time.  Is this a race condition that is causing this?  It is logging us in multiple times and never logging out.  This could be a major security concern.  
Here is the output of my w command.  I have logged into 3 different consoles.
  1:30am  up  1:20, 121 users,  load average: 0.01, 0.01, 0.00
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU  WHAT
root     vc/1     -                12:11am  0.00s  0.03s  0.00s  w
root     vc/2     -                12:19am  6.00s  0.56s  0.48s  lynx
root     vc/3     -                12:24am 35:28   0.33s  0.33s  -bash
root     vc/1     -                Mon 4pm  0.00s  0.03s  0.00s  w
root     vc/1     -                12:11am  0.00s  0.03s  0.00s  w
root     vc/2     -                12:19am  6.00s  0.56s  0.48s  lynx
root     vc/3     -                12:24am 35:28   0.33s  0.33s  -bash
Comment 4 Matt Boehlig 2002-04-24 02:52:05 UTC
Resolved by baselayout-1.7.8-r1  You can close it now.
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2002-04-24 18:35:43 UTC
Thanks guys.