Re: [vserver] kill -9 1 doesn't work?

From: Wilhelm <wilhelm.meier_at_fh-kl.de>
Date: Tue 04 Sep 2012 - 07:39:25 BST
Message-ID: <5045A21D.2060401@fh-kl.de>

Am 03.09.2012 21:28, schrieb Herbert Poetzl:
> On Fri, Aug 31, 2012 at 09:19:52AM +0200, Wilhelm wrote:
>> Hi all,
>
>> as a last resort to stop upstart-based vserver it tries to modifiy
>> sendsigs to issue a
>
>> kill -9 1
>
>> But this doesn't work from inside a vserver.
>> From host a vkill ... is ok.
>> Looks like the syscall is somehow redirected.
>
> kernel, patch and util-vserver version?

root@kmux-host:~# vserver-info
Versions:
                    Kernel: 3.4.5-030405-kmux-pae
                    VS-API: 0x00020308
                       VCI: 0x0000000013001f01
              util-vserver: 0.30.216-pre3004; Aug 30 2012, 14:00:04

Features:
                        CC: gcc, gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
                  CPPFLAGS: ''
                    CFLAGS: '-g -O2 -std=c99 -Wall -pedantic -W
-funit-at-a-time'
                build/host: i686-pc-linux-gnu/i686-pc-linux-gnu
              Use dietlibc: yes
        Build C++ programs:
        Build C99 programs: yes
            Available APIs: v13,net,v21,v22,v23,netv2
             ext2fs Source: e2fsprogs
     syscall(2) invocation: alternative
       vserver(2) syscall#: 273/glibc
                crypto api: nss
           python bindings: yes
    use library versioning: yes

Paths:
                    prefix: /usr
         sysconf-Directory: /etc
             cfg-Directory: /etc/vservers
          initrd-Directory: $(sysconfdir)/init.d
        pkgstate-Directory: ${prefix}/var/run/vservers
           vserver-Rootdir: /vservers

Assumed 'SYSINFO' as no other option given; try '--help' for more
information.
root@kmux-host:~#

> and what config has the guest regarding init?

plain

>
>> Any hints to enable this?
>
> really depends on the kernel implementation,
> but usually you need to override checks in
> kill_something_info()
>
> HTH,
> Herbert
>
>> --
>> Wilhelm

-- 
Wilhelm
Received on Tue Sep 4 07:39:34 2012
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 04 Sep 2012 - 07:39:34 BST by hypermail 2.1.8