Public bug reported:

If LANG is not 'en_GB.UTF-8', lxc-create fails:


$ echo $LANG
fr_CA.UTF8
$ sudo lxc-create -n foo -t ubuntu -- raring

lxc-create: No config file specified, using the default config 
/etc/lxc/default.conf
Checking cache download in /var/cache/lxc/raring/rootfs-i386 ... 
Copy /var/cache/lxc/raring/rootfs-i386 to /var/lib/lxc/foo/rootfs ... 
Copying rootfs to /var/lib/lxc/foo/rootfs ...
lxc-create: failed to execute template 'ubuntu'
lxc-create: aborted
$ export LANG=C
$ sudo lxc-create -n foo -t ubuntu -- raring

lxc-create: No config file specified, using the default config 
/etc/lxc/default.conf
Checking cache download in /var/cache/lxc/raring/rootfs-i386 ... 
Copy /var/cache/lxc/raring/rootfs-i386 to /var/lib/lxc/foo/rootfs ... 
Copying rootfs to /var/lib/lxc/foo/rootfs ...
lxc-create: failed to execute template 'ubuntu'
lxc-create: aborted
$ export LANG=en_GB.UTF-8

lxc-create: No config file specified, using the default config 
/etc/lxc/default.conf
Checking cache download in /var/cache/lxc/raring/rootfs-i386 ... 
Copy /var/cache/lxc/raring/rootfs-i386 to /var/lib/lxc/raring/rootfs ... 
Copying rootfs to /var/lib/lxc/raring/rootfs ...
Generating locales...
  en_GB.UTF-8... done
Generation complete.

##
# The default user is 'ubuntu' with password 'ubuntu'!
# Use the 'sudo' command to run tasks as root in the container.
##

'ubuntu' template installed
'raring' created

** Affects: lxc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in 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-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to