[Pkg-sysvinit-devel] Bug#780364: Bug#780364: The problem disappeared, when I removed /etc/adjtime file and rebooted
Michael Biebl
email at michaelbiebl.de
Tue May 5 12:19:09 UTC 2015
On Fri, 13 Mar 2015 18:36:51 -0300 Henrique de Moraes Holschuh
<hmh at debian.org> wrote:
> On Thu, 12 Mar 2015, wzabolot at elektron.elka.pw.edu.pl wrote:
> > I have deleted the /etc/adjtime in the affected machine and rebooted it.
> > After that it boots correctly, without a delay caused by the "future
> > superblock write time".
> > However I don't understand what was the real cause of the problem...
>
> /etc/adjtime has two relevant fields. One tells whether the RTC is in UTC
> or local time, and the other has its systematic drift.
>
> Both can, if wrong, result in some system tools changing the system time
> backwards if they're called during boot.
>
Most likely, /etc/adjtime was configured to use local time and you ran
into [1]. In systemd, we avoid that error by skipping the file system
check if already done in the initramfs [2].
I think sysvinit should do the same and test for the flag files created
by initramfs-tools [3].
Cheers,
Michael
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=767040
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782522
[3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782481
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20150505/dba17574/attachment.sig>
More information about the Pkg-sysvinit-devel
mailing list