[pve-devel] applied: [PATCH installer v2] first-boot: multi-user: start after product-specific API proxy

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Nov 19 18:47:44 CET 2024


Am 19.11.24 um 16:13 schrieb Christoph Heiss:
> First of, multi-user.target does not seem to really provide any (strong)
> ordering guarantee, it seems.
> 
> Instead, let the "fully-up" ordering from the auto-installer depend on
> the product-specific API proxy instead.
> 
> That way, it is ensured that 1) the system really is fully up and 2)
> that users could even use the API / CLI commands, or write files to
> pmxcfs (in case of PVE).
> 
> After= and Wants= ignore non-existent units, so we can just specify all
> three API proxy units here w/o any conditional.
> 
> Suggested-by: Shannon Sterz <s.sterz at proxmox.com>
> Signed-off-by: Christoph Heiss <c.heiss at proxmox.com>
> ---
> That systemd ignores non-existent for After= and Wants= was definitely a
> TIL for me, but very convenient in this case :^)
> 
> v1: https://lore.proxmox.com/pve-devel/20241119143946.370202-1-c.heiss@proxmox.com/
> 
>  proxmox-first-boot/etc/proxmox-first-boot-multi-user.service | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
>

applied, thanks!




More information about the pve-devel mailing list