****SPAM(1)**** RE: [Mono-list] Re: Running mod-mono-server in a chroot jail

Jesse Pasichnyk jesse at pasichnyk.net
Mon Nov 28 14:23:08 EST 2005


Robert,

You are correct, I do not have the real proc filesystem mounted into the
jail.  I was thinking I could go ahead and mount this using something like:

mount --bind /proc -o ro,nosuid /home/jail/proc

Does this open up and security issues etc?  I'm not very familiar with the
proc filesystem.

Thanks in advance,

Jesse

-----Original Message-----
From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Robert Jordan
Sent: Monday, November 28, 2005 11:03 AM
To: Mono-list at lists.ximian.com
Subject: [Mono-list] Re: Running mod-mono-server in a chroot jail

Jesse,

Your jail probably doesn't have the /proc filesystem mounted.

Robert

> I'm working on getting all of my asp.net sites running under separate 
> standalone instances of mod-mono-server running as the owner of each site.
> All my site users are however locked into their own chroot environment.
> 
>  
> 
> I'm trying to start up each mod-mono-server instance as follows:
> 
>  
> 
> su -  <jailuser> -c "mono /usr/lib/xsp/1.0/mod-mono-server.exe  --root 
> /home/<jailuser>/htdocs/domains/domain.com/www/html --master 
> --filename /usr/local/aspnet/domain.com/www/socket --nonstop"
> 
>  
> 
> When I try to execute the above command to start the server I get:
> 
>  
> 
> GC Warning: Couldn't read /proc/stat
> 
> GC Warning: GC_get_nprocs() returned -1
> 
> Couldn't read /proc/self/stat
> 
>  
> 
> If anyone has gotten this working or has any information that could 
> help me please let me know.

_______________________________________________
Mono-list maillist  -  Mono-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list



More information about the Mono-list mailing list