Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 577588 - net-misc/ntp-4.2.8_p6 - Improve text in /etc/conf.d/ntp-client and clarify linuxcaps/clockctrl
Summary: net-misc/ntp-4.2.8_p6 - Improve text in /etc/conf.d/ntp-client and clarify li...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-16 22:15 UTC by Martin Mokrejš
Modified: 2016-03-17 18:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.