The container's locale should not be bind-mounted from the host and should be programatically set at container start
Bug #1654648 reported by
Christopher Townsend
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Libertine | Status tracked in Devel | |||||
Devel |
Fix Released
|
Medium
|
Larry Price | |||
Trunk |
Fix Released
|
Medium
|
Larry Price | |||
libertine (Ubuntu) |
Fix Released
|
Medium
|
Larry Price |
Bug Description
All container types should no longer bind-mount /usr/lib/locale from the host and instead should be set at container start time, if different from the host.
Related branches
lp:~larryprice/libertine/remove-locale-mount
- Christopher Townsend (community): Approve
- Libertine CI Bot: Approve (continuous-integration)
-
Diff: 34 lines (+1/-4)3 files modifieddata/libertine-lxc.conf (+0/-1)
python/libertine/LxcContainer.py (+0/-2)
python/libertine/LxdContainer.py (+1/-1)
lp:~townsend/libertine/1.5.1-release
- Larry Price: Approve
-
Diff: 927 lines (+276/-122)17 files modifiedCMakeLists.txt (+1/-1)
data/libertine-lxc.conf (+0/-1)
debian/changelog (+27/-0)
liblibertine/libertine.cpp (+2/-18)
python/libertine/ChrootContainer.py (+8/-13)
python/libertine/ContainersConfig.py (+6/-0)
python/libertine/HostInfo.py (+12/-0)
python/libertine/Libertine.py (+82/-13)
python/libertine/LxcContainer.py (+7/-8)
python/libertine/LxdContainer.py (+95/-41)
python/libertine/lifecycle/ContainerLifecycleService.py (+7/-7)
python/libertine/utils.py (+3/-11)
snapcraft.yaml (+1/-1)
tools/libertine-container-manager (+21/-4)
tools/libertine-container-manager.1 (+1/-1)
tools/libertine-lxc-manager (+1/-1)
tools/libertine-lxd-manager (+2/-2)
tags: | added: lxd |
Changed in libertine (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
summary: |
- The host's locale is not being bind-mounted into LXD type containers + The container's locale should not be bind-mounted from the host and + should be programatically set at container start |
description: | updated |
tags: | added: chroot lxc |
Changed in libertine (Ubuntu): | |
status: | Triaged → In Progress |
assignee: | nobody → Larry Price (larryprice) |
To post a comment you must log in.
After further investigation, chroot container types still need the /usr/lib/locale bind-mount, but that is ok since there is no running container and each operation on the chroot is independent of another running operation or running application.