Re: [vserver] reboot -f in guest not working with recent Vserver versions

From: Christian Balzer <chibi_at_gol.com>
Date: Thu 22 Dec 2011 - 00:35:56 GMT
Message-ID: <20111222093556.24ca7926@batzmaru.gol.ad.jp>

On Wed, 21 Dec 2011 15:31:18 +0100 Herbert Poetzl wrote:

[snip]
>
> I expect the output to be something like this:
>
> Wed Dec 21 16:56:21 UTC 2011: vshelper restart 40003
> Restarting vserver '/etc/vservers/foo'
> /usr/lib64/util-vserver/vserver.functions: line 1603: echo: write error:
> Invalid argument
>
> Failed to start vserver 'foo'
>
> and the line mentioned above to be
> echo "$$" > "$mnt/$CGROUP_BASE$name/tasks"
>
> haven't had the time to look into the actual issue yet,
> but it might as well be a kernel issue (i.e. the vshelper
> executing in the wrong cgroup/namespace)
>
Yup, that's the case indeed:

---
Thu Dec 22 09:22:40 JST 2011: vshelper restart 10202
Restarting vserver '/etc/vservers/vserver-202'
/usr/lib/util-vserver/vserver.functions: line 1600: echo: write error: Invalid argument
Failed to start vserver 'vserver-202'
---
And that line is the same one you quoted up there.
Well, got a workaround now and happy to have found some actual bug. ^.^
Regards,
Christian
-- 
Christian Balzer        Network/Systems Engineer                
chibi@gol.com   	Global OnLine Japan/Fusion Communications
http://www.gol.com/
Received on Thu Dec 22 00:36:08 2011
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 22 Dec 2011 - 00:36:08 GMT by hypermail 2.1.8