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

podman system service: what should .Host.RemoteSocket.Path be? #12023

Closed
edsantiago opened this issue Oct 18, 2021 · 9 comments · Fixed by #14037
Closed

podman system service: what should .Host.RemoteSocket.Path be? #12023

edsantiago opened this issue Oct 18, 2021 · 9 comments · Fixed by #14037
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. stale-issue

Comments

@edsantiago
Copy link
Member

Start service with a nonstandard socket:

$ bin/podman system service --timeout=0 tcp:localhost:12345

Run info against it:

$ bin/podman-remote --url="tcp://localhost:12345" info --format '{{.Host.RemoteSocket.Path}}'
/run/user/14904/podman/podman.sock

This surprised me. I expected tcp://<something>:12345.

There is no obvious way to find the socket info: podman-remote info | grep 12345 returns no output.

@rhatdan
Copy link
Member

rhatdan commented Oct 18, 2021

This looks like a bug.

@vrothberg vrothberg added the kind/bug Categorizes issue or PR as related to a bug. label Nov 17, 2021
@vrothberg
Copy link
Member

@jwhonce could you tackle it? I had a quick look and it seems that the notion of it being a path (in contrast to a URI) is very embedded.

@github-actions
Copy link

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

@rhatdan
Copy link
Member

rhatdan commented Dec 18, 2021

@jwhonce did you ever get a chance to look at this?

@github-actions
Copy link

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

@edsantiago
Copy link
Member Author

It's being worked on, @github-actions! Like, in the last two hours! #ReadingComprehensionFail #ThankGoodness #WeHaveSomeTimeBeforeTheRobotApocalypse

@github-actions
Copy link

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

@github-actions
Copy link

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

jwhonce added a commit to jwhonce/podman that referenced this issue Mar 24, 2022
Rather than assuming a filesystem path, the API service URI is recorded
in the libpod runtime configuration and then reported as requested.

Note: All schemes other than "unix" are hard-coded to report URI exists.

Fixes containers#12023

Signed-off-by: Jhon Honce <[email protected]>
@github-actions
Copy link

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

rhatdan added a commit to rhatdan/podman that referenced this issue May 4, 2022
Rather than assuming a filesystem path, the API service URI is recorded
in the libpod runtime configuration and then reported as requested.

Note: All schemes other than "unix" are hard-coded to report URI exists.

Fixes containers#12023

Signed-off-by: Jhon Honce <[email protected]>
Signed-off-by: Daniel J Walsh <[email protected]>
openshift-cherrypick-robot pushed a commit to openshift-cherrypick-robot/podman that referenced this issue May 4, 2022
Rather than assuming a filesystem path, the API service URI is recorded
in the libpod runtime configuration and then reported as requested.

Note: All schemes other than "unix" are hard-coded to report URI exists.

Fixes containers#12023

Signed-off-by: Jhon Honce <[email protected]>
Signed-off-by: Daniel J Walsh <[email protected]>
@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/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. stale-issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants