Package: runit
Version: 1.7.2-1
Severity: wishlist

Hi,

it would be great to be able to use runit to supervise processes running in
vserver guests.

Using a kludge, this is already sort of possible; see
http://linux-vserver.org/Running_runit-supervised_services_inside_a_vserver

Essentially, the only addition needed is to do something like

xid_t xid = vc_get_task_xid(child);
vc_ctx_kill(xid, child, signal);

instead of just kill(), provided vserver support is enabled in runit and the
kernel.

See http://people.linux-vserver.org/~dhozac/t/signal-relay.c which is the
kludge program to enable runit to control processes in vserver guests.

I guess this support needs to be a compile-time option to avoid creating
unnecessary dependencies.

Thanks

Andras

-- System Information:
Debian Release: 4.0
  APT prefers feisty-updates
  APT policy: (1200, 'feisty-updates'), (1200, 'feisty-security'), (1200, 
'feisty-backports'), (1200, 'feisty'), (100, 'experimental'), (100, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20.13-vs2.2.0-chardonnay
Locale: LANG=, LC_CTYPE=hu_HU (charmap=ISO-8859-2)

runit depends on no packages.

Versions of packages runit recommends:
pn  fgetty                        <none>     (no description available)

-- no debconf information

-- 
                 Andras Korn <korn at chardonnay.math.bme.hu>
                 <http://chardonnay.math.bme.hu/~korn/> QOTD:
                A stitch in time would have confused Einstein.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to