logrotate: missing entry in keep.d-file
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 88/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- linux
- Domain
- release
Research direction
Start from the logrotate package Makefile and compare its Package/logrotate/conffiles entry with the packaged /lib/upgrade/keep.d/logrotate file. The issue already identifies the mismatch: keep.d lists /etc/logrotate.d but omits /etc/logrotate.conf. Done means the keep.d entry matches the conffiles list so sysupgrade and config-backup retain /etc/logrotate.conf.
Written by the indexing model from the issue text.
Description
Package Name
logrotate
Maintainer
Christian Beier [email protected]
OpenWrt Version
25.12.6 possibly also older versions
OpenWrt Target/Subtarget
various
Steps to Reproduce
Install package with apk.
Inside Makefile "Package/logrotate/conffiles" correctly define "/etc/logrotate.conf" and "/etc/logrotate.d/".
but /lib/upgrade/keep.d/logrotate only define "/etc/logrotate.d"
So during sysupgrade or config-backup "/etc/logrotate.conf" never saved
Actual Behaviour
look at "Steps to Reproduce"
Confirmation Checklist
- The package is maintained in this repository.
- I understand that issues related to the base OpenWrt repository or LuCI repository will be closed.
- I am reporting an issue for OpenWrt, not an unsupported fork.
- Dominant language
- Makefile
- Stars
- 4.7k
- Forks
- 4k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 251
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openwrt/packages
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
openwrt/packages#31307 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 Under an hour Newbie friendliness 65/100
openwrt/packages#31291 · 9 comments ·
Maintainers usually reply within 1 day
All issues in openwrt/packages
Similar issues
-
agents area: runtime automation chore cli consistency dependencies developer-experience difficulty: easy documentation enhancement good first issue help wanted hygiene json-output priority: P3 starters tests
Difficulty 1/5 Under an hour Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
package-request
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
ScoopInstaller/Extras#19373 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 74/100
iamprivacy/Waves#62 ·
-
enhancement ready-for-agent
Difficulty 1/5 Under an hour Newbie friendliness 85/100
debpalash/VoiceStudio#4170 · 2 comments ·
Maintainers usually reply within 1 day