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

Stephen 1012web at ostermiller.com
Sun Apr 21 18:20:08 UTC 2013


If you want to remove the message from motd without rebooting here is
the command to delete the file that has the problem message cached and
fully regenerate the motd:

sudo bash -c 'rm /var/lib/update-notifier/fsck-at-reboot && for file in
/etc/update-motd.d/*; do $file; done > /var/run/motd' && cat /etc/motd

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

Title:
  fsck doesn't update system info on login

Status in “update-notifier” package in Ubuntu:
  Triaged

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/update-notifier/+bug/692355/+subscriptions




More information about the foundations-bugs mailing list