[e2fsprogs/f17] Add e2fsck.conf with broken_system_clock=1 config

Eric Sandeen sandeen at fedoraproject.org
Fri Apr 20 22:11:03 UTC 2012


commit d1c75dedc7ae41bd9781d228437dbcb189113397
Author: Eric Sandeen <sandeen at redhat.com>
Date:   Fri Apr 20 17:10:40 2012 -0500

    Add e2fsck.conf with broken_system_clock=1 config

 e2fsck.conf    |    2 ++
 e2fsprogs.spec |   11 ++++++++++-
 2 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/e2fsck.conf b/e2fsck.conf
new file mode 100644
index 0000000..3d70a5e
--- /dev/null
+++ b/e2fsck.conf
@@ -0,0 +1,2 @@
+# This will prevent e2fsck from stopping boot just because the clock is wrong
+broken_system_clock = 1
diff --git a/e2fsprogs.spec b/e2fsprogs.spec
index f6f1fe1..2f5e1cd 100644
--- a/e2fsprogs.spec
+++ b/e2fsprogs.spec
@@ -4,13 +4,14 @@
 Summary: Utilities for managing ext2, ext3, and ext4 filesystems
 Name: e2fsprogs
 Version: 1.42
-Release: 2%{?dist}
+Release: 3%{?dist}
 
 # License tags based on COPYING file distinctions for various components
 License: GPLv2
 Group: System Environment/Base
 Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 Source1: ext2_types-wrapper.h
+Source2: e2fsck.conf
 
 Patch1: e2fsprogs-1.40.4-sb_feature_check_ignore.patch
 
@@ -172,6 +173,9 @@ install -p -m 644 %{SOURCE1} %{buildroot}%{_includedir}/ext2fs/ext2_types.h
 # Hack for now, otherwise strip fails.
 chmod +w %{buildroot}%{_libdir}/*.a
 
+# Let boot continue even if *gasp* clock is wrong
+install -p -m 644 %{SOURCE2} %{buildroot}/etc/e2fsck.conf
+
 %find_lang %{name}
 
 %check
@@ -206,6 +210,7 @@ exit 0
 %doc COPYING README RELEASE-NOTES
 
 %config(noreplace) /etc/mke2fs.conf
+%config(noreplace) /etc/e2fsck.conf
 %{_root_sbindir}/badblocks
 %{_root_sbindir}/debugfs
 %{_root_sbindir}/dumpe2fs
@@ -317,6 +322,10 @@ exit 0
 %{_libdir}/pkgconfig/ss.pc
 
 %changelog
+* Fri Apr 20 2012 Eric Sandeen <sandeen@@redhat.com> 1.42-3
+- Add broken system clock config to e2fsck.conf to let boot
+  continue even if system clock very wrong.
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.42-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list