Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated cherry pick of #6052: Fix log rotation in UBI images (#6052) #6092

Conversation

xliuxu
Copy link
Contributor

@xliuxu xliuxu commented Mar 11, 2024

Cherry pick of #6052 on release-1.13.

#6052: Fix log rotation in UBI images (#6052)

For details on the cherry pick process, see the cherry pick requests page.

logrotate needs to run as the same user as OVS to get the proper
permissions for log files. As Antrea runs OVS as root, we disable
libcapng to make logrotate also run as root.

Fixes: antrea-io#6046

Signed-off-by: Xu Liu <[email protected]>
@xliuxu xliuxu added the kind/cherry-pick Categorizes issue or PR as related to the cherry-pick of a bug fix from the main branch to a release label Mar 11, 2024
@tnqn
Copy link
Member

tnqn commented Mar 11, 2024

/skip-all

@tnqn tnqn merged commit df64816 into antrea-io:release-1.13 Mar 11, 2024
44 of 48 checks passed
luolanzone pushed a commit to luolanzone/antrea that referenced this pull request Mar 27, 2024
logrotate needs to run as the same user as OVS to get the proper
permissions for log files. As Antrea runs OVS as root, we disable
libcapng to make logrotate also run as root.

Fixes: antrea-io#6046

Signed-off-by: Xu Liu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cherry-pick Categorizes issue or PR as related to the cherry-pick of a bug fix from the main branch to a release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants