Source Repository:Repository:Gentoo Portage Tree

Summary: Chrony is a pair of programs (chronyd and chronyc) which are used to maintain the accuracy of the system clock on a computer. chronyd has been specifically written to work well for systems which have only an intermittent (e.g. dial-up) connection to the network where the NTP servers are. It still works well in a "permanently connected" mode.

Use Flags

Support for command and monitoring
Support for the Network Time Protocol (NTP)
Support for the PTP (Precision Time Protocol) Hardware Clock (PHC) interface
Support for the Linux Pulse Per Second (PPS) interface
Support for reference clocks
Support for the Linux Real Time Clock interface
Support for asynchronous DNS



Perl Updates

Gentoo has bumped perl from 5.20 to 5.22. Be sure to run perl-cleaner --all after the upgrade.
2015-07-25 by Drobbins

ARM Rebuild

ARM systems will use new stage3's that are not compatible with earlier versions.
2015-06-27 by Drobbins

ABI X86 64 and 32

Funtoo Linux has new 32-bit compatibility libraries inherited from Gentoo. Learn about them here.
2015-06-18 by Drobbins



We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

Accurate System Time (NTP)

It's important that your Funtoo Linux system has an accurate clock. NTP (network time protocol) can ensure your clock is accurate at all time.

The recommended NTP client/server is Package:Chrony.

# emerge chrony


Chrony requires you set an upstream ntp server.

For broadband users:

# echo "server iburst" >> /etc/chrony/chrony.conf

For dial up or slow connections:

# echo "server offline" >> /etc/chrony/chrony.conf

Use something like the following for your /etc/chrony/chrony.conf:

maxupdateskew 100
driftfile /etc/chrony/chrony.drift
keyfile /etc/chrony/chrony.keys
commandkey 1
dumpdir /var/log/chrony
initstepslew 10
logdir /var/log/chrony
log measurements statistics tracking
logchange 0.5
mailonchange 0.5
rtcfile /etc/chrony/chrony.rtc
sched_priority 1

Chronyd can then be started immediately by running rc to start all new services:

Set Time

To test chronyd, set the time immediately, & exit:

# chronyd -q


To start the chronyd service:

# rc-update add chronyd default
# rc

Because Funtoo Linux starts network daemons without waiting for an Internet connection to become available, and because chrony will attempt to synchronize the clock over the Internet when it first starts, you must manually configure chronyd to be dependent on whatever method you use to enable your outbound network connectivity. For example, if using dhcpcd, add the following to /etc/conf.d/chronyd:


You should notice a marked improvement in your system clock's accuracy. If your system time was off by a significant amount, chronyd will gradually correct your clock while the system runs.

Hardware Clock

To write your NTP sync time to the hardware at shutdown, and read hw clock at start.

# echo 'clock_hctosys="YES"' >> /etc/conf.d/hwclock
# echo 'clock_systohc="YES"' >> /etc/conf.d/hwclock
# rc-service hwclock restart
# rc-update add hwclock boot