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

Bug #1950450 reported by a1bert
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
casper (Ubuntu)
Triaged
Undecided
Unassigned

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"

Related branches

a1bert (a1bert)
tags: added: casper
tags: added: casper-snapshot
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Thanks for submitting the MR! Hopefully I or someone else can review it soon.

tags: added: foundations-todo
Changed in casper (Ubuntu):
status: New → Triaged
Revision history for this message
Matthew Wilker (mwilker) wrote :

FYI, I'm the person who submitted the MR, but I'm not the person who submitted either this bug or the other one #1931027, which is a duplicate. I marked this bug as a duplicate of the other one because the other one's gotten slightly more attention; let me know if you have any problems or concerns.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.