it is in /usr/sbin and it is in the lxd’s path. I have tried symlinking to /usr/bin but still the same
[root@alexlm ~]# pgrep lxd 1484 [root@alexlm ~]# xargs -0 < /proc/1484/cmdline lxd --logfile /var/snap/lxd/common/lxd/logs/lxd.log --group lxd [root@alexlm ~]# xargs -0n1 < /proc/1484/environ | grep ^PATH PATH=/snap/lxd/current/zfs-0.8/bin:/run/bin:/snap/lxd/16926/usr/sbin:/snap/lxd/16926/usr/bin:/snap/lxd/16926/sbin:/snap/lxd/16926/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/lxd/current/bin [root@alexlm ~]# which criu /usr/sbin/criu > On 5. Sep 2020, at 15:00, Serge E. Hallyn <se...@hallyn.com> wrote: > > On Sat, Sep 05, 2020 at 02:55:42PM +0200, Aleksandar Ivanisevic wrote: >> they both have it, the first version command was a ssh to alexsv >> >> [root@alexlm ~]# ssh alex@alexsv criu --version >> Version: 3.14 >> [root@alexlm ~]# criu --version >> Version: 3.12 > > What is the path to criu on the dest server? lxd just uses > exec.LookPath("criu"), so maybe criu isn't in lxd's patch? > >>> On 5. Sep 2020, at 14:54, Aleksandar Ivanisevic >>> <aleksandar.ivanise...@2e-systems.com> wrote: >>> >>> they both have it, the first command was a ssh to alexsv >>> >>> [root@alexlm ~]# ssh alex@alexsv criu --version >>> Version: 3.14 >>> [root@alexlm ~]# criu --version >>> Version: 3.12 >>> >>>> On 5. Sep 2020, at 14:52, Serge E. Hallyn <se...@hallyn.com >>>> <mailto:se...@hallyn.com>> wrote: >>>> >>>> On Fri, Sep 04, 2020 at 06:24:12PM +0200, Aleksandar Ivanisevic wrote: >>>>> Hi, >>>>> >>>>> >>>>> [root@alexlm ~]# lxc move test2 alexsv: >>>>> Error: Unable to perform container live migration. CRIU isn't installed >>>>> on the destination server >>>>> [root@alexlm ~]# lxc move --mode push test2 alexsv: >>>>> Error: Unable to perform container live migration. CRIU isn't installed >>>>> on the destination server >>>>> [root@alexlm ~]# ssh alex@alexsv criu --version >>>>> Version: 3.14 >>>>> [root@alexlm ~]# criu --version >>>>> Version: 3.12 >>>>> >>>>> what am I missing? Adding —verbose and —debug just dumps the lxd API >>>>> requests >>>>> >>>>> thanks, >>>> >>>> alexlm has crio, but does alexsv have it? >>>> _______________________________________________ >>>> lxc-users mailing list >>>> lxc-users@lists.linuxcontainers.org >>>> <mailto:lxc-users@lists.linuxcontainers.org> >>>> http://lists.linuxcontainers.org/listinfo/lxc-users >>> >>> -- >>> Aleksandar Ivanisevic >>> Head of Operations and Support >>> 2e Systems >>> >>> Tel: +49 - 6196 - 950 58 14 >>> Fax: +49 - 6196 - 950 58 94 >>> E-mail: aleksandar.ivanise...@2e-systems.com >>> <mailto:aleksandar.ivanise...@2e-systems.com> >>> >>> Address: 2e Systems GmbH, Koenigsteiner Str. 107, 65812 Bad Soden am Taunus >>> Company registration: Amtsgericht Koenigstein (Germany), HRB 7303 >>> Director: Philip Douglas >>> >>> http://www.2e-systems.com - making your business fly! >>> >>> >> >> > >> _______________________________________________ >> lxc-users mailing list >> lxc-users@lists.linuxcontainers.org >> http://lists.linuxcontainers.org/listinfo/lxc-users > > _______________________________________________ > lxc-users mailing list > lxc-users@lists.linuxcontainers.org > http://lists.linuxcontainers.org/listinfo/lxc-users _______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users