Public bug reported:

ubuntu 14.04
mountall 2.53

Sometimes mountall is not mounting /dev/mapper/cryptswap1 because the
/dev/dm-0 node is not being ready.

Mountall debug log when it's ready:
-------------------------------------------------
try_mount: /dev/mapper/cryptswap1 waiting for device
try_udev_device: ignored /dev/dm-0 (not yet ready?)
try_udev_device: block /dev/sda3 0bc51a6d-e14e-4586-8313-4d2ec5b54201 (null)
try_udev_device: ignored /dev/dm-0 (not yet ready?)
try_udev_device: block /dev/dm-0 ebef4c79-048a-45b8-a18f-2fbeaa6ac738 (null)
try_udev_device: /dev/mapper/cryptswap1 by link /dev/mapper/cryptswap1
run_fsck: /dev/mapper/cryptswap1: no check required
mounting event sent for swap /dev/mapper/cryptswap1
mounting event handled for swap /dev/mapper/cryptswap1
activating /dev/mapper/cryptswap1
spawn: swapon /dev/mapper/cryptswap1
spawn: swapon /dev/mapper/cryptswap1 [1049]
swapon /dev/mapper/cryptswap1 [1049] exited normally
mounted: /dev/mapper/cryptswap1
fsck_update: updating check priorities
mounted event handled for swap /dev/mapper/cryptswap1
swap finished

Block device attributtes when the swap is on:
--------------------------------------------------------------
(sudo blkid /dev/mapper/cryptswap1);(sudo blkid /dev/dm-0)
/dev/mapper/cryptswap1: UUID="ebef4c79-048a-45b8-a18f-2fbeaa6ac738" TYPE="swap" 
/dev/dm-0: UUID="ebef4c79-048a-45b8-a18f-2fbeaa6ac738" TYPE="swap"

Mountall debug log when it's not ready:
-------------------------------------------------------
try_mount: /dev/mapper/cryptswap1 waiting for device
try_udev_device: ignored /dev/dm-0 (not yet ready?)
try_udev_device: block /dev/sda3 0bc51a6d-e14e-4586-8313-4d2ec5b54201 (null)
try_udev_device: ignored /dev/dm-0 (not yet ready?)
try_udev_device: ignored /dev/dm-0 (not yet ready?)
try_mount: /dev/mapper/cryptswap1 waiting for device
try_mount: /dev/mapper/cryptswap1 waiting for device

** Affects: mountall (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mountall in Ubuntu.
https://bugs.launchpad.net/bugs/1351743

Title:
  not ready dm node is causing no swap

Status in “mountall” package in Ubuntu:
  New

Bug description:
  ubuntu 14.04
  mountall 2.53

  Sometimes mountall is not mounting /dev/mapper/cryptswap1 because the
  /dev/dm-0 node is not being ready.

  Mountall debug log when it's ready:
  -------------------------------------------------
  try_mount: /dev/mapper/cryptswap1 waiting for device
  try_udev_device: ignored /dev/dm-0 (not yet ready?)
  try_udev_device: block /dev/sda3 0bc51a6d-e14e-4586-8313-4d2ec5b54201 (null)
  try_udev_device: ignored /dev/dm-0 (not yet ready?)
  try_udev_device: block /dev/dm-0 ebef4c79-048a-45b8-a18f-2fbeaa6ac738 (null)
  try_udev_device: /dev/mapper/cryptswap1 by link /dev/mapper/cryptswap1
  run_fsck: /dev/mapper/cryptswap1: no check required
  mounting event sent for swap /dev/mapper/cryptswap1
  mounting event handled for swap /dev/mapper/cryptswap1
  activating /dev/mapper/cryptswap1
  spawn: swapon /dev/mapper/cryptswap1
  spawn: swapon /dev/mapper/cryptswap1 [1049]
  swapon /dev/mapper/cryptswap1 [1049] exited normally
  mounted: /dev/mapper/cryptswap1
  fsck_update: updating check priorities
  mounted event handled for swap /dev/mapper/cryptswap1
  swap finished

  Block device attributtes when the swap is on:
  --------------------------------------------------------------
  (sudo blkid /dev/mapper/cryptswap1);(sudo blkid /dev/dm-0)
  /dev/mapper/cryptswap1: UUID="ebef4c79-048a-45b8-a18f-2fbeaa6ac738" 
TYPE="swap" 
  /dev/dm-0: UUID="ebef4c79-048a-45b8-a18f-2fbeaa6ac738" TYPE="swap"

  Mountall debug log when it's not ready:
  -------------------------------------------------------
  try_mount: /dev/mapper/cryptswap1 waiting for device
  try_udev_device: ignored /dev/dm-0 (not yet ready?)
  try_udev_device: block /dev/sda3 0bc51a6d-e14e-4586-8313-4d2ec5b54201 (null)
  try_udev_device: ignored /dev/dm-0 (not yet ready?)
  try_udev_device: ignored /dev/dm-0 (not yet ready?)
  try_mount: /dev/mapper/cryptswap1 waiting for device
  try_mount: /dev/mapper/cryptswap1 waiting for device

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to