Editing
0433.html
From Linix VServer
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
<div class="links"> '''Re: RE: [Vserver] Rpms for vserver 0.27 (got it):'''<br /> <span class="small">vserver development mailing list</span> <br /> [<nowiki/>[[../|Next/Previous Months]]] [<nowiki/>[http://www.solucorp.qc.ca/miscprj/s_context.hc Main vserver Project Homepage]] [<nowiki/>[http://www.solucorp.qc.ca/mlist/index.hc?list=vserver Howto Subscribe/Unsubscribe]] [<nowiki/>[http://www.paul.sladen.org/vserver/ Paul Sladen's vserver stuff]] </div> <div align="center"> {| class="wikitable" border="2" width="100%" |- ! [[../|About this list]] ! [[date.html|Date view]] ! [[index.html|Thread view]] ! [[subject.html|Subject view]] ! [[author.html|Author view]] ! [[attachment.html|Attachment view]] |} </div> '''From:''' Alex Lyashkov ([mailto:shadow_at_psoft.net?Subject=Re:%20RE:%20%5BVserver%5D%20Rpms%20for%20vserver%200.27%20(got%20it) ''shadow_at_psoft.net''])<br /> '''Date:''' Wed 26 Nov 2003 - 07:11:31 GMT * '''Previous message:''' [[0432.html|Ola Lundqvist: "Re: [Vserver] [Announcement] util-vserver 0.26"]] * '''In reply to:''' [[0427.html|Charles Dale: "RE: RE: [Vserver] Rpms for vserver 0.27 (got it)"]] ----- On Wednesday 26 November 2003 07:50, Charles Dale wrote:<br /> ''> It's a bit hard to read what you posted because after a certain point all''<br /> ''> the hard returns seem to have been folded. But I think you have this in''<br /> ''> your redhat9.conf:''<br /> ''>''<br /> ''> S_CAPS="CAP_NET_RAW CAP_SYS_ADMIN CAP_NET_ADMIN"''<br /> ''>''<br /> ''> Change that to''<br /> ''>''<br /> ''> S_CAPS="CAP_NET_RAW CAP_SYS_RESOURCE"''<br /> ''>''<br /> stop use CAP_SYS_RESOURCE in vserver, because you process limit be broken.<br /> part from linux-vserver-1.1.2:<br /> ==================================================<br /> iff -NurpP --minimal linux-2.4.21/kernel/fork.c<br /> linux-2.4.21-vs1.1.2/kernel/fork.c<br /> --- linux-2.4.21/kernel/fork.c Fri Jun 13 16:51:39 2003<br /> +++ linux-2.4.21-vs1.1.2/kernel/fork.c Fri Nov 14 03:35:40 2003<br /> @@ -22,6 +22,7 @@<br /> #include <linux/namespace.h><br /> #include <linux/personality.h><br /> #include <linux/compiler.h><br /> +#include <linux/vcontext.h><br /> #include <asm/pgtable.h><br /> #include <asm/pgalloc.h><br /> @@ -629,6 +630,10 @@ int do_fork(unsigned long clone_flags, u<br /> *p = *current;<br /> retval = -EAGAIN;<br /> + if (p->s_info && (p->s_info->flags & VX_INFO_NPROC)) {<br /> + if (atomic_read(&p->s_info->refcount) >=<br /> p->rlim[RLIMIT_NPROC].rlim_max)<br /> + goto bad_fork_free;<br /> + }<br /> ==================================================<br /> Herber rewrite it for work with internaly rlimits array.<br /> <pre> -- With best regards, Alex _______________________________________________ Vserver mailing list Vserver_at_list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver</pre> ----- * '''Previous message:''' [[0432.html|Ola Lundqvist: "Re: [Vserver] [Announcement] util-vserver 0.26"]] * '''In reply to:''' [[0427.html|Charles Dale: "RE: RE: [Vserver] Rpms for vserver 0.27 (got it)"]] <div align="center"> {| class="wikitable" border="2" width="100%" |- ! [[../|About this list]] ! [[date.html|Date view]] ! [[index.html|Thread view]] ! [[subject.html|Subject view]] ! [[author.html|Author view]] ! [[attachment.html|Attachment view]] |} </div> <div align="center"> [<nowiki/>[[../|Next/Previous Months]]] [<nowiki/>[http://www.solucorp.qc.ca/miscprj/s_context.hc Main vserver Project Homepage]] [<nowiki/>[http://www.solucorp.qc.ca/mlist/index.hc?list=vserver Howto Subscribe/Unsubscribe]] [<nowiki/>[http://www.paul.sladen.org/vserver/ Paul Sladen's vserver stuff]]<br /> <span class="small">Generated on Wed 26 Nov 2003 - 07:13:29 GMT by [http://www.hypermail.org/ hypermail 2.1.3]</span> </div>
Summary:
Please note that all contributions to Linix VServer may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Linix VServer:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Page
Discussion
Read
Edit
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
About
Overview
Paper
News
Developers
Donations
Search
Getting Started
Downloads
FAQs
Documentation
Support
Participate
How to participate
Report a Bug
Communicate
Teams/Projects
Hall of Fame
Resources
Archives
Recent Wiki Changes
Pastebin
Related Projects
VServer Hosting
Happy VServer Users
Tools
What links here
Related changes
Special pages
Page information