V2 podman system service#5634
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jwhonce The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
☔ The latest upstream changes (presumably #5618) made this pull request unmergeable. Please resolve the merge conflicts. |
|
Are we doing Varlink in V2? Can we get away with keeping varlink support on a 1.0 branch? |
unfortunately, we are going to have to for some amount of time. i would love to talk about how to fence it off with a build tag so we could begin deprecating in fedora. |
|
Var link will need to be supported for the length of RHEL8, I think or at least until RHEL8.6 |
|
We can begin deprecating it in Fedora 33. |
1dcf215 to
a37592e
Compare
vrothberg
left a comment
There was a problem hiding this comment.
Tested locally. Overall LGTM. One thing I noticed is that the service silently returns when the socket is already present. The previous behavior was to error out. I believe we should only error out iff the socket is in use.
vrothberg
left a comment
There was a problem hiding this comment.
There is some behavioral change. v1 throws an error if the socket already exists, v2 exits without an error.
3268fed to
798f561
Compare
|
/lgtm |
|
@jwhonce Needs rebase. |
* Added support for system service * Enabled linting on the varlinkapi source, needed to support V2 service command * Added support for PODMAN_SOCKET Skip linting deprecated code Rather than introduce bugs by correcting deprecated code, linting the code is being skipped. Code that is being ported into V2 is being checked. Signed-off-by: Jhon Honce <jhonce@redhat.com>
| [[ $1 == run ]] && shift | ||
|
|
||
| for i in tunnel abi; do | ||
| echo Build Tags: ${BUILD_TAGS[$i]} |
There was a problem hiding this comment.
Nit: It's good practice to always quote string arguments to echo.
|
/hold cancel |
|
/lgtm |
service command
Signed-off-by: Jhon Honce jhonce@redhat.com