From: Hannes Laimer <h.laimer@proxmox.com>
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>,
Fiona Ebner <f.ebner@proxmox.com>
Subject: Re: [pve-devel] [PATCH manager] d/tmpfiles: fix permission regression for /run/pve directory
Date: Tue, 5 Aug 2025 12:10:33 +0200 [thread overview]
Message-ID: <f9cc6f1c-e664-4fc3-9582-0366d82ad0b3@proxmox.com> (raw)
In-Reply-To: <20250805100556.40874-1-f.ebner@proxmox.com>
gave this a quick spin and it did solve the problem, therefore:
Tested-by: Hannes Laimer <h.laimer@proxmox.com>
On 05.08.25 12:05, Fiona Ebner wrote:
> There is a regression regarding the permission for the /run/pve
> directory. In Proxmox VE 8, the directory had root:root 0755
> permissions, being auto-created as the lxc-syscalld runtime directory.
> In Proxmox VE 9, the permissions were restricted to root:root 0750,
> but this leads to an issue with remote migration, when pveproxy tries
> to access the mtunnel socket:
>
> pveproxy[2484]: connect to 'unix/:/run/pve/ct-112.mtunnel' failed: Permission denied
>
> Relax the permissions again by allowing the www-data group
> read-access, so that pveproxy can access the socket.
>
> This aligns the permissions with what /run/pve-cluster has.
>
> Reported-by: Hannes Laimer <h.laimer@proxmox.com>
> Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
> ---
> debian/tmpfiles | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/debian/tmpfiles b/debian/tmpfiles
> index 98b8fb96..1263300f 100644
> --- a/debian/tmpfiles
> +++ b/debian/tmpfiles
> @@ -1,2 +1,2 @@
> -#Type Path Mode User Group Age Argument
> -d /run/pve 0750 root root - -
> +#Type Path Mode User Group Age Argument
> +d /run/pve 0750 root www-data - -
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
next prev parent reply other threads:[~2025-08-05 10:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-05 10:03 Fiona Ebner
2025-08-05 10:10 ` Hannes Laimer [this message]
2025-08-05 10:20 ` Fabian Grünbichler
2025-08-05 10:36 ` Thomas Lamprecht
2025-08-05 10:24 ` [pve-devel] applied: " Thomas Lamprecht
2025-08-05 13:11 ` Thomas Lamprecht
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=f9cc6f1c-e664-4fc3-9582-0366d82ad0b3@proxmox.com \
--to=h.laimer@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox