Editing
0054.html
(section)
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!
= Re: [vserver] Getting a real pid 1 init in a container = * <span class="dfn">This message</span>: [ [[#start|Message body]] ] [ [[#options2|More options]] ] * <span class="dfn">Related messages</span>: [ [[0055.html|Next message]] ] [ [[0053.html|Previous message]] ] [ [[0052.html|In reply to]] ] </div> <div class="mail"> <span id="from"> <span class="dfn">From</span>: Grzegorz Nosek <[mailto:grzegorz.nosek_at_gmail.com?Subject=Re:%20%5Bvserver%5D%20Getting%20a%20real%20pid%201%20init%20in%20a%20container grzegorz.nosek_at_gmail.com]> </span><br /> <span id="date"><span class="dfn">Date</span>: Wed 21 Mar 2012 - 18:22:20 GMT</span><br /> <span id="message-id"><span class="dfn">Message-ID</span>: <4F6A1C5C.3070009@gmail.com> </span><br /> W dniu 21.03.2012 16:47, Grzegorz Nosek pisze:<br /> ''> A basically working patch attached. One weird side effect is that the''<br /> ''> container init and its children are not visible in `vps auxf` (they''<br /> ''> remain visible in `vps aux` though).''<br /> Attached v2, this one is actually working *too* well -- the process tree<br /> is shown *twice* on some occasions ;) Also, upstart works like a charm<br /> (start/stop etc.)<br /> This is another bug I won't fix today -- gotta go:<br /> debian:/proc/sys/vserver# grep Tgid /proc/1/status<br /> Tgid: 1<br /> debian:/proc/sys/vserver# chcontext --xid 1 -- grep Tgid /proc/1/status<br /> Tgid: 1<br /> debian:/proc/sys/vserver# chcontext --xid 948 -- grep Tgid /proc/1/status<br /> Tgid: 1<br /> debian:/proc/sys/vserver# chcontext --xid 1 -- grep Tgid /proc/1/status<br /> Tgid: 2219<br /> Basically in xid==1 /proc/1 contains info about the last visited fakeinit.<br /> Best regards,<br /> Grzegorz Nosek<br /> <div> * text/x-patch attachment: [[att-0054/0001-Actually-use-VServer-context-reaper.patch|0001-Actually-use-VServer-context-reaper.patch]] </div> <span id="received"><span class="dfn">Received on</span> Wed Mar 21 18:38:55 2012</span> </div> <div class="foot"> * <span class="dfn">This message</span>: [ [[#start|Message body]] ] * <span class="dfn">Next message</span>: [[0055.html|Steve Kieu: "Re: [vserver] IPtables, network namespaces"]] * <span class="dfn">Previous message</span>: [[0053.html|Jarry: "Re: [vserver] IPtables, network namespaces"]] * <span class="dfn">In reply to</span>: [[0052.html|Grzegorz Nosek: "Re: [vserver] Getting a real pid 1 init in a container"]] * <span id="options2"></span><span class="dfn">Contemporary messages sorted</span>: [ [[date.html#54|By Date]] ] [ [[index.html#54|By Thread]] ] [ [[subject.html#54|By Subject]] ] [ [[author.html#54|By Author]] ] [ [[attachment.html|By messages with attachments]] ] </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 21 Mar 2012 - 18:38:55 GMT by [http://www.hypermail.org/ hypermail 2.1.8]</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