Commit ade34bf
authored
[Bookworm] Fix timezone propagation to containers (#21079)
- Why I did it
Fix #20925
Not cherry-pickable to 202405, will raise a separate PR
- How I did it
Mount /etc/localtime on containers and remove /etc/timezone dependency
- How to verify it
root@sonic:/home/admin# zdump /etc/localtime
/etc/localtime Fri Dec 6 23:24:03 2024 IST
root@sonic:/home/admin# docker exec swss zdump /etc/localtime
/etc/localtime Fri Dec 6 23:24:12 2024 IST
Verify swss.rec/sairedis.rec and syslog are following same time
Signed-off-by: Vivek <[email protected]>1 parent c0ff067 commit ade34bf
File tree
45 files changed
+21
-124
lines changed- dockers
- docker-database
- docker-dhcp-relay
- docker-dhcp-server
- docker-eventd
- docker-fpm-frr
- docker-iccpd
- docker-lldp
- docker-macsec
- docker-mux
- docker-nat
- docker-orchagent
- docker-platform-monitor
- docker-router-advertiser
- docker-sflow
- docker-snmp
- docker-sonic-gnmi
- docker-sonic-mgmt-framework
- docker-sonic-p4rt
- docker-sonic-telemetry
- docker-teamd
- rules
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
45 files changed
+21
-124
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | 136 | | |
141 | 137 | | |
142 | 138 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | 13 | | |
18 | 14 | | |
19 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | 111 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 31 | | |
43 | 32 | | |
44 | 33 | | |
| |||
0 commit comments