serge@sergelap:~$ sudo chroot /var/lib/lxc/r2/rootfs local-gen fr_CA.UTF8
chroot: failed to run command 'local-gen': No such file or directory
serge@sergelap:~$ which locale-gen
/usr/sbin/locale-gen
serge@sergelap:~$ sudo chroot /var/lib/lxc/r2/rootfs /usr/sbin/locale-gen 
fr_CA.UTF8

Looks like the template needs to specify the full path for locale-gen

** Changed in: lxc (Ubuntu)
       Status: New => Triaged

** Changed in: lxc (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1166841

Title:
  lxc-create fails if LANG != en_GB.UTF-8

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1166841/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to