Time mismatch in /etc/localtime and /etc/timezone
Python3-pip installs the dependent package tzdata and blocks the mount of the /etc/localtime file in docker. After deleting the symbolic link docker correctly mounts the external localtime file. Applies only to ubuntu 24.04, in previous versions of ubuntu there was no such problem Closes-Bug: #2091161 Change-Id: I733a50b5ca455cfa4b248dc324500d78c17c817b
This commit is contained in:
parent
681cb1b26d
commit
2d8e98ec7b
@ -323,7 +323,9 @@ RUN apt-get --error-on=any update \
|
||||
&& locale-gen "$LANG" \
|
||||
&& apt-get -y upgrade \
|
||||
&& apt-get -y dist-upgrade \
|
||||
&& {{ macros.install_packages(base_apt_packages | customizable('apt_packages'), True) }}
|
||||
&& {{ macros.install_packages(base_apt_packages | customizable('apt_packages'), True) }} \
|
||||
# NOTE: python3-pip installs dependent tzdata package and blocks mount in docker - 2091161
|
||||
&& unlink /etc/localtime
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
6
releasenotes/notes/bug-2091161-a99c5c243c2514ac.yaml
Normal file
6
releasenotes/notes/bug-2091161-a99c5c243c2514ac.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Python3-pip installs the dependent package tzdata and
|
||||
blocks the mount of the /etc/localtime file in docker.
|
||||
`LP#2091161 <https://launchpad.net/bugs/2081149>`__
|
Loading…
x
Reference in New Issue
Block a user