On 08.09.20 13:58, Fabian Ebner wrote:
> Will be used to monitor state changes on container startup.
> 
> Co-developed-by: Wolfgang Bumiller <[email protected]>
> Signed-off-by: Fabian Ebner <[email protected]>
> ---
> 
> New in v2.
> 
> I hard-coded the name of the abstract UNIX socket instead of
> trying to re-implement lxc/monitor.c's lxc_monitor_sock_name
> function. For us, is it true that the lxcpath is always '/varl/lib/lxc'?
> Otherwise this won't always work.
> 
>  src/PVE/LXC/Makefile   |  1 +
>  src/PVE/LXC/Monitor.pm | 92 ++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 93 insertions(+)
>  create mode 100644 src/PVE/LXC/Monitor.pm
> 
>

applied series, thanks! Wolfgang may improve his variant, e.g., by patching 
lxc, to avoid
a runtime dependency on the lxc monitor, but until that works out this is 
10000x times
better that the current status quo.


_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to