Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#71245 - [lxc] 4.0.9 can't handle zfs rootfs
Attached to Project:
Community Packages
Opened by André (lianse) - Sunday, 13 June 2021, 08:46 GMT
Last edited by Morten Linderud (Foxboron) - Sunday, 10 October 2021, 09:05 GMT
Opened by André (lianse) - Sunday, 13 June 2021, 08:46 GMT
Last edited by Morten Linderud (Foxboron) - Sunday, 10 October 2021, 09:05 GMT
|
DetailsDescription:
Lxc-4.0.9 can't start containers which have zfs baked rootfs (i.e. lxc.rootfs.path = zfs:tank/vms/vm01) Possible workaround: downgrade to last version before or apply given commits (from upstream master) ** https://github.com/lxc/lxc/commit/0dd4788a84de4ceb2a246c1ee7bc7e2242e61f8a ** https://github.com/lxc/lxc/commit/4bc6ecbfb77a0b5f8c7acd2159bea6275c4ae842 container log will show: ERROR conf - conf.c:lxc_rootfs_init:557 - Bad file descriptor - Failed to open "tank/vms/vm01" ERROR start - start.c:__lxc_start:2045 - Failed to handle rootfs pinning for container "vm01" Steps to reproduce: - install lxc-4.0.9 and configure one container to use a zfs subvolume as rootfs - starting the container will fail |
This task depends upon
Lxc 1.0.10 alredy contains this fix https://github.com/lxc/lxc/blob/d867b94c22fccbcc153882867672a19198a0b2a0/src/lxc/conf.c#L559-L566. Bug can be closed