All of lore.kernel.org
 help / color / mirror / Atom feed
* ntpd to set clock prior to mount
@ 2013-11-14 23:23 Rex Vaughn
       [not found] ` <CAF-o458j3=kA8FWMLzg9VSg-Pg5SrOjzPY4sN64U9kZv0i-j7g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Rex Vaughn @ 2013-11-14 23:23 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA

I have a set of machines that don't have battery backups for the real
time clock. when the power is cycled on these machines, the real time
clock resets to the BIOS epoch time which is usually a year or two in
the past.  Each time I boot, I get fsck failure because the superblock
time is in the future.  I am aware of the e2fsck configuration file
that I can put into /etc with the broken_clock option, however I
still get log files that have the time set in the past.  Having
invalid times in the log files can make debugging boot problems very
problematic.

I have hacked together a dracut ntpd module that will set the time but
it requires modifications to the network module to turn on the network
even when netroot is not set.

I guess I don't really have a question because what I have done seems
to work, but I was wondering what others think of this to see if it
might be a worthwhile addition to dracut or if I should just keep
going with my hacked version.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-11-15 15:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.