Skip to content

stuff keeps creating /.cache #541

Closed
Closed

Description

@iamveryverystupid

i know this isn't exactly dinit's fault, but some daemons create .cache in / and its really annoying, i have a lot of random services and daemons and they do this, but is there a way to stop them from making /.cache or put it somewhere else?
it doesn't happen with other init systems like systemd or openrc

Activity

  1. davmac314 commented on Mar 25, 2026

    @davmac314
    Owner

    All I can suggest is that maybe these daemons are trying to put something under $HOME or $XDG_RUNTIME_DIR, or some other location specified by an environment variable, and that variable isn't being set. Perhaps try load-options: export-passwd-vars in the service description file.

  2. Repository owner locked and limited conversation to collaborators on Mar 25, 2026
  3. converted this issue into a discussion #542 on Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions