Skip to content

Commit

Permalink
Own /var/lib/dnf by libdnf5
Browse files Browse the repository at this point in the history
DNF5 uses that directory at least for storing countme cookies.

This patch does not install that directory because /var is effemeral
on bootc systems (see commit
5cc72c6).

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2332856
Related: rpm-software-management#1968
  • Loading branch information
ppisar committed Dec 19, 2024
1 parent d51f614 commit 04cbd6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dnf5.spec
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ Package management library.
%{_libdir}/libdnf5.so.2*
%license lgpl-2.1.txt
%ghost %attr(0755, root, root) %dir %{_var}/cache/libdnf5
%ghost %attr(0755, root, root) %dir %{_sharedstatedir}/dnf

# ========== libdnf5-cli ==========

Expand Down

0 comments on commit 04cbd6e

Please sign in to comment.