lxc / go-lxc

Go bindings for liblxc
https://linuxcontainers.org/lxc
Other
430 stars 76 forks source link

container: add SetTimeout #166

Closed mihalicyn closed 1 year ago

mihalicyn commented 1 year ago

Extend container API with a new method SetTimeout which allows to set SO_RCVTIMEO for LXC client socket.

Issue #4257

Signed-off-by: Alexander Mikhalitsyn aleksandr.mikhalitsyn@canonical.com

See https://github.com/lxc/lxc/issues/4257

mihalicyn commented 1 year ago

https://github.com/lxc/lxc/pull/4260

stgraber commented 1 year ago

Switched to Draft until the liblxc side is finalized.

mihalicyn commented 1 year ago

@stgraber It looks like we have a problem with our PPA for LXC after master branch was renamed to main in https://github.com/lxc/lxc

Last build was 6 weeks ago https://launchpad.net/~ubuntu-lxc/+archive/ubuntu/lxc-git-master

stgraber commented 1 year ago

Ah yeah, that will need a bit of fixing

mihalicyn commented 1 year ago

@stgraber Stéphane, please approve workflows run for this PR.

stgraber commented 1 year ago

I'm not seeing a pending run, just looks like it failed

mihalicyn commented 1 year ago

I'm not seeing a pending run, just looks like it failed

Hm, yes, but there was a pending run. Weird.

Now I see:

3 workflows awaiting approval