-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lxc_rootfs_init
attempts to pin overlayfs due to rootfs->bdev_type == NULL
#4199
Comments
checked again with HEAD (208161e), behavior is still this:
full log file with `-l TRACE`:
(This is with this diff again, which makes it work & provides the information that bdev_type is indeed NULL:)
|
This bug also affects Debian, and has been reported separately: reportbug: lxc-copy --ephemeral always fails |
As best as I can tell, I've come up with this small patch that seems to work, although I don't know if it's the best way to fix this:
|
5.0.0~git2209-g5a7b9ce67
(as packaged in ubuntu; git history indicates no changes/fixes on lxc HEAD for this)Linux lxc2103 5.15.0-47-generic #51-Ubuntu SMP Thu Aug 11 07:51:15 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
lxc-checkconfig
cgroup & mounts
When attempting to run
lxc-copy -e -n build_ubuntu1804_amd64 -N TEST -o logfile -l DEBUG
, the following failure is reported inlogfile
:strace has this to say:
after further investigation, and applying this diff to the source package fetched with
apt source lxc
:it now works with the log saying this:
… but I have absolutely no idea what is actually going on here. It says
Detected rootfs type "overlay"
directly above, but thenrootfs->bdev_type
is NULL?!?The text was updated successfully, but these errors were encountered: