snappy images should not ship /etc/profile.d/Z99-cloud-locale-test.sh
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Fix Released
|
Medium
|
Oliver Grawert | ||
livecd-rootfs (Ubuntu) |
Fix Committed
|
Medium
|
Oliver Grawert |
Bug Description
ssh into a snappyfied beagleboardblack and you get the following warning:
It's a brave new world here in Snappy Ubuntu Core! This machine
does not use apt-get or deb packages. Please see 'snap --help'
for app installation and transactional updates.
_______
WARNING! Your environment specifies an invalid locale.
The unknown environment variables are:
LC_CTYPE=
This can affect your user experience significantly, including the
ability to manage packages. You may install the locales by running:
sudo apt-get install locales
sudo apt-get install language-pack-en
or
sudo locale-gen en_US.UTF-8
To see all available language packs, run:
apt-cache search "^language-
To disable this message for all users, run:
sudo touch /var/lib/
_______
It's funny that the first message tells us not to use apt-get and then the second one tells us to do exactly that! Ideally of course, the locale would be automatically set up correctly.
Changed in snappy: | |
status: | Fix Committed → Fix Released |
hmm, we enfoce C.UTF-8 via a profile.d snippet on login since the images contain no locales at all by default (way to heavyweight for IoT devices), smells like there is still something wrong thanks to cloud-init.
i have never seen this message before in 2 years working with snappy images (and haven't heard of anyone else who got it) this is pretty weird.