From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id C7E1D1FF16F for ; Fri, 15 Nov 2024 14:34:57 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 76E4714424; Fri, 15 Nov 2024 14:34:58 +0100 (CET) Date: Fri, 15 Nov 2024 14:34:55 +0100 From: Christoph Heiss To: Thomas Lamprecht Message-ID: References: <20241113135908.1622968-1-c.heiss@proxmox.com> <20241113135908.1622968-3-c.heiss@proxmox.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-SPAM-LEVEL: Spam detection results: 0 AWL 0.030 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 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. 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] [RFC PATCH installer 2/5] fix #5579: first-boot: add initial service packaging 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: 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" On Thu, Nov 14, 2024 at 09:23:48PM +0100, Thomas Lamprecht wrote: > [..] > So it really would be great to allow overriding that ordering. > > Simplest way might be to leave it out here, or well go for the default we want > (in doubt -> dice roll), and write out a systemd unit snippet during installation > depending on a additional setting from the answer file. Thinking about this again, while implementing - if we need to customize the unit file, do we want to: - create an `override.conf` file in `/etc/systemd/system/proxmox-first-boot.service.d/`, like systemd would do it when using `systemctl edit `? Disadvantage is, that that file isn't removed when removing the `proxmox-first-boot` package from the system (although we could do it via postrm maybe?) - edit the unit file directly? That would mean that e.g. `debsums -c` would complain. - even bother with a separate package and instead just write the unit file directly to /etc/systemd/system? Disadvantage here is that it would be a "lost" file, not managed by dpkg, and administrators would have to remove the file directly, if they want/need to. I have implemented the first variant for now, for testing. But not sure if it's the best way to go. _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel