Editing
0043.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: [Vserver] Trivial Question #1: vreboot:'''<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:''' Herbert Poetzl ([mailto:herbert_at_13thfloor.at?Subject=Re:%20%5BVserver%5D%20Trivial%20Question%20#1:%20vreboot ''herbert_at_13thfloor.at''])<br /> '''Date:''' Sat 06 Aug 2005 - 10:01:31 BST * '''Previous message:''' [[0042.html|Andreas John: "Re: [Vserver] Trivial Question #1: vreboot"]] * '''In reply to:''' [[0042.html|Andreas John: "Re: [Vserver] Trivial Question #1: vreboot"]] * '''Next in thread:''' [[0037.html|Andreas John: "[Vserver] Trivial Question #2: What is a "context"?"]] ----- On Sat, Aug 06, 2005 at 03:27:42AM +0200, Andreas John wrote:<br /> ''> Hello!''<br /> ''>''<br /> ''> >/dev/initctl is a pipe created by init, so if you''<br /> ''> >start an actual init inside your guest, it will create''<br /> ''> >that pipe, then listen to it and once the reboot (or''<br /> ''> >shutdown) calls through the pipe, issue the reboot to''<br /> ''> >the kernel ...''<br /> ''> >''<br /> ''> >which kind of setup you use is your choice ...''<br /> ''>''<br /> ''> Hmmm .... so how do I supress VServers "fakeinit" and start a "real" one?''<br /> you change the init style from 'sysv' to 'plain' or<br /> 'minit' depending on your init ... see the Flower Page<br /> for details ...<br /> ''> The one that is running does not create the pipe:''<br /> it does, but that one is on the host, and you do not<br /> want to send reboot requests there, I guess ...<br /> ''> foo:/# ps faxu''<br /> ''> USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND''<br /> ''> root 15173 7.0 0.5 4872 1636 pts/0 S 03:13 0:00''<br /> ''> /bin/bash -login''<br /> ''> root 15187 0.0 0.2 4612 872 pts/0 R+ 03:13 0:00 \_ ps faxu''<br /> ''> root 1 0.0 0.1 1588 516 ? S Aug05 0:01 init [2]''<br /> ''> [...]''<br /> ''>''<br /> ''> foo:/# reboot''<br /> ''> shutdown: /dev/initctl: No such file or directory''<br /> ''> init: /dev/initctl: No such file or directory''<br /> your 'reboot' is the same binary as your 'init' and<br /> depending on the options and pid, it acts as init,<br /> does a reboot (-f option) or just tries to contact<br /> the process with pid=1 to do that on behlaf ...<br /> ''> It's not really that important, but staying als close to a real server''<br /> ''> as possible in the default setup would be a good choice.''<br /> depends on the purpose, if you do not like the ovehead<br /> introduced by a running init (inside the guest) you<br /> are better off by not running it (i.e. using sysv init)<br /> HTH,<br /> Herbert<br /> ''> n8,''<br /> ''> Andreas''<br /> ''>''<br /> ''>''<br /> ''> _______________________________________________''<br /> ''> Vserver mailing list''<br /> ''> [mailto:Vserver_at_list.linux-vserver.org?Subject=Re:%20%5BVserver%5D%20Trivial%20Question%20#1:%20vreboot Vserver_at_list.linux-vserver.org]''<br /> ''> http://list.linux-vserver.org/mailman/listinfo/vserver''<br /> _______________________________________________<br /> Vserver mailing list<br /> [mailto:Vserver_at_list.linux-vserver.org?Subject=Re:%20%5BVserver%5D%20Trivial%20Question%20#1:%20vreboot Vserver_at_list.linux-vserver.org]<br /> http://list.linux-vserver.org/mailman/listinfo/vserver<br /> ----- * '''Previous message:''' [[0042.html|Andreas John: "Re: [Vserver] Trivial Question #1: vreboot"]] * '''In reply to:''' [[0042.html|Andreas John: "Re: [Vserver] Trivial Question #1: vreboot"]] * '''Next in thread:''' [[0037.html|Andreas John: "[Vserver] Trivial Question #2: What is a "context"?"]] <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 Sat 06 Aug 2005 - 10:02:20 BST 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