[pve-devel] proxmox4 : ntp not enable by default ?
Alexandre DERUMIER
aderumier at odiso.com
Thu Nov 19 07:20:40 CET 2015
Tested on a fresh proxmox 4.0 install :
# service ntp status
● ntp.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
# dpkg -l|grep ntp
-> nothing
----- Mail original -----
De: "datanom.net" <mir at datanom.net>
À: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Mercredi 18 Novembre 2015 18:13:43
Objet: Re: [pve-devel] proxmox4 : ntp not enable by default ?
On Wed, 18 Nov 2015 18:02:52 +0100 (CET)
Alexandre DERUMIER <aderumier at odiso.com> wrote:
> Hi,
>
> with systemd, ntp should be manage by timesyncd,
> but it don't seem to be enabled by default
>
>From a Debian Jessie server of mine:
# timedatectl
Local time: Wed 2015-11-18 18:10:43 CET
Universal time: Wed 2015-11-18 17:10:43 UTC
RTC time: Wed 2015-11-18 17:10:43
Time zone: Europe/Copenhagen (CET, +0100)
NTP enabled: no
NTP synchronized: yes
RTC in local TZ: no
DST active: no
Last DST change: DST ended at
Sun 2015-10-25 02:59:59 CEST
Sun 2015-10-25 02:00:00 CET
Next DST change: DST begins (the clock jumps one hour forward) at
Sun 2016-03-27 01:59:59 CET
Sun 2016-03-27 03:00:00 CEST
# service ntp status
● ntp.service - LSB: Start NTP daemon
Loaded: loaded (/etc/init.d/ntp)
Active: active (running) since Wed 2015-11-18 01:50:19 CET; 16h ago
Process: 540 ExecStart=/etc/init.d/ntp start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/ntp.service
└─877 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 104:109
Nov 18 01:50:19 ns1 ntpd[876]: ntpd 4.2.6p5 at 1.2349-o Wed Oct 28 20:30:57 UT...1)
Nov 18 01:50:19 ns1 ntpd[877]: proto: precision = 0.552 usec
Nov 18 01:50:19 ns1 ntp[540]: Starting NTP server: ntpd.
Nov 18 01:50:19 ns1 ntpd[877]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123
Nov 18 01:50:19 ns1 ntpd[877]: Listen and drop on 1 v6wildcard :: UDP 123
Nov 18 01:50:19 ns1 ntpd[877]: Listen normally on 2 lo 127.0.0.1 UDP 123
Nov 18 01:50:19 ns1 ntpd[877]: Listen normally on 3 eth0 192.168.2.201 UDP 123
Nov 18 01:50:19 ns1 ntpd[877]: Listen normally on 4 eth1 172.16.1.201 UDP 123
Nov 18 01:50:19 ns1 ntpd[877]: Listen normally on 5 eth0 fe80::7418:dbff:fe...23
Nov 18 01:50:19 ns1 ntpd[877]: Listen normally on 6 lo ::1 UDP 123
Nov 18 01:50:19 ns1 ntpd[877]: Listen normally on 7 eth1 fe80::7cd7:33ff:fe...23
Nov 18 01:50:19 ns1 ntpd[877]: peers refreshed
Nov 18 01:50:19 ns1 ntpd[877]: Listening on routing socket on fd #24 for in...es
Hint: Some lines were ellipsized, use -l to show in full.
So no you don't need to enable it with timedatectl if systemd-sysv is installed. AFAIK systemd-sysv is installed by default in Debian.
--
Hilsen/Regards
Michael Rasmussen
Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
/usr/games/fortune -es says:
Memory should be the starting point of the present.
_______________________________________________
pve-devel mailing list
pve-devel at pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
More information about the pve-devel
mailing list