Public bug reported:

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"

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

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

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to