Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-10664

[core-kit] lxd 5.6 is unmasked

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical (Application) Critical (Application)
    • None
    • None
    • Hide
      On a virgin Funtoo next system follow the guide here to setup LXD: https://www.funtoo.org/LXD
      Then follow the ffs guide here and start a ffs stage1 build: https://code.funtoo.org/bitbucket/projects/CORE/repos/ffs/browse/README.rst
      The ffs lxd container should fail to start
      Show
      On a virgin Funtoo next system follow the guide here to setup LXD: https://www.funtoo.org/LXD Then follow the ffs guide here and start a ffs stage1 build: https://code.funtoo.org/bitbucket/projects/CORE/repos/ffs/browse/README.rst The ffs lxd container should fail to start
    • Virgin setups of LXD on Funtoo next will not work with new containers
    • lxcfs major version mis-match and incompatibility with lxd

      During a recent virgin setup of LXD for ffs stage1 development and using the Funtoo wiki guide on Funtoo next, I ran into issues with lxcfs not working:

      lxc ffs-root-arm-64bit-gnu-test 20221021202123.257 ERROR    conf - ../lxc-5.0.1/src/lxc/conf.c:lxc_storage_prepare:506 - No such file or directory - Failed to access to "/var/lib/lxc/rootfs". Check it is present
      lxc ffs-root-arm-64bit-gnu-test 20221021202123.257 ERROR    conf - ../lxc-5.0.1/src/lxc/conf.c:lxc_rootfs_init:541 - Invalid argument - Failed to prepare rootfs storage
      lxc ffs-root-arm-64bit-gnu-test 20221021202123.257 ERROR    start - ../lxc-5.0.1/src/lxc/start.c:__lxc_start:2079 - Failed to handle rootfs pinning for container "ffs-root-arm-64bit-gnu-test"

      The tested reason for this is lxcfs 5.0.0 is hard masked but lxd 5.0.1 and beyond is not. Because of package scenario and the LXD install was completely on a fresh system, lxcfs-4.0.12 was install alongside LXD 5.6. To resolve this issue I had to uninstall everything related to LXD, reinstall with lxcfs-5.0.0, and re-init LXD

      The fix is to simple unmasked lxdfs-5.0.0

            drobbins drobbins
            siris siris
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: