-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Consolidate XDG_RUNTIME code #20528
Consolidate XDG_RUNTIME code #20528
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -130,7 +130,7 @@ func resolveAPIURI(uri []string) (string, error) { | |
logrus.Info("Using systemd socket activation to determine API endpoint") | ||
return "", nil | ||
case rootless.IsRootless(): | ||
xdg, err := util.GetRuntimeDir() | ||
xdg, err := util.GetRootlessRuntimeDir() | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Depending on how consolidation of |
||
if err != nil { | ||
return "", err | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
# /tmp/podman-run-* directory can contain content for Podman containers that have run | ||
# for many days. This following line prevents systemd from removing this content. | ||
x /tmp/podman-run-* | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. given podman stores the old tmpdir in the db and will keep using it AFAICT we should keep that old entry as well There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. fixed |
||
x /tmp/storage-run-* | ||
x /tmp/containers-user-* | ||
x /tmp/run-*/libpod | ||
D! /var/lib/containers/storage/tmp 0700 root root | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Depending on how consolidation of
IsRootless
goes, this might eventually be able to call the c/storage version directly.