applied: [PATCH container 1/3] pct: unlock: log that operation happened to syslog

Wolfgang Bumiller
2026-05-07T10:17:04Z

applied this one

On Mon, Apr 27, 2026 at 01:22:43PM +0200, Fiona Ebner wrote:
> It can be helpful to see when a container was manually unlocked to
> analyze certain issues when looking at the syslog.
>
> Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
> ---
> src/PVE/CLI/pct.pm | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/src/PVE/CLI/pct.pm b/src/PVE/CLI/pct.pm
> index e2f3c90..9ae4ce4 100755
> --- a/src/PVE/CLI/pct.pm
> +++ b/src/PVE/CLI/pct.pm
> @@ -112,6 +112,8 @@ __PACKAGE__->register_method({
>
> PVE::LXC::Config->remove_lock($vmid);
>
> + syslog('info', "executed 'pct unlock $vmid'");
> +
> return undef;
> },
> });
> --
> 2.47.3