Skip to content

scripts: Fix logrotate by adding su instruction#918

Merged
arogge merged 2 commits intobareos:masterfrom
bruno-at-bareos:dev/bruno/Fix_US4837_logrotate_su
Sep 9, 2021
Merged

scripts: Fix logrotate by adding su instruction#918
arogge merged 2 commits intobareos:masterfrom
bruno-at-bareos:dev/bruno/Fix_US4837_logrotate_su

Conversation

@bruno-at-bareos
Copy link
Contributor

@bruno-at-bareos bruno-at-bareos commented Sep 8, 2021

Fixes #1232 : bareos logrotate errors

Adding back su directive with correct dir user and group (variables from cmake call)

Signed-off-by: Bruno Friedmann bruno.friedmann@bareos.com

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

This PR should superseed PR#917

Checklist for the reviewer of the PR (will be processed by the Bareos team)

General
  • PR name is meaningful
  • Purpose of the PR is understood
  • Separate commit for this PR in the CHANGELOG.md, PR number referenced is same
  • Commit descriptions are understandable and well formatted
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR
  • bareos-check-sources --since-merge does not report any problems
  • git status should not report modifications in the source tree after building and testing

@bruno-at-bareos
Copy link
Contributor Author

After merge todo : backport to all supported versions for next minor release.

Fixes #1232: bareos logrotate errors

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
Copy link
Member

@arogge arogge left a comment

Choose a reason for hiding this comment

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

Looks great! Thanks for the effort!

@arogge arogge merged commit 4edca5c into bareos:master Sep 9, 2021
@bruno-at-bareos bruno-at-bareos deleted the dev/bruno/Fix_US4837_logrotate_su branch October 12, 2021 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants