[Bug 1950450] [NEW] casper: showmounts show-cow boot parameters do not work (casper-snapshot)
a1bert
1950450 at bugs.launchpad.net
Wed Nov 10 10:50:52 UTC 2021
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
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