NTP server in a VE : howto?

libes

Active Member
Jun 13, 2016
4
0
41
66
hello
on promox3 I had a VM acting as a NTP time server with CAPABILITY="SYS_TIME:eek:n in the configuration file

Now on ProxMox4/LXC , I don't find where to put the same capability allowing a VM to modify its own Time
I remember that I want a VM acting as a real NTP time server (not taking its time on the HN node)

when I launch my NTP server (LXC VM)... It fails with "step-systime: Operation not permitted"

thanks for your help

ML

Jun 13 13:02:39 dhcp ntpd[1094]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123
Jun 13 13:02:39 dhcp ntp[1078]: Starting NTP server: ntpd.
Jun 13 13:02:39 dhcp ntpd[1094]: Listen and drop on 1 v6wildcard :: UDP 123
Jun 13 13:02:39 dhcp ntpd[1094]: Listen normally on 2 lo 127.0.0.1 UDP 123
Jun 13 13:02:39 dhcp ntpd[1094]: Listen normally on 3 eth0 139.124.2.103 UDP 123
Jun 13 13:02:39 dhcp ntpd[1094]: Listen normally on 4 lo ::1 UDP 123
Jun 13 13:02:39 dhcp ntpd[1094]: Listen normally on 5 eth0 fe80::3433:31ff:...23
Jun 13 13:02:39 dhcp ntpd[1094]: peers refreshed
Jun 13 13:02:39 dhcp ntpd[1094]: Listening on routing socket on fd #22 for ...es
Jun 13 13:02:39 dhcp systemd[1]: Started LSB: Start NTP daemon.
Jun 13 13:05:58 dhcp ntpd[1094]: step-systime: Operation not permitted