About this list Date view Thread view Subject view Author view Attachment view

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Thu 06 Jan 2005 - 16:41:38 GMT


On Thu, Jan 06, 2005 at 09:13:36AM -0700, Lucas Albers wrote:
> Running the 29 version of vserver.
>
> When I enable quota's, i am unable to start a vserver.
>
> The steps I follow are:
>
> #enabled config option in kernel.
> CONFIG_INOXID_GID24=y
> #installed kernel..
> #created ext3 file system
> mkfs -t ext3 /dev/sda1
> #mounted system with options.
> mount -t ext3 -o tagctx /dev/sda1 /vservers
> #stopped vserver
> vserver web1 stop;
> #set CONTEXT for vserver in conf file.
> S_CONTEXT=100
>
> #enabled quota
> cqhadd -x 100 -v /dev/sda1
> #set quota for context via hqadm
> cqdlim -x 100 -S 0,200,0,1000,10 -v /dev/sda1
>
> tried to start vserver, which gives error:
> vserver web1 start;
> Server web1 is not running
> ipv4root is now 153.90.199.58
> Host name is now web1
> New security context is 100
> Can't execute /etc/init.d/rc (Permission denied)
>
> If I mount the filesystem without the tagctx option, then start the
> vserver, it starts fine.

well, I'd say you added the S_CONTEXT=100 after you
encountered the first issues ... but you can check
with the lsxid tool doing
        
        lsxid /vservers/web1/etc/init.d/rc
        lsxid /vservers/web1/bin/bash

and you can probably fix it by doing:

        mv /vservers/web1 /vservers/web1.old
        cp -va /vservers/web1.old /vservers/web1

(everything after having mounted sda1 with tagxid)

HTH,
Herbert

> --
> Luke Computer Science System Administrator
> Security Administrator,College of Engineering
> Montana State University-Bozeman,Montana
>
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 06 Jan 2005 - 16:41:53 GMT by hypermail 2.1.3