all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Wolfgang Bumiller <w.bumiller@proxmox.com>
To: Fiona Ebner <f.ebner@proxmox.com>
Cc: pve-devel@lists.proxmox.com
Subject: applied: [PATCH container 1/3] pct: unlock: log that operation happened to syslog
Date: Thu, 7 May 2026 12:16:26 +0200	[thread overview]
Message-ID: <g3vhosly7y2apps6c3zzal7gafm7xk4pds2dd2kwqi34uzwvtb@misol5zvejhf> (raw)
In-Reply-To: <20260427112255.369695-2-f.ebner@proxmox.com>

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




  reply	other threads:[~2026-05-07 10:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-27 11:22 [PATCH-SERIES container/qemu-server 0/3] pct/qm: unlock: log that operation happened to syslog Fiona Ebner
2026-04-27 11:22 ` [PATCH container 1/3] pct: " Fiona Ebner
2026-05-07 10:16   ` Wolfgang Bumiller [this message]
2026-04-27 11:22 ` [PATCH qemu-server 2/3] qm: " Fiona Ebner
2026-04-27 11:22 ` [PATCH qemu-server 3/3] qm: unlock: add reminder to switch to remove_lock() helper for a major release Fiona Ebner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=g3vhosly7y2apps6c3zzal7gafm7xk4pds2dd2kwqi34uzwvtb@misol5zvejhf \
    --to=w.bumiller@proxmox.com \
    --cc=f.ebner@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal