Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 577588

Summary: net-misc/ntp-4.2.8_p6 - Improve text in /etc/conf.d/ntp-client and clarify linuxcaps/clockctrl
Product: Gentoo Linux Reporter: Martin Mokrejš <mmokrejs>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Martin Mokrejš 2016-03-16 22:15:44 UTC
$ cat /etc/conf.d/ntp-client
# /etc/conf.d/ntp-client

# Command to run to set the clock initially
# Most people should just leave this line alone ...
# however, if you know what you're doing, and you
# want to use ntpd to set the clock, change this to 'ntpd'
NTPCLIENT_CMD="ntpdate"

...


The help text is misleding. Setting

NTPCLIENT_CMD="ntpd"

gives me:

# /etc/init.d/ntp-client start
  * Setting clock via the NTP client 'ntpd' ...
  /usr/sbin/ntpd: The 'user' option has been disabled. -- built without --enable-clockctl or --enable-linuxcaps or --enable-solarisprivs
  ntpd - NTP daemon program - Ver. 4.2.8p6
#

First of all I wonder why the package does not have USE=+caps already (if that is required for the functionality).
Second, I do not know what is --enable-clockctl but that is probably the other needed alternative.

Please improve the config file template at least.