[EMAIL PROTECTED] (Alex Lyashkov) writes:

>> And chmod obviously fails.  Proper fix should probably check exact
>> inode of /vservers/ dir and protect only this one particular inode.
>>
> Proper fix - use separated disknamespace for each vserver. 

Do you have working code for that? I already tried

| mount("/vservers/X", "/", "", MS_BIND|MS_REC, "")

in a static linked binary within /vservers/X and an own namespace. The
syscall succeeds, but I have still the old '/' :(




Enrico
_______________________________________________
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to