Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NTP client + systemd: net-misc/ntpclient required? [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 793
Location: Queensland

PostPosted: Fri Dec 12, 2014 12:08 am    Post subject: NTP client + systemd: net-misc/ntpclient required? [SOLVED] Reply with quote

With a Gentoo desktop system built with systemd, one can
Code:
timedatectl set-ntp true
. Is there then any need to emerge and configure net-misc/ntpclient? It seems not, as systemd has the client built-in.
_________________
Michael Mounteney


Last edited by mounty1 on Tue Jan 06, 2015 8:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1065
Location: Massachusetts USA

PostPosted: Fri Dec 12, 2014 3:43 am    Post subject: Reply with quote

net-misc/ntpclient does not provide systemd support files. net-misc/ntp provides the files that systemd needs. Use net-misc/ntp instead of net-misc/ntpclient.

timedatectl set-ntp provides the ability to enable/disable ntp if ntp is available.
Back to top
View user's profile Send private message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 793
Location: Queensland

PostPosted: Fri Dec 12, 2014 4:48 am    Post subject: I hear what you say but ... Reply with quote

net-misc/ntp is definitely not installed on my machines but they are synchronised to my server. Are you sure? It may be that systemd's NTP picks up via 224.0.0.0 but I thought my server configuration excluded that.
_________________
Michael Mounteney
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1065
Location: Massachusetts USA

PostPosted: Fri Dec 12, 2014 6:12 am    Post subject: Reply with quote

There is a systemd-timesyncd.service that provides the NTP fuction. I think that systemd-timedated.service provides the ntpdate function. It looks like systemd has ntp builtin.

The timedatectl will show the status of the clock.
Back to top
View user's profile Send private message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 793
Location: Queensland

PostPosted: Fri Dec 12, 2014 7:22 am    Post subject: Reply with quote

The systemd timesync is described at https://wiki.archlinux.org/index.php/systemd-timesyncd.
_________________
Michael Mounteney
Back to top
View user's profile Send private message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 793
Location: Queensland

PostPosted: Mon Dec 22, 2014 6:40 am    Post subject: It doesn't work Reply with quote

Regrettably, my investigation indicates that systemd's built-in NTP client simply does not work. Either that, or it is ignoring its configuration at /etc/systemd/timesyncd.conf.
_________________
Michael Mounteney
Back to top
View user's profile Send private message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 793
Location: Queensland

PostPosted: Mon Dec 22, 2014 12:56 pm    Post subject: Here is the answer Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=533262
_________________
Michael Mounteney
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum