Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check /var/lib/dnf usages in our code #1968

Open
jan-kolarik opened this issue Dec 19, 2024 · 1 comment
Open

Check /var/lib/dnf usages in our code #1968

jan-kolarik opened this issue Dec 19, 2024 · 1 comment
Labels
Priority: LOW Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take

Comments

@jan-kolarik
Copy link
Member

Currently, it is probably being used only by the countme functionality. However, we are referencing this directory in multiple places in the code and docs. We need to check those references, as they might be invalid.

Additionally, we might consider moving the current countme-related files to another DNF-owned directory and potentially dropping this one entirely.

@jan-kolarik
Copy link
Member Author

Although the directory might not be used much, we have the persistdir exposed in the API, so we'll probably keep it as it is.

ppisar added a commit to ppisar/dnf5 that referenced this issue Dec 19, 2024
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
ppisar added a commit to ppisar/dnf5 that referenced this issue Dec 19, 2024
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
ppisar added a commit to ppisar/dnf5 that referenced this issue Dec 19, 2024
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
github-merge-queue bot pushed a commit that referenced this issue Jan 7, 2025
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: #1968
@m-blaha m-blaha added Priority: LOW Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take labels Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: LOW Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take
Projects
Status: Backlog
Development

No branches or pull requests

2 participants