mkinitrd unification across distributions
 help / color / mirror / Atom feed
From: Rex Vaughn <rbvaughn.misc-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: ntpd to set clock prior to mount
Date: Fri, 15 Nov 2013 15:49:28 +0000 (UTC)	[thread overview]
Message-ID: <loom.20131115T160349-696@post.gmane.org> (raw)
In-Reply-To: l657h9$b13$1@ger.gmane.org

Colin Guthrie <gmane@...> writes:

 
> While I appreciate you don't have a question as such, I should really
> point out that for e2fsck to complain like this is totally broken. It
> should be fixed upstream so the config file is just a hack at best.
> Relying on system clocks for any kind of mount check is just
> fundamentally broken.
> 
> Anyway, back to the case in point, if debugging is your main problem
> then systemd-journal is likely the best course of action. It will allow
> you to present your logs in such a way that the timestamp is monotonic
> from the boot time and thus has no relation to wall-clock time in any
> shape or form.
> 
> This is much better for ordering or messages and such like.
> 
> Requiring ntp and thus working network links etc. seems vastly overkill
> here if all you need is to sort out the time.
> 

Since I am running into problems with e2fsck and no battery backup on the
clock, I totally agree with you that the system clock check is fundamentally
broken. :-)

My application requires network access and accurate time in order to
function properly, but I suppose in the strictest sense I don't need the
time set prior to the root filesystem being mounted.  I could wait until
after boot and ensure that the clocks are set at that time.  

As to the debugging, I am more concerned with a system that goes out to a
customer, they run into a problem and tell us the problem started on date x,
now I need to go into the logs and find the date time that the problem occurred.

Thank you for your input, it is appreciated.

RBV



      reply	other threads:[~2013-11-15 15:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-14 23:23 ntpd to set clock prior to mount Rex Vaughn
     [not found] ` <CAF-o458j3=kA8FWMLzg9VSg-Pg5SrOjzPY4sN64U9kZv0i-j7g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-11-15  3:48   ` Nathanael Noblet
     [not found]     ` <5285997D.5090005-sGhsi8tFlmY@public.gmane.org>
2013-11-15 14:52       ` Rex Vaughn
2013-11-15 13:28   ` Colin Guthrie
2013-11-15 15:49     ` Rex Vaughn [this message]

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=loom.20131115T160349-696@post.gmane.org \
    --to=rbvaughn.misc-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox