About this list Date view Thread view Subject view Author view Attachment view

From: Paul Sladen (vserver_at_paul.sladen.org)
Date: Wed 13 Aug 2003 - 11:18:41 BST


On Tue, 12 Aug 2003, Rus Foster wrote:
> I've got redhat installed but /dev/reboot hasnt been created. How do I
> set it up manually. I can its a socket but not sure where its pointing

It's not actually a device. It's a named pipe created by the `rebootmgr'
daemon in the host server. When `rebootmgr' starts, it creates:

  /vservers/foobar/dev/reboot

and holds that pipe open for the period it is running (and listening for
reboot requests).

-*- -*- -*-

Better long-term solution:

I'm really hoping that somebody can test/update/adapt the `sys_reboot'
stuff I hacked up several months ago so that `rebootmgr' and the client-
side tools can go away for good:

  http://www.paul.sladen.org/vserver/sys_reboot/

The idea is just to hook the kernel's `sys_reboot()' kernel call--normally
called by `shutdown/halt/init'--and instead cause a restart of that
particular vserver, just like rebootmgr currently does (but without having
to install and non-normal tools that aren't already installed).

Help/ideas/eyeballs would be appreciated,

[No Warranty, don't blame me, blah blah]

        -Paul

-- 
War is inconsistent with Truth.  Nottingham, GB


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 13 Aug 2003 - 11:44:33 BST by hypermail 2.1.3