[Bug 1282760] Re: update-motd-fsck-at-reboot claims that partitions will be checked even if check is disabled in fstab

Brian Murray brian at ubuntu.com
Fri Feb 21 00:52:34 UTC 2014


Thanks for you work on this patch but, I think the cut command is
incorrect "cut -s -f 2,6", I believe you want "cut -s -f 1,6".  I say
this as ext_partitions is the following on my system:

 $ mount | awk '$5 ~ /^ext(2|3|4)$/ { print $1 }'
/dev/mapper/ubuntu--vg-root
/dev/mapper/virtual--vg-sec--machine
/dev/sda1

and

 $ grep -v '^#' /etc/fstab | tr -s ' ' '\t' | cut -s -f 2,6
/       1
/boot   2
none    0
none    0
/mnt/sec-machines       1

while:

 $ grep -v '^#' /etc/fstab | tr -s ' ' '\t' | cut -s -f 1,6
/dev/mapper/ubuntu--vg-root     1
UUID=1422b209-8540-4bf6-9852-bb5a1181ce54       2
/dev/mapper/ubuntu--vg-swap_1   0
/dev/mapper/cryptswap1  0
/dev/mapper/virtual--vg-sec--machine    1

Does that make sense to you?

** Changed in: update-notifier (Ubuntu)
     Assignee: (unassigned) => Brian Murray (brian-murray)

** Changed in: update-notifier (Ubuntu)
       Status: Triaged => Incomplete

-- 
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/1282760

Title:
  update-motd-fsck-at-reboot claims that partitions will be checked even
  if check is disabled in fstab

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

Bug description:
  When I login remotely I get a message that a partition will be checked
  at next reboot. This message will appear even after the next reboot
  because in my /etc/fstab that partition is marked as not to check
  (last field = 0). Either that message should not appear or it should
  be different to indicate that the partition will not be checked
  automatically but should be checked.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: update-notifier-common 0.152
  ProcVersionSignature: Ubuntu 3.13.0-11.31-generic 3.13.3
  Uname: Linux 3.13.0-11-generic x86_64
  ApportVersion: 2.13.2-0ubuntu5
  Architecture: amd64
  Date: Thu Feb 20 21:17:12 2014
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: update-notifier
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1282760/+subscriptions



More information about the foundations-bugs mailing list