Re: [vserver] readonly root not working (mkdir(): read-only filesystem on vcontext command)

From: Benjamin Sonntag <benjamin_at_octopuce.fr>
Date: Mon 21 Mar 2011 - 10:47:48 GMT
Message-ID: <4D872CD4.2030602@octopuce.fr>

Hi,

Le 21/03/2011 09:28, Daniel Hokka Zakrisson a écrit :
> Benjamin Sonntag wrote:
>> Hi,
>>
>>
>>> Is there a reason you don't just mkdir .oldroot in your base filesystem?
>>>
>> yes : in the vcontext.c code, there is :
>>
>> - mkdir (and if it fail, exit)
> Unless it already existed.
You are so right!

I changed it that way, mkdir .oldroot was indeed THE solution :-D

you may add it to any kind of FAQ you have :

"I want to create a read-only vserver, is there something specific to do ?"

yes : create a folder named .oldroot at the root of your virtual server instance

Thanks a lot,

Regards,

Benjamin Sonntag

Received on Mon Mar 21 10:47:58 2011
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 21 Mar 2011 - 10:47:58 GMT by hypermail 2.1.8