[Bug 1950450] Re: casper: showmounts show-cow boot parameters do not work (casper-snapshot)

Matthew Wilker 1950450 at bugs.launchpad.net
Sun Sep 18 14:45:32 UTC 2022


** Merge proposal linked:
   https://code.launchpad.net/~mwilker/ubuntu/+source/casper/+git/casper/+merge/430062

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

Title:
  casper: showmounts  show-cow boot parameters  do not work (casper-
  snapshot)

Status in casper package in Ubuntu:
  New

Bug description:
  lsb_release -rd
  Description:	Ubuntu 20.04 LTS
  Release:	20.04
  (custom debootstrap created filesystem.squashfs)

  apt-cache policy casper
  casper:
    Installed: 1.445
    Candidate: 1.445
    Version table:
   *** 1.445 100
          100 /var/lib/dpkg/status

  
  casper-snapshot is not working because /cow is not exposed when using  showmounts|show-cow boot parameters

  there is no /cow directory on rootmnt when trying to move /cow:

     # move /cow such that live-system can poke & debug the overlayfs layers
      mount -o move /cow "${rootmnt}/cow"

  
  error in casper.log:

  mount: mounting /cow on /root/cow failed: No such file or directory

  
  casper-snapshot:

  Error: /cow is not a directory


  
  FIX: create ${rootmnt}/cow dir before moving:

     # move /cow such that live-system can poke & debug the overlayfs layers
     mkdir -p "${rootmnt}/cow"
     mount -o move /cow "${rootmnt}/cow"

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




More information about the foundations-bugs mailing list