Skip to content

Commit 2b3612e

Browse files
committed
Publised docs about P005O
1 parent 2960083 commit 2b3612e

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

docs/patches/P005O.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: P005O
3+
---
4+
5+
Null-Bytes Within Rotated Log Files.
6+
7+
## Description
8+
9+
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

Comments
 (0)