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

Christian Balzer <[email protected]>
Newsgroups gmane.linux.vserver
Organization FusionGOL
Message-ID <[email protected]>
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                
[email protected]   	Global OnLine Japan/Fusion Communications
http://www.gol.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.