Bug#733574: partially breaks initramfs when modules are not included
Michael Tokarev
mjt at tls.msk.ru
Tue Dec 31 17:08:53 UTC 2013
30.12.2013 05:08, Eduard Bloch wrote:
> Package: mdadm
> Version: 3.3-2
> Severity: important
>
> Repro: build a linux-image (kernel)...
>
> - without md* modules
> - where another initramfs script exists in local-top which is required
> to boot (say: for cryptoroot)
>
> Result: startup fails.
Well. I'm not sure it is a valid combination. If you're using mdadm,
why do you have kernel without md support? Either remove mdadm, or
fix your kernel config. I can move this test into mdadm initramfs
creation hook, so it will prevent creating initramfs if md can't be
used in there, -- this way, you'll see the problem much sooner than
when booting actually fails.
Arguable, this `exit 1' can be removed entirely and we can just run
mdadm to try to do its work anyway. But the root question stands
still: why to use invalid combination in the first place?
Hence, I'm at least questioning the severity for this bug you've choosen.
Thanks,
/mjt
More information about the pkg-mdadm-devel
mailing list