logrorated is duplicating headers when updating config file
Bug #1969155 reported by
Garrett Neugent
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
logrotate-charm |
Fix Released
|
Medium
|
Mert Kirpici |
Bug Description
We see in a focal/ussuri cloud that the charm is prepending headers instead of overwriting the file:
root@<redacted>
3351
Related branches
~mertkirpici/charm-logrotated:lp/1969155
- 🤖 prod-jenkaas-bootstack: Approve (continuous-integration)
- Robert Gildein: Approve
- JamesLin: Approve
- BootStack Reviewers: Pending requested
- Eric Chen: Pending requested
-
Diff: 50 lines (+20/-8)2 files modifiedsrc/lib/lib_logrotate.py (+4/-8)
src/tests/unit/test_logrotate.py (+16/-0)
~lihuiguo/charm-logrotated:bug/1969155
Superseded
for merging
into
charm-logrotated:master
- Eric Chen: Needs Information
- BootStack Reviewers: Pending requested
-
Diff: 22 lines (+6/-5)1 file modifiedsrc/lib/lib_logrotate.py (+6/-5)
Changed in charm-logrotated: | |
status: | New → Confirmed |
importance: | Undecided → High |
importance: | High → Medium |
tags: | added: bseng-1039 |
Changed in charm-logrotated: | |
assignee: | nobody → Mert Kirpici (mertkirpici) |
status: | Confirmed → In Progress |
Changed in charm-logrotated: | |
status: | In Progress → Fix Committed |
Changed in charm-logrotated: | |
milestone: | none → 23.07 |
Changed in charm-logrotated: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.