All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philip Balister <philip@balister.org>
To: openembedded-devel@lists.openembedded.org
Cc: Diego <diego.ml@zoho.com>
Subject: Re: ntpd fails to start if libcap not installed
Date: Fri, 28 Mar 2014 10:55:28 -0700	[thread overview]
Message-ID: <5335B790.1010107@balister.org> (raw)
In-Reply-To: <45034856.Fj98ikVczS@localhost.localdomain>

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
> 


  parent reply	other threads:[~2014-03-28 17:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-28 13:40 ntpd fails to start if libcap not installed Diego
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 ` Philip Balister [this message]
2014-03-28 18:04   ` ntpd fails to start if libcap not installed 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=5335B790.1010107@balister.org \
    --to=philip@balister.org \
    --cc=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.