[oe] ntpd fails to start if libcap not installed

Philip Balister philip at balister.org
Fri Mar 28 17:55:28 UTC 2014


On 03/28/2014 06:40 AM, Diego wrote:
> Hi openembedders!
> 
> I've noticed that if ntp is built without libcap, ntpd fails to start from the 
> initscript:
> /etc/init.d/ntpd
> 
> giving the error:
> Starting ntpd: /usr/sbin/ntpd: The ``user'' option has been disabled -- built 
> without --enable-clockctl or --enable-linuxcaps
> ntpd - NTP daemon program - Ver. 4.2.6p5
> USAGE:  ntpd [ -<flag> [<val>] | --<name>[{=| }<val>] ]...
> 
> That is caused by the line:
> start-stop-daemon --start -x /usr/sbin/ntpd -- -u ntp:ntp -p /var/run/ntp.pid 
> "$@"
> 
> and in particular by the option "-u ntp:ntp" which is not supported which is 
> not supported if ntp is build without --enable-clockctl.
> 
> Is anybody else experiencing this problem?

Oddly enough, I was about to report the symptom today also :)

Any ntp experts know what the proper solution is? I'd be glad to propose
a patch.

Philip

> 
> Bests,
> Diego
> 



More information about the Openembedded-devel mailing list