Description of problem: dnf has a dependency on systemd to use the timer functionality to automatically regenerate the cache. This duplicates dnf automatic and also adds bloat to dnf when used in a container that doesn't have systemd Steps to Reproduce: 1. install dnf 2. see that it pulls in systemd Recommend removing the dnf-makecache.timer service from vanilla dnf. people that want auto updates can do it by installing dnf-automatic
Created attachment 11586 [details] dependency diagram for dnf
Well, the diagram is impressive! I admit to failing to spot systemd. Assigning to Neal as the DNF maintainer.
Severity: normal => enhancementAssignee: bugsquad => ngompa13
I'm not removing the timers, but I will remove the mandatory dependency on systemd, as the scriptlets gracefully fail when systemd is not available.
Status: NEW => ASSIGNED
Also, dnf-automatic and dnf-makecache are two very different things. The former depends on the latter, and the latter is intended to be available by default.
Fixed in dnf-4.2.19-2.mga8
Status: ASSIGNED => RESOLVEDResolution: (none) => FIXED
Summary: Remove dnf timers and systemd dependency => Remove mandatory systemd dependency from dnf
Summary: Remove mandatory systemd dependency from dnf => Remove mandatory systemd runtime dependency from dnf