utmpx on OpenBSD.
Joel Sherrill
joel at rtems.org
Sat Feb 6 18:30:09 UTC 2016
On Sat, Feb 6, 2016 at 12:11 PM, Hal Murray <hmurray at megapathdsl.net> wrote:
>
> esr at thyrsus.com said:
> > >We could easily and cleanly bypass the code that uses utmpx. That
> would >
> > screwup accounting if time stepped by more than a second.
>
> > I'm not entirely clear on the referent of "that". The *bypass* would
> screw
> > up accounting if time stepped by more than a second?
>
> I assume the time-changed info is used by accounting programs. Without
> that
> info, any accounting and possibly billing data for the time logged in will
> be
> off one way or the other if the time gets stepped while you are logged in.
>
> Normally, time is only stepped when ntpd is first run at boot time, and
> even
> then it's often under a second.
>
> You can test your system by grepping your /var/log/messages or
> /var/log/syslog for "clock_step". Look in something like
> /var/log/ntp/ntpd.log if your ntp.conf puts logging in a separate file.
>
> ----
>
> Joel says RTEMS doesn't support utmpx.h so I'll start by making that case
> build.
>
> But you are right. It was ifdefed out in ntp classic so I won't bother to
> recover the utmp (no x) case.
>
> Does buildbot have an OpenBSD machine?
>
> Do we have a way to test on RTEMS?
>
>
> Chris had the first step which is building it on his list. Then we will
have to set up a simulator harness to test. That will involve some
combination of Chris, Amar and I.
So the answer is no currently. It is on the list but below the Linux, BSD
and Windows worlds.
As to the FACE Conformance Test Suite, I will work with Amar offline this
week to get that moving.
--joel
>
> --
> These are my opinions. I hate spam.
>
>
>
> _______________________________________________
> devel mailing list
> devel at ntpsec.org
> http://lists.ntpsec.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/devel/attachments/20160206/4ff30b7c/attachment.html>
More information about the devel
mailing list