[Bug 692355] Re: fsck doesn't update system info on login

Paul McEnery 692355 at bugs.launchpad.net
Sat Jun 25 11:52:44 UTC 2011


I was affected by this and bug and discovered that it appears to be
caused when the file /var/lib/update-notifier/fsck-at-reboot has a
datestamp in the future. This will never rectify itself unless the
actual date passes the datestamp on the file.

The attached patch fixes the problem.

** Patch added: "motd-fsck.patch"
   https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/692355/+attachment/2181094/+files/motd-fsck.patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to e2fsprogs in Ubuntu.
https://bugs.launchpad.net/bugs/692355

Title:
  fsck doesn't update system info on login

Status in “e2fsprogs” package in Ubuntu:
  New

Bug description:
  Every time I login to my Ubuntu 11.04 Alpha 1 (server), I see this
  message:

  *** /dev/sda5 will be checked for errors at next reboot ***

  I have done both the 'touch /forcefsck' (file is gone after reboot)
  and I have done 'shutdown -rF now' and yet the message is still
  displayed.  I checked my boot.log and fsck did run:

  fsck from util-linux-ng 2.17.2 
  fsck from util-linux-ng 2.17.2 
  /dev/mapper/sh*tbox1-root: clean, 103845/4669440 files, 1179707/18669568 blocks
  /dev/sda5: clean, 245/124496 files, 83515/248976 blocks

  Since fsck did run successfully, the '*** /dev/sda5 will be checked
  for errors at next reboot ***' message should not appear again unless
  the system has determined the filesystem is dirty. I seriously doubt
  that this not very old drive is having this many problems, especially
  since the OS runs 24/7 with no problems besides this.

  lsb_release -rd:
  Description:    Ubuntu natty (development branch)
  Release:        11.04

  uname -a output:
  Linux node1 2.6.37-10-server #24-Ubuntu SMP Thu Dec 16 18:10:40 UTC 2010 x86_64 GNU/Linux

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/692355/+subscriptions




More information about the foundations-bugs mailing list