From: Koen Kooi <koen@dominion.thruhere.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-networking][PATCH] ntp: make daemon run under ntp:ntp
Date: Tue, 28 Oct 2014 12:23:34 +0100 [thread overview]
Message-ID: <m2nubm$sph$1@ger.gmane.org> (raw)
In-Reply-To: <1414466854-22119-1-git-send-email-Qi.Chen@windriver.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Qi.Chen@windriver.com schreef op 28-10-14 04:27:
> From: Chen Qi <Qi.Chen@windriver.com>
>
> Fix the service so that the ntpd daemon is run under ntp:ntp.
>
> Signed-off-by: Chen Qi <Qi.Chen@windriver.com> ---
> meta-networking/recipes-support/ntp/ntp/ntpd.service | 2 +- 1 file
> changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-networking/recipes-support/ntp/ntp/ntpd.service
> b/meta-networking/recipes-support/ntp/ntp/ntpd.service index
> b7c4268..0e3d7cd 100644 ---
> a/meta-networking/recipes-support/ntp/ntp/ntpd.service +++
> b/meta-networking/recipes-support/ntp/ntp/ntpd.service @@ -5,7 +5,7 @@
> After=network.target [Service] Type=forking PIDFile=/run/ntpd.pid
> -ExecStart=/usr/sbin/ntpd -p /run/ntpd.pid -g +ExecStart=/usr/sbin/ntpd
> -u ntp:ntp -p /run/ntpd.pid -g
Wouldn't User=ntp be a better approach, or does ntp need more priviliges
during startup before dropping then and su'ing?
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFUT3y2MkyGM64RGpERAtEyAKC8qvQHY46gq2orocsyv1XW2pfedgCeJ1zt
B/CVWPNqMCM4wBVm5oTviog=
=3fjp
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2014-10-28 11:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-28 3:27 [meta-networking][PATCH] ntp: make daemon run under ntp:ntp Qi.Chen
2014-10-28 10:46 ` Andreas Müller
2014-10-28 11:17 ` Peter A. Bigot
2014-10-28 11:23 ` Koen Kooi [this message]
2014-10-28 11:28 ` Peter A. Bigot
2014-11-04 20:10 ` Joe MacDonald
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='m2nubm$sph$1@ger.gmane.org' \
--to=koen@dominion.thruhere.net \
--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.