--- Em qui, 16/5/13, Fernando escreveu:
> De: Fernando
> Assunto: Re: [blfs-support] ntp-4.2.6p5
> Para: blfs-support
> Data: Quinta-feira, 16 de Maio de 2013, 22:46
> Em 16-05-2013 22:39, Ken Moffat
> escreveu:
> > On Thu, May 16, 2013 at 08:13:28PM -0500, Bruce Dubbs
> wrote:
> >>
> >> My post was from (very dated) memory. I have
> not kept up on the
> >> details. I now see from the man page that -u
> is only available with
> >> --enable-linuxcaps
> >>
> >> -- Bruce
> >
> > Yes, that fits - I've now booted my latest build,
> and reverted my
> > changes to the ntp bootscript. With
> LFS-svn-20130429 plus anything
> > I changed [ looks like linux-3.9 for the headers, and
> zlib-1.2.8,
> > plus using eudev (no offence intended - if you want to
> keep editing
> > the Makefile for udev-from-systemd I'm not bothered,
> but I'd rather
> > not spend time on something where other people are
> trying to make a
> > working fork) ], plus blfs-bootscripts-20130324, with
> the following
> > in passwd and group:
> >
> > ntp:x:87:87:Network Time
> Protocol:/var/lib/ntp:/bin/false
> > and
> > ntp:x:87:
> >
> > I get -
> > /usr/bin/ntpd: The ``user'' option has been disabled --
> built
> > without --enable-checkctl or --enable-linuxcaps
> >
> > followed by a version report and some other
> text.
> >
> > Since I haven't seen Fernando's original post, I
> don't know if this
> > is the same as he reported. I also haven't
> compared it to my
> > 20130423 build where I *thought* that adding the user
> and group had
> > quietened it.
> >
>
> Exactly the same.
>
> > At the moment I haven't looked at what
> --enable-linuxcaps requires.
I am sending this from the webmail. Recently, I have switched to use
only Thunderbird, and some problems appeared, Ken and I not receiving
message(s).
Now everything succeeded with ntp and default book's bootscript for ntpd.
However, I have built it with "--enable-linuxcaps" in configure.
Below, "log" of what I did since yesterday.
Thank you very much, Bruce and Ken.
[]s,
Fernando
2013.05.17
As it was yesterday:
grepped from boot.log:
May 16 20:02:38 -03:00 VMWLFS73 Starting ntpd...FAIL
May 16 20:05:54 -03:00 VMWLFS73 Starting ntpd...FAIL
May 16 20:29:08 -03:00 VMWLFS73 Starting ntpd... OK
Reverted to default bootscript, left chroot, rebooted.
Boot displayed error:
trying to start ntpd from command line using bootscript:
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>] ]...
#[0G#[1;31m*****#[0;39m#[72G#[1;34m[#[1;31m FAIL #[1;34m]#[0;39m
>From Ken's message:
"I get -
/usr/bin/ntpd: The ``user'' option has been disabled -- built
without --enable-checkctl or --enable-linuxcaps
followed by a version report and some other text."
Without libcap, config succeeds with "--enable-linuxcaps" option,
but make fails.
Now will reboot, chroot, install libcap and reinstall ntp.
After reboot:
$ grep ntp /var/log/boot.log
May 16 20:02:38 -03:00 VMWLFS73 Starting ntpd...FAIL
May 16 20:05:54 -03:00 VMWLFS73 Starting ntpd...FAIL
May 16 20:29:08 -03:00 VMWLFS73 Starting ntpd... OK
May 17 10:01:19 -03:00 VMWLFS73 Starting ntpd...FAIL
May 17 11:31:59 -03:00 VMWLFS73 Starting ntpd... OK
New FAIL was just to be sure, before reinstall, it would need
dependencies and switch.
Bootscript status:
$ grep start_daemon /etc/rc.d/init.d/ntpd
start_daemon /usr/sbin/ntpd -g -u ntp:ntp
#start_daemon /usr/sbin/ntpd -g
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page