On 07/03/2017 at 01:16 PM, Dave Young wrote:
On 07/03/17 at 11:57am, Xunlei Pang wrote:
> On 07/03/2017 at 11:24 AM, Dave Young wrote:
>> On 06/30/17 at 11:18am, Xunlei Pang wrote:
>>> Resolves: bz1451717
>>>
https://bugzilla.redhat.com/1451717
>>>
>>> When there is no crypt related kdump target, we can safely
>>> omit "crypt" dracut module, this can avoid the pop asking
>>> disk password during kdump boot in some cases.
>> Xunlei, it can save memory, but if there is no crypt target why still
>> asking user for password?
> Once dracut added "crypt" module to kdump, it will parse
"rd.luks.uuid=X" as well as
> "/etc/crypttab" and pop up asking the password.
But who provide rd.luks, hostonly added some crypt mount?
It's inherited from the first kernel cmdline, for example:
# cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-4.8.6-300.fc25.x86_64 root=/dev/mapper/fedora-root ro
rd.lvm.lv=fedora/root rd.luks.uuid=luks-d868b8b9-275c-4a71-8709-23a403bcf57e
rd.lvm.lv=fedora/swap rhgb quiet LANG=en_US.UTF-8 crashkernel=161M console=ttyS0,115200
Regards,
Xunlei