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

Fedora: disable dnf-makecache service #2664

Closed
Tracked by #2706
Itxaka opened this issue Jun 26, 2024 · 1 comment · Fixed by #2717
Closed
Tracked by #2706

Fedora: disable dnf-makecache service #2664

Itxaka opened this issue Jun 26, 2024 · 1 comment · Fixed by #2717
Assignees
Labels
bug Something isn't working

Comments

@Itxaka
Copy link
Member

Itxaka commented Jun 26, 2024

Kairos version:
Fedora 40

CPU architecture, OS, and Version:
all

Describe the bug
/usr/lib/systemd/system/dnf-makecache.service is triggered by /usr/lib/systemd/system/dnf-makecache.timer
Doesnt seem to make sense in a immutable system to have a service that may fail becuase the system is read only

To Reproduce
boot fedora 40. Sometimes the service will start too soon and you will see that it fails

Expected behavior
That service is disabled by default

Logs

Additional context
You can disable via either masking it or by writing a file into /run/ostree-booted like fedora silverblue does so it doesnt run.

@Itxaka Itxaka added bug Something isn't working triage Add this label to issues that should be triaged and prioretized in the next planning call unconfirmed labels Jun 26, 2024
@Itxaka
Copy link
Member Author

Itxaka commented Jun 26, 2024

Seems like we disable it but we should disable the timer as well:

RUN systemctl disable dnf-makecache.service

@jimmykarily jimmykarily removed the triage Add this label to issues that should be triaged and prioretized in the next planning call label Jul 1, 2024
@jimmykarily jimmykarily moved this to In Progress 🏃 in 🧙Issue tracking board Jul 1, 2024
@jimmykarily jimmykarily moved this from In Progress 🏃 to Todo 🖊 in 🧙Issue tracking board Jul 1, 2024
@mudler mudler mentioned this issue Jul 9, 2024
34 tasks
@Itxaka Itxaka moved this from Todo 🖊 to In Progress 🏃 in 🧙Issue tracking board Jul 11, 2024
@Itxaka Itxaka self-assigned this Jul 11, 2024
@Itxaka Itxaka moved this from In Progress 🏃 to Under review 🔍 in 🧙Issue tracking board Jul 11, 2024
@github-project-automation github-project-automation bot moved this from Under review 🔍 to Done ✅ in 🧙Issue tracking board Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants