From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 1F80E1FF17C for ; Tue, 16 Dec 2025 13:05:55 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 220ADD8B0; Tue, 16 Dec 2025 13:06:40 +0100 (CET) From: Maximiliano Sandoval To: Thomas Lamprecht In-Reply-To: (Thomas Lamprecht's message of "Tue, 16 Dec 2025 08:25:30 +0100") References: <20251212130531.116019-1-d.rusovac@proxmox.com> User-Agent: mu4e 1.12.9; emacs 30.1 Date: Tue, 16 Dec 2025 13:06:37 +0100 Message-ID: MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1765886789295 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.093 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pve-devel] [PATCH pve-manager] fix #7011: ceph monitor: set ownership of monitor logs X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Cc: Dominik Rusovac , Proxmox VE development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" Thomas Lamprecht writes: > Am 12.12.25 um 14:05 schrieb Dominik Rusovac: >> Ownership of ceph logs is now set to ceph:ceph after the creation of a >> new monitor and before the new monitor starts. Hence, effective ceph >> monitor logging on freshly set up ceph clusters no longer depends on the >> first upgrade of ceph-common. > > Might it be a better fix to then change the postinst script of > ceph-common, or whatever packages postinst script creates those > directories, to chown them to ceph:ceph? That way it would also work > if one installs ceph directly, circumventing pveceph. While that is > not exactly something we promote, but it's not really hard, and > packaging is often a good place to take care of such things like > directory ownership The directories are created with the right permissions and owner, the issue here is that the monitor logs generated when we create the monitor (the command above the call introduced by the patch) are created with root as the owner. -- Maximiliano _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel