casper: showmounts show-cow boot parameters do not work (casper-snapshot)
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.
apt-cache policy casper
casper:
Installed: 1.445
Candidate: 1.445
Version table:
*** 1.445 100
100 /var/lib/
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
- Dan Bungert (community): Needs Fixing
- git-ubuntu import: Pending requested
-
Diff: 75 lines (+20/-0) (has conflicts)2 files modifieddebian/manpage/casper.7 (+3/-0)
scripts/casper (+17/-0)
tags: | added: casper |
tags: | added: casper-snapshot |
Thanks for submitting the MR! Hopefully I or someone else can review it soon.