diff --git a/README b/README index 2447bff..00214a5 100644 --- a/README +++ b/README @@ -28,7 +28,7 @@ What will chrony run on? ======================== The software is known to work on Linux, FreeBSD, NetBSD, macOS and -Solaris. Closely related systems may work too. Any other system will +illumos. Closely related systems may work too. Any other system will likely require a porting exercise. How do I set it up? diff --git a/configure b/configure index ac6939c..8041d4e 100755 --- a/configure +++ b/configure @@ -479,7 +479,7 @@ case $OPERATINGSYSTEM in add_def FEAT_PRIVDROP priv_ops="ADJUSTTIMEX SETTIME BINDSOCKET" fi - echo "Configuring for Solaris (" $SYSTEM "SunOS version" $VERSION ")" + echo "Configuring for illumos (" $SYSTEM "SunOS version" $VERSION ")" ;; * ) echo "error: $SYSTEM is not supported (yet?)" diff --git a/doc/chrony.conf.adoc b/doc/chrony.conf.adoc index 21a8d75..3568edb 100644 --- a/doc/chrony.conf.adoc +++ b/doc/chrony.conf.adoc @@ -1238,7 +1238,7 @@ This directive specifies the maximum assumed drift (frequency error) of the system clock. It limits the frequency adjustment that *chronyd* is allowed to use to correct the measured drift. It is an additional limit to the maximum adjustment that can be set by the system driver (100000 ppm on Linux, 500 ppm -on FreeBSD, NetBSD, and macOS 10.13+, 32500 ppm on Solaris). +on FreeBSD, NetBSD, and macOS 10.13+, 32500 ppm on illumos). + By default, the maximum assumed drift is 500000 ppm, i.e. the adjustment is limited by the system driver rather than this directive. @@ -1277,7 +1277,7 @@ all supported systems with the exception of macOS 12 or earlier). + For each system there is a maximum frequency offset of the clock that can be set by the driver. On Linux it is 100000 ppm, on FreeBSD, NetBSD and macOS 10.13+ it -is 5000 ppm, and on Solaris it is 32500 ppm. Also, due to a kernel limitation, +is 5000 ppm, and on illumos it is 32500 ppm. Also, due to a kernel limitation, setting *maxslewrate* on FreeBSD, NetBSD, macOS 10.13+ to a value between 500 ppm and 5000 ppm will effectively set it to 500 ppm. + @@ -2524,7 +2524,7 @@ file when the <> command is issued by *chronyc*). [[lock_all]]*lock_all*:: The *lock_all* directive will lock the *chronyd* process into RAM so that it will never be paged out. This can result in lower and more consistent latency. -The directive is supported on Linux, FreeBSD, NetBSD, and Solaris. +The directive is supported on Linux, FreeBSD, NetBSD, and illumos. [[pidfile]]*pidfile* _file_:: Unless *chronyd* is started with the *-Q* option, it writes its process ID @@ -2564,7 +2564,7 @@ ptpport 319 ---- [[sched_priority]]*sched_priority* _priority_:: -On Linux, FreeBSD, NetBSD, and Solaris, the *sched_priority* directive will +On Linux, FreeBSD, NetBSD, and illumos, the *sched_priority* directive will select the SCHED_FIFO real-time scheduler at the specified priority (which must be between 0 and 100). On macOS, this option must have either a value of 0 (the default) to disable the thread time constraint policy or 1 for the policy to be @@ -2590,7 +2590,7 @@ The *user* directive sets the name of the system user to which *chronyd* will switch after start in order to drop root privileges. + On Linux, *chronyd* needs to be compiled with support for the *libcap* library. -On macOS, FreeBSD, NetBSD and Solaris *chronyd* forks into two processes. +On macOS, FreeBSD, NetBSD and illumos *chronyd* forks into two processes. The child process retains root privileges, but can only perform a very limited range of privileged system calls on behalf of the parent. + diff --git a/doc/chronyd.adoc b/doc/chronyd.adoc index 06b8718..7ba991d 100644 --- a/doc/chronyd.adoc +++ b/doc/chronyd.adoc @@ -100,7 +100,7 @@ directive in the configuration file. This option is useful if you want to stop and restart *chronyd* briefly for any reason, e.g. to install a new version. However, it should be used only on systems where the kernel can maintain clock compensation whilst not under *chronyd*'s control (i.e. Linux, FreeBSD, NetBSD, -Solaris, and macOS 10.13 or later). +illumos, and macOS 10.13 or later). *-R*:: When this option is used, the <> @@ -141,7 +141,7 @@ after start in order to drop root privileges. It overrides the _@DEFAULT_USER@_. + On Linux, *chronyd* needs to be compiled with support for the *libcap* library. -On macOS, FreeBSD, NetBSD and Solaris *chronyd* forks into two processes. +On macOS, FreeBSD, NetBSD, and illumos *chronyd* forks into two processes. The child process retains root privileges, but can only perform a very limited range of privileged system calls on behalf of the parent. @@ -181,7 +181,7 @@ limited. The filters cannot be enabled with the *mailonchange* directive. *-P* _priority_:: -On Linux, FreeBSD, NetBSD, and Solaris, this option will select the SCHED_FIFO +On Linux, FreeBSD, NetBSD, and illumos this option will select the SCHED_FIFO real-time scheduler at the specified priority (which must be between 0 and 100). On macOS, this option must have either a value of 0 to disable the thread time constraint policy or 1 for the policy to be enabled. Other systems do not @@ -189,7 +189,7 @@ support this option. The default value is 0. *-m*:: This option will lock *chronyd* into RAM so that it will never be paged out. -This mode is only supported on Linux, FreeBSD, NetBSD, and Solaris. +This mode is only supported on Linux, FreeBSD, NetBSD, and illumos. *-x*:: This option disables the control of the system clock. *chronyd* will not try to diff --git a/sys_solaris.c b/sys_solaris.c index 24949cb..3210ef0 100644 --- a/sys_solaris.c +++ b/sys_solaris.c @@ -21,7 +21,7 @@ ======================================================================= - Driver file for Solaris operating system + Driver file for illumos operating system (previously Solaris) */ #include "config.h"