On Thu, Sep 11, 2003 at 01:32:16PM +0200, Stephan Sachse wrote: > Hi Herbert, > > On Wed, 10 Sep 2003 22:38:00 +0200 > Herbert Poetzl <[EMAIL PROTECTED]> wrote: > > > I updated the Context Quota patch (from cq0.06 to cq0.07) and > > the cq-tools (to version 0.06) to make the cqhadd/cqhrem 'secure'. > > cq-tools reports v0.5 ;) > > > I also updated the vroot patch (from vr0.12 to vr0.13) and > > removed the debug output. > > i have try it out but it is doesnt works for me.
see below ... > new vanialla kernel 2.4.22 > > 1. patch-2.4.22-ctx17a.diff.bz2 > 2. patch-2.4.22-mq0.09.diff.bz2 > 3. patch-2.4.22-ctx17a-mq0.09-cx0.05.diff.bz2 > 4. patch-2.4.22-ctx17a-mq0.09-cx0.05-cq0.07.diff.bz2 > 5. make/install > 6. rebuild vr/cq tools > 7. reboot > > vrsetup /dev/vroot/0 /dev/hda3 works fine > > chkontext --ctx 100 cqhadd -v /dev/hda3 > or > chkontext --ctx 100 cqhadd -v /dev/vroot/0 > > ends with > - - - - - - - - - - - - - - - >8 - - - - - - - - - - - - - - - > New security context is 100 > quotactl on /dev/vroot/0 failed: Operation not permitted > > or > > New security context is 100 > quotactl on /dev/hda3 failed: Operation not permitted > - - - - - - - - - - - - - - - 8< - - - - - - - - - - - - - - - > > i can do what i wont it does not work here. yes, this _is_ intentional, that _is_ one of the security features ;) sorry, forgot to mention that ... new (old) syntax is: cqhadd -v -x 100 /dev/vroot/0 or cqhadd -v -x 100 /dev/hda3 HTH, Herbert > vServer start/stop works fine but without quota. quotaon -avgu failes > > cya later > /stephan > > -- > "How should I know if it works? > That is what beta testers are for." -Linus Torvald
