Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
If the current time in the BIOS is moved to the future, at the time of boot system drops emergency prompt and asks to fsck the disk. Filesystem is ext3.
How reproducible:
can't reproduce the issue consistently. On some occasions, it boots fine without issues and sometime running e2fsck doesn't seem to fix it.
Steps to Reproduce:
1) Change system time to a future value in BIOS. Reboote system and log in (System will mount the root filesystem with future timestamp)
2) Change system time to a past value in BIOS. Reboot system, System will fail
when it will try to mount the root filesystem.
3) Do a e2fsck<root device> and reboot the system.
Actual results:
This fixed issue and logged in, system chosen the old date. On some occasions, it boots fine without issues and sometime running e2fsck doesn't seem to fix it.
Expected results:
e2fsck should fix this.
Additional info:
e2fsprogs-1.41.12-3.el6
Comment 2RHEL Program Management
2011-04-05 20:43:40 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.
Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.
Some of this is expected, but there are patches upstream to relax the clock vs. timestamp requirements. These could be added so that less severe clock differences don't cause a forced fsck.
Actually, all of these upstream commits are in place in the RHEL6 e2fsprogs package.
It is by design that e2fsck -p won't work when the time looks "insane," and a manual fsck is requested.
If this is what you see, it is actually working as intended.
There is also an option, "broken_system_clock" :
from RELEASE-NOTES:
> E2fsck now will completely skip time-based checks if the system clock
> looks insane or the option broken_system_clock is set in
> /etc/e2fsck.conf.
so this behavior can be changed.
I'm going to close this NOTABUG, but feel free to re-open if you feel that this is incorrect, with more detail or rationale...
Thanks,
-Eric