e2fsprogs/e2fsck
Theodore Ts'o ba5131f6d4 e2fsck: Accept superblock times to be fudged by up to 24 hours by default
Unfortunately, due to Windows' unfortunate design decision to
configure the hardware clock to tick localtime, instead of the more
proper and less error-prone UTC time, many users end up in the
situation where the system clock is incorrectly set at the time when
e2fsck is run.

Historically this was usually due to some distributions having buggy
init scripts and/or installers that didn't correctly detect this case
and take appropriate countermeasures.  However, it's still possible,
despite the best efforts of init script and installer authors to not
be able to detect this misconfiguration, usually due to a buggy or
misconfigured virtualization manager or the installer not having
access to a network time server during the installation process.  So
by default, we allow the superblock times to be fudged by up to 24
hours.  This can be disabled by setting options.accept_time_fudge to
the boolean value of false in e2fsck.conf.  The old
options.buggy_init_scripts is left for backwards compatibility.

Since we are now accepting the 24 hour time fudge by default, there is
no longer a need to install an Ubuntu-specific e2fsck.conf file, so we
can remove it.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-10-16 20:59:20 -04:00
..
CHANGES Many files: 1997-04-26 13:21:57 +00:00
Makefile.in Don't use in-tree header files if using system uuid or blkid libraries 2009-10-04 14:45:08 -04:00
Makefile.pq Many files: 1997-11-14 05:23:04 +00:00
argv_parse.c remove useless if-before-free tests 2009-03-08 20:37:12 -04:00
argv_parse.h Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
badblocks.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
crc32.c Fix compiling under diet libc 2008-09-12 09:10:39 -04:00
crc32defs.h Only use __builtin_expect if __GNUC__ > 3 2008-07-13 16:06:56 -04:00
dict.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
dict.h Fixx gcc -Wall nitpicks. 2003-07-06 00:36:48 -04:00
dirinfo.c e2fsck: fix miscellaneous memory leaks 2009-06-15 03:54:06 -04:00
dx_dirinfo.c e2fsck: fix miscellaneous memory leaks 2009-06-15 03:54:06 -04:00
e2fsck.8.in Update man pages to include ext4 in the synposis, instead of just "ext2/ext3" 2009-05-30 12:34:28 -04:00
e2fsck.c e2fsck: When repacking directories, leave slack space for more efficiency 2008-12-25 17:59:36 -05:00
e2fsck.conf.5.in e2fsck: Accept superblock times to be fudged by up to 24 hours by default 2009-10-16 20:59:20 -04:00
e2fsck.h Add empty function for init_resource_track() and print_resource_track() 2009-05-28 09:55:10 -04:00
ea_refcount.c Fix compiling under diet libc 2008-09-12 09:10:39 -04:00
ehandler.c e2fsck: exit from preenhalt if IO errors were encountered 2008-10-12 23:12:22 -04:00
emptydir.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
extend.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
flushb.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
gen_crc32table.c Fix gcc -Wall warnings in e2fsck 2008-06-07 11:04:10 -04:00
iscan.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
jfs_user.h e2fsck: Fix journal replay for block sizes greater than 8k 2009-01-02 18:14:42 -05:00
journal.c e2fsck: Fix journal replay bug which reverts changes to the bg descriptors 2009-05-25 22:09:59 -04:00
message.c e2fsck: Fix handling of non-zero i_blocks_high field 2009-10-12 21:59:37 -04:00
mtrace.awk Many files: 1997-04-26 13:21:57 +00:00
mtrace.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
mtrace.h ChangeLog, super.c: 2001-01-12 21:05:57 +00:00
pass1.c e2fsck: Fix handling of non-zero i_blocks_high field 2009-10-12 21:59:37 -04:00
pass1b.c e2fsck: fix miscellaneous memory leaks 2009-06-15 03:54:06 -04:00
pass2.c e2fsck: remove unnecessary continue statement 2009-07-06 23:24:18 -04:00
pass3.c Add empty function for init_resource_track() and print_resource_track() 2009-05-28 09:55:10 -04:00
pass4.c Add empty function for init_resource_track() and print_resource_track() 2009-05-28 09:55:10 -04:00
pass5.c e2fsck: remove unused variable in check_block_bitmap() 2009-07-06 23:24:18 -04:00
problem.c e2fsck: Accept superblock times to be fudged by up to 24 hours by default 2009-10-16 20:59:20 -04:00
problem.h e2fsck: Add a global latch question for bad group descriptor checksums 2009-08-19 01:06:50 -04:00
problemP.h Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
prof_err.et Add the profile library code to e2fsck 2005-12-30 23:57:32 -05:00
profile.c remove useless if-before-free tests 2009-03-08 20:37:12 -04:00
profile.h Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
profile_helpers.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
profile_helpers.h Simplify profile core functionality 2006-01-02 22:04:41 -05:00
recovery.c Fix gcc -Wall warnings in e2fsck 2008-06-07 11:04:10 -04:00
region.c Fix compiling under diet libc 2008-09-12 09:10:39 -04:00
rehash.c Fix encoding for rec_len in directories for >= 64k blocksize file systems 2009-06-21 21:07:38 -04:00
revoke.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
scantest.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
super.c e2fsck: Accept superblock times to be fudged by up to 24 hours by default 2009-10-16 20:59:20 -04:00
unix.c e2fsck: Avoid scary failure messages on low-memory systems 2009-09-01 20:01:38 -04:00
util.c Add empty function for init_resource_track() and print_resource_track() 2009-05-28 09:55:10 -04:00