Subject: Re: [vserver] Linux VServer and Upstart on Ubuntu 10.04
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Fri, 25 Jun 2010 19:34:13 +0200

On Fri, Jun 25, 2010 at 09:35:54AM +0200, mail@cryptronic.de wrote:
> Hi all,

> i have a strange issue with upstart in lv.

> Following situation:

> I followed the guide at: http://www.linux-vserver.org/Upstart_issues

> After that the guest starts just right with all services.

> If i'm going to stop the guest, all processes are terminating, but not
> init and sshd:

make sure the ctrl-alt-del action is working properly
and ist configured for the guest

(https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/59398)


> ----------------------------------------------------------------------
> 13663  43 test       ?        Ss     0:00 /usr/sbin/sshd
> 13501  43 test       ?        Ss     0:00 /sbin/init
> 13501  43 test       ?        Ss     0:00 /sbin/init
> ----------------------------------------------------------------------

> Also i cannot stop ssh from inside the guest with "stop ssh", "stop
> mysql" for example is just working as expected.

> Does anyone habe a working Ubuntu configuration and may share the
> config files for upstart and the guest?

probably, but what does the upstart log say?

best,
Herbert

> # vserver-info
> Versions:
>                    Kernel: 2.6.33.2-vs2.3.0.36.30.4
>                    VS-API: 0x00020305
>              util-vserver: 0.30.216-pre2883; Apr  4 2010, 19:57:41
> 
> Features:
>                        CC: gcc, gcc (Debian 4.3.2-1.1) 4.3.2
>                       CXX: g++, g++ (Debian 4.3.2-1.1) 4.3.2
>                  CPPFLAGS: ''
>                    CFLAGS: '-Wall -g  -O2 -std=c99 -Wall -pedantic -W
> -funit-at-a-time'
>                  CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W
> -fmessage-length=0 -funit-at-a-time'
>                build/host: x86_64-pc-linux-gnu/x86_64-pc-linux-gnu
>              Use dietlibc: yes
>        Build C++ programs: yes
>        Build C99 programs: yes
>            Available APIs: v13,net,v21,v22,v23,netv2
>             ext2fs Source: e2fsprogs
>     syscall(2) invocation: alternative
>       vserver(2) syscall#: 236/glibc
>                crypto api: beecrypt
>           python bindings: no
>    use library versioning: yes
> 
> Paths:
>                    prefix: /usr
>         sysconf-Directory: /etc
>             cfg-Directory: /etc/vservers
>          initrd-Directory: $(sysconfdir)/init.d
>        pkgstate-Directory: /var/run/vservers
>           vserver-Rootdir: /var/lib/vservers
> 
> 
> Best regards