Control: retitle -1 lxc: lxc-copy --ephemeral always fails Control: tags -1 + confirmed
I've reproduced this locally, and come up with the following patch which I've also forwarded upstream: > diff --git a/src/lxc/conf.c b/src/lxc/conf.c > index 9158713..f956f89 100644 > --- a/src/lxc/conf.c > +++ b/src/lxc/conf.c > @@ -512,6 +512,8 @@ int lxc_storage_prepare(struct lxc_conf *conf) > return log_error(-1, "Failed to mount rootfs \"%s\" onto > \"%s\" with options \"%s\"", > rootfs->path, rootfs->mount, > rootfs->mnt_opts.raw_options ? > rootfs->mnt_opts.raw_options : "(null)"); > + if (!rootfs->bdev_type) > + rootfs->bdev_type = strdup(rootfs->storage->type); > > return 0; > } Mathias
signature.asc
Description: This is a digitally signed message part