Subject: Re: [vserver] bash prompt host name
From:Miroslav S(ulc <miroslav.sulc@startnet.cz>
Date: Wed, 04 Nov 2009 21:06:45 +0100

herbert, thank you for your help. i concentrated on the topics you
picked up and found this:

http://archives.gentoo.org/gentoo-hardened/msg_a972a3df875deb2c5b99a276a03c3af2.xml

so i unmasked unstable dev-libs/dietlibc-0.33_pre20090721, recompiled
dietlibc and sys-cluster/util-vserver-0.30.216_pre2849 and now all seems
to work perfectly. everything compiled using gcc
x86_64-pc-linux-gnu-4.3.4 on gentoo hardened profile.

once more, thank you for your help.

miroslav

Herbert Poetzl napsal(a):
> On Wed, Nov 04, 2009 at 03:46:56PM +0100, Miroslav S(ulc wrote:
>   
>> hi herbert,
>>     
>
>   
>> thank you for fast answer. i tried to upgrade to
>> util-vserver-0.30.216_pre2849 (latest unstable package in gentoo) but i
>> got this error when trying to start guest (it displays guest3 but i am
>> logged at host):
>>     
>
>   
>> guest3 user1 # vserver guest1 start
>>     
>
>   
>>    OpenRC 0.4.3 is starting up Gentoo Linux (x86_64) [VSERVER]
>>     
>
>   
>> Press I to enter interactive boot mode
>>
>> * /proc is already mounted, skipping
>> * Setting hostname to
>> guest1...                                                                       
                                                                            
>>     
> [startup zapped]
>
>   
>> [ ok ]
>> /usr/sbin/chbind: line 135: 30904 Segmentation fault     
>> "${create_cmd[@]}" "${chain_cmd[@]}" -- "$@"
>>     
>
> this looks like your util-vserver has been miscompiled
> (i.e. problem with your hardened? toolchain and/or
> dietlibc) please a) check that 'vserver-info - SYSINFO'
> shows you that it is using dietlibc, and that your
> toolchain works (i.e. try with a different gcc or
> options)
>
> HTH,
> Herbert
>