[Users] NTP Server in einer virtuellen Umgebung

lst_hoe02 at kwsoft.de lst_hoe02 at kwsoft.de
Sun Dec 11 14:36:49 EST 2011


Zitat von Daniel Pittman <daniel at rimspace.net>:

> On Sun, Dec 11, 2011 at 07:09, Daniel Bauer <mlist at dsb-gmbh.de> wrote:
>
>> I've a VPS for my internal LAN, which should also be used as a NTP server.
>> The HN has already syncronized the time by de.pool.ntp.org, so the time is
>> also ok inside the VPS.
>> The NTP server inside the VPS stalled, ntpq -p shows:
>
> You don't need NTP inside the container, just on the HN.  The VE can't
> set the time anyhow.

Not really true. You need special capabilities assigned to the VE to  
let it manage your system clock. So if you need ntp inside the VE you  
should do something like "vzctl set <VEID> --capability sys_time:on",  
install ntp inside the VE and deinstall it on the HN.

Regards

Andreas


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6178 bytes
Desc: S/MIME Cryptographic Signature
Url : http://openvz.org/pipermail/users/attachments/20111211/54ee79db/smime.bin


More information about the Users mailing list