[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1115104: partman-auto: Silently fallback to built-in recipes if partman-auto/expert_recipe_file value is incorrect



Source: partman-auto
Version: 177
Severity: normal
Tags: d-i
X-Debbugs-Cc: jonathan@relkian.com, debian-boot@lists.debian.org

Dear Maintainers,

When partman-auto/expert_recipe_file is preseed with an incorrect filename, partman-auto silently fallback to one of the built-in recipes.
I just lost a few hours trying to understand why my custom recipe wasn't applied whereas it was just a typo in the recipe filename. ):

I think an error should be raised in that case.

Related check: https://salsa.debian.org/installer-team/partman-auto/-/blob/db8c4501e57a66c9f78a2172e0a4fda198181e0a/lib/recipes.sh#L417

Thank you, 


-- System Information:
Debian Release: 13.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.43+deb13-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)


Reply to: