Editing
VirtualiseNTP
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 id="header"> <div class="logo"> [[Linux-VServer|[[File:http://linux-vserver.org/logo.png|[Home]]]]] </div> <span id="virtualisentp"></span> = [[?action=find&find=VirtualiseNTP|VirtualiseNTP]] = <div id="toolbar-top"> [[Linux-VServer]] | [[RecentChanges]] | [http://linux-vserver.org/?action=prefs Preferences] | [http://tavi.sourceforge.net/FormattingRules FormattingRules] </div> ----- </div> <div id="body"> From the vserver FAQ: ''NTP is used to keep the kernel clock synchronized to GMT/UTC. This is a system level function and should be done in the host server.'' However, ntp is also a network daemon and could benefit from being jailed. "system level function" is quite a meaningless term in light of capabilities and vserver - which part of the system does it need? OK, it can have just that. xntpd has some really brain-dead hard-coded assumptions (above and beyond those in glibc) that 127.0.0.1 is always the local host. Fortunately, on many systems 127.0.0.1 is not used by any vservers or programs running in the system context, so it can make sense to let it be used by the vserver that serves NTP. You will need to: * make sure 127.0.0.1 is in the vserver's list of IP addresses, as well as the external address of the vserver (or play silly buggers with NAT) * add CAP_SYS_TIME to the list of capabilities for the vserver This configuration has been seen to work before, however it seems that not all xntpd's like to run in this setup. The one in Debian woody seems to be OK. </div> <div id="footer"> <div class="copyleft"> <br /> Permission is granted to copy, distribute and/or modify this document under the terms of the<br /> [http://www.fsf.org/licenses/fdl.txt GNU Free Documentation License], Version 1.2 or any later version published by the Free Software Foundation. </div> ----- <div id="toolbar-bottom"> [[VirtualiseNTP?action=edit|Edit this document]] | [[VirtualiseNTP?action=history|View document history]]<br /> </div> Document last modified Thu, 16 Sep 2004 00:18:08<br /> <div class="form"> <br /> Search: </div> </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