[oe] ntpd fails to start if libcap not installed

Diego diego.ml at zoho.com
Fri Mar 28 13:40:08 UTC 2014


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?

Bests,
Diego




More information about the Openembedded-devel mailing list