rsyslog: missing keep.d-file

Open Beginner friendly
#31,309 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Domain
build-system

Research direction

Open the rsyslog package Makefile (under the packages repo's rsyslog directory) and read the existing Package/rsyslog/conffiles and Package/rsyslog/install sections. Add a /lib/upgrade/keep.d/rsyslog entry listing /etc/rsyslog.conf, following how other packages ship keep.d files. Done when a config backup or sysupgrade keeps /etc/rsyslog.conf; verify by rebuilding the package and checking the installed file.

Written by the indexing model from the issue text.

Description

bug
Package Name

rsyslog

Maintainer

Alexandru Ardelean [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/rsyslog/conffiles" correctly define "/etc/rsyslog.conf".
but /lib/upgrade/keep.d/rsyslog never defined/created.
So during sysupgrade or config-backup "/etc/rsyslog.conf" never saved
This file needed because there you can configure settings not supported by "/etc/config/rsyslog"

Actual Behaviour

look at "Steps to Reproduce"

Confirmation Checklist
Dominant language
Makefile
Stars
4.7k
Forks
4k
Avg merge
2d 2h
Merged PRs (30d)
251

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openwrt/packages

All issues in openwrt/packages

Similar issues

More Build System issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.