All of lore.kernel.org
 help / color / mirror / Atom feed
From: Diego <diego.ml@zoho.com>
To: openembedded-devel@lists.openembedded.org
Subject: ntpd fails to start if libcap not installed
Date: Fri, 28 Mar 2014 14:40:08 +0100	[thread overview]
Message-ID: <45034856.Fj98ikVczS@localhost.localdomain> (raw)

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



             reply	other threads:[~2014-03-28 13:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-28 13:40 Diego [this message]
2014-03-28 17:43 ` USB wifi configuration MONDON Daniel
2014-03-31  7:58   ` MONDON Daniel
2014-04-01 13:51     ` MONDON Daniel
2014-04-01 15:47       ` Stephen Arnold
2014-03-28 17:55 ` ntpd fails to start if libcap not installed Philip Balister
2014-03-28 18:04   ` Diego
2014-03-30  0:07     ` Khem Raj
2014-04-01 16:05       ` Stephen Arnold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45034856.Fj98ikVczS@localhost.localdomain \
    --to=diego.ml@zoho.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.