You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This patch fixes an issue regarding null-bytes within rotated nginx log files. This issue can cause problems with log analysis, as the presence of null-bytes make common tools behave unexpectedly. This patch will prevent the underlying issue that causes null-bytes to be present within rotated log files.
10
+
11
+
## Impact
12
+
13
+
There is no expected downtime or performance impact.
14
+
15
+
## Changes
16
+
17
+
- Update /etc/logrotate.d/nginx config file to remove strategy involving the `copytruncate` option.
18
+
- Remount /mnt/jrc-logs on web tier with the `lookupcache=none` option to prevent stale file handles.
19
+
- Allow root user to ssh between web tier and jump node
20
+
21
+
## If You Accept
22
+
23
+
This patch will add an extra boot hook to your deployment located at `/mnt/jrc-comms/hooks/boot.d/99-logrotate-P005O`.
24
+
This boot hook will make sure that the problem is fixed on every boot, this way we can avoid a jump/web AMI rollup proceedure.
25
+
26
+
## If You Reject
27
+
28
+
There might occationally be null-bytes present within rotated log files.
0 commit comments