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

Fix system user/group name in logrotate.d/fluentd again #594

Merged
merged 2 commits into from Nov 16, 2023

Conversation

kenhys
Copy link
Contributor

@kenhys kenhys commented Oct 16, 2023

This is follow-up of #592 to fix problem correctly.

fluent-package/tempaltes/etc/logrotate.d/fluentd is used
for deb and rpm, so it should support both of different
system user/group respectively.

This reverts commit bf66110.

Note that fluent-package/templates/etc/logrotate.d/fluentd is
used for not only deb, but also rpm.

Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
This is follow-up of fluent#592 to fix problem correctly.

fluent-package/tempaltes/etc/logrotate.d/fluentd is used
for deb and rpm, so it should support both of different
system user/group respectively.

Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
@kenhys
Copy link
Contributor Author

kenhys commented Oct 20, 2023

Extracted task which depends package type.

@kenhys kenhys requested a review from daipom October 20, 2023 02:46
@kenhys kenhys added this to the 5.0.2 (T.B.D) milestone Oct 31, 2023
@daipom
Copy link
Contributor

daipom commented Nov 16, 2023

Sorry for my late response.
I'm seeing this now.

Copy link
Contributor

@daipom daipom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks.
I have confirmed that I can rotate the log file in the package for Ubuntu Focal.

fluent-package/Rakefile Show resolved Hide resolved
@daipom daipom merged commit b72b44c into fluent:master Nov 16, 2023
19 of 21 checks passed
@kenhys kenhys deleted the fix-logrotate-conf branch November 16, 2023 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants