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

How to grab runtime directory ? #14113

Closed
benoitf opened this issue May 4, 2022 · 5 comments
Closed

How to grab runtime directory ? #14113

benoitf opened this issue May 4, 2022 · 5 comments
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. machine stale-issue

Comments

@benoitf
Copy link
Contributor

benoitf commented May 4, 2022

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)

/kind feature

Description

Following the discussion there #14085 (comment)
It's possible to add sockets to receive machine events notifications
But how to get that folder from a podman command ? (the path is computed with 56 lines https://github.com/containers/podman/blob/main/vendor/github.com/containers/common/pkg/util/util_supported.go#L30-L86)

Steps to reproduce the issue:

  1. Want to add socket file for listening to machine events

  2. How to find the path ?

Describe the results you received:

Unable to grab the value of the runtime directory easily

Describe the results you expected:

Get that path with a podman command

Additional information you deem important (e.g. issue happens only occasionally):

Output of podman version:

(paste your output here)

Output of podman info --debug:

(paste your output here)

Package info (e.g. output of rpm -q podman or apt list podman):

(paste your output here)

Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)

Yes/No

Additional environment details (AWS, VirtualBox, physical, etc.):

@openshift-ci openshift-ci bot added the kind/feature Categorizes issue or PR as related to a new feature. label May 4, 2022
@Luap99 Luap99 added the machine label May 5, 2022
@github-actions
Copy link

github-actions bot commented Jun 5, 2022

A friendly reminder that this issue had no activity for 30 days.

@rhatdan
Copy link
Member

rhatdan commented Jun 6, 2022

@ashley-cui PTAL

@ashley-cui
Copy link
Member

@baude I vaguely recall discussion on this, on how it can't be an env var or in machine inspect because of the chicken-and-egg problem. Do you recall what the consensus was on this?

@github-actions
Copy link

github-actions bot commented Jul 7, 2022

A friendly reminder that this issue had no activity for 30 days.

@ashley-cui
Copy link
Member

Closed via #14762

@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 20, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. machine stale-issue
Projects
None yet
Development

No branches or pull requests

4 participants