#111 clusternode_shutdown of other node kills (x)terminals

v1.9.1
closed-accepted
nobody
3
2006-04-21
2006-02-20
No

OpenSSI 1.9.1 on Debian Sarge:

a clusternode_shutdown for some other node kills
reproducibly the terminals (xterm, gnome-terminal) in
my running X-session.

(Could the umount/umount2 of /cluster/dev/pts during
the shutdown-process be the reason?)

Discussion

  • Robert Wachinger

    Logged In: YES
    user_id=1456044

    additional note: a clusternode_shutdown of a dependent
    node does really seem to umount /cluster/dev/pts (on the
    still running initnode). After that e.g. an ssh-session
    from outside the cluster does not get a terminal ...

    I don't believe, that this should be ok.
    There could be some error in /etc/init.d/umountfs
    and /etc/init.d/umountfs.node???
    Does a newer description of the things, that happen and
    shall happen during boot/shutdown, than the design paper
    from 2003 exist?

     
  • Robert Wachinger

    • priority: 5 --> 3
     
  • Robert Wachinger

    Logged In: YES
    user_id=1456044

    Adding devpts to the function halt_get_remaining in
    /etc/init.d/umountfs.node, like that:

    halt_get_remaining() {
    grep -v '^[0-9a-f]* ' /proc/mounts | awk '$2 ~
    /^\/$|^\/proc|^\/dev/{next}
    $3 == "tmpfs" || $3 == "proc" {print $2 ; next}

    /(^#|nfs|loopfs|autofs|devfs|devpts|^none|^\/dev\/root)/ {next}
    {print $2}'
    }

    worked for me.
    Anybody there to review that correction and bring it into CVS?

    Regards, Robert

     
  • Brian J. Watson

    Brian J. Watson - 2006-02-23

    Logged In: YES
    user_id=16302

    Hi Robert,

    Could you send this as a patch to ssic-linux-devel? It would
    be easier to review as a patch file. Feel free to reference
    this bug number.

    Brian

     
  • Roger Tsang

    Roger Tsang - 2006-04-21

    Logged In: YES
    user_id=1246761

    Checked-in patch.

     
  • Roger Tsang

    Roger Tsang - 2006-04-21
    • status: open --> closed-accepted
     

Log in to post a comment.