Re: ntpd to set clock prior to mount

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/14/2013 04:23 PM, Rex Vaughn wrote:
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.
So I'm looking at writing a module that requires network access but does not require netroot, so I'd be interested in any improvements to the network module that allowed for early networks.

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux