[8134] in athena10

home help back first fref pref prev next nref lref last post

Re: [Debathena] #1013: Screen won't redraw when nologin-monitor

daemon@ATHENA.MIT.EDU (Debathena Trac)
Wed Aug 3 23:27:35 2011

MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
From: "Debathena Trac" <debathena@MIT.EDU>
Cc: debathena@mit.edu
To: jdreed@mit.edu
Date: Thu, 04 Aug 2011 03:27:27 -0000
Reply-To: 
Message-ID: <052.f8425ae3b2ed09d42c979fdbc069b6bf@mit.edu>
In-Reply-To: <043.63c96d1b22400b82336c8e15cc100fed@mit.edu>
Content-Transfer-Encoding: 8bit

#1013: Screen won't redraw when nologin-monitor window vanishes--------------------+-------------------------------------------------------
 Reporter:  jdreed  |       Owner:               
     Type:  defect  |      Status:  new          
 Priority:  normal  |   Milestone:  Natty Release
Component:  --      |    Keywords:               
 See_also:          |  
--------------------+-------------------------------------------------------
Comment(by jdreed):
 To clarify, I saw this on m56-129-2 and -3.  Geoff said he might debug and
 try to repro this.  I still can't repro it, but here's my current bad
 idea:

 {{{
 Index: athena-auto-update
 ===================================================================
 --- athena-auto-update  (revision 25339)
 +++ athena-auto-update  (working copy)
 @@ -55,6 +55,20 @@
    fi
  }

 +maybe_kickgdm() {
 +  ttys=$(w -h -s | awk '{print $2}')
 +  for tty in $ttys; do
 +    pids=$(ps --no-heading -j -t "$tty" 2>/dev/null \
 +        | awk '($1 == $3) {print $1}')
 +    if [ -n "$pids" ]; then
 +      return
 +    fi
 +  done
 +  [ -e /var/run/athena-login ] && return
 +  rm -f /var/run/athena-nologin
 +  service gdm restart
 +}
 +
  SKIP_REBOOT="n"
  DEBUG="n"
  VERBOSE="n"
 @@ -351,4 +365,5 @@
  fi

  maybe_reboot
 +maybe_kickgdm
  exit
 }}}
-- Ticket URL: <http://debathena.mit.edu/trac/ticket/1013#comment:1>Debathena <http://debathena.mit.edu/>MIT Debathena Project

home help back first fref pref prev next nref lref last post