Skip to content

Respect XDG_RUNTIME_DIR for unprivileged runtime files #24

Closed

Description

@chenrui333

Kudu v0.6.0 hardcodes /run/user/<euid>/kudu in get_kudu_run_dir. On an unprivileged CI/container session without a systemd-created /run/user/<euid>, App::init fails with Permission denied (os error 13) before the dashboard renders. This also prevents Homebrew’s isolated test from directing runtime files into its writable test directory.

Could the unprivileged path honor XDG_RUNTIME_DIR (joining kudu), retaining /run/user/<euid>/kudu as the default when it is unset? The root path can stay unchanged.

Observed on both Linux architectures in downstream CI: https://github.com/chenrui333/homebrew-tap/actions/runs/42493250358 . Downstream PR: chenrui333/homebrew-tap#13777 .

Activity

  1. pythops commented on Nov 8, 2026

    @pythops
    Owner

    Good point.
    I will open a PR for it

  2. pythops commented on Nov 12, 2026

    @pythops
    Owner

    Does it fix it for you ?
    PR #27

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