Subject: e2fsprogs: No automatic fsck on ext4 fs after checktime reached

From: Anders Boström <[email-masked]>
Date: Mon, 25 May 2015 14:02:15 +0200 (CEST)

Package: e2fsprogs
Version: 1.42.12-1.1
Severity: normal

Hi!

During boot, I see this:

[    6.131592] EXT4-fs (sdb1): warning: checktime reached, running e2fsck is recommended

And:

sid:~# tune2fs -l /dev/sdb1 
tune2fs 1.42.12 (29-Aug-2014)
Filesystem volume name:   ssdroot
Last mounted on:          /
Filesystem UUID:          6332a26f-7e6f-490f-84dc-fd13893ea803
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Filesystem flags:         signed_directory_hash 
Default mount options:    user_xattr
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              2318336
Block count:              9257984
Reserved block count:     462899
Free blocks:              3785535
Free inodes:              1660551
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      1021
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8192
Inode blocks per group:   512
RAID stripe width:        128
Flex block group size:    16
Filesystem created:       Wed Aug 18 12:34:51 2010
Last mount time:          Fri May 22 17:00:45 2015
Last write time:          Fri May 22 17:00:44 2015
Mount count:              8
Maximum mount count:      21
Last checked:             Wed Nov 19 00:54:22 2014
Check interval:           15552000 (6 months)
Next check after:         Mon May 18 01:54:22 2015
Lifetime writes:          326 GB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:               256
Required extra isize:     28
Desired extra isize:      28
Journal inode:            8
First orphan inode:       1182231
Default directory hash:   half_md4
Directory Hash Seed:      db41d842-55bd-409f-81ac-fa8d063a6427
Journal backup:           inode blocks
sid:~# 

Why is just a warning given, why isn't the filesystem checked
automatically?

This seems like the same bug as
https://bugzilla.novell.com/show_bug.cgi?id=866283 .

/ Anders

-- System Information:
Debian Release: 8.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (94, 'proposed-updates'), (60, 'testing'), (45, 'testing-proposed-updates'), (40, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=sv_SE.utf8, LC_CTYPE=sv_SE.utf8 (charmap=UTF-8) (ignored: LC_ALL set to sv_SE.UTF8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages e2fsprogs depends on:
ii  e2fslibs    1.42.12-1.1
ii  libblkid1   2.25.2-6
ii  libc6       2.19-18
ii  libcomerr2  1.42.12-1.1
ii  libss2      1.42.12-1.1
ii  libuuid1    2.25.2-6
ii  util-linux  2.25.2-6

e2fsprogs recommends no packages.

Versions of packages e2fsprogs suggests:
pn  e2fsck-static  <none>
ii  gpart          0.1h-11+b1
ii  parted         3.2-7

-- no debconf information