I can also see the mentioned warnings about lvmetad on all my Debian Stretch systems. Messages seems to be indeed caused by lvm "vgscan", "vgchange" and may be also "lvchange" commands in "cryptroot" and "lvm2" initramfs scripts in "/usr/share/initramfs-tools/scripts/local-*".

Because I wanted to achieve the silent boot with just the password prompt from cryptsetup I modified the workaround mentioned by Matti Kurkela (as it seemed not to work for my systems). Instead of adding " --config 'global{use_lvmetad=0}'" to the lvm commands I now redirect their output to a log file by adding " >>/run/log/initrd-lvm 2>&1". (Note that the "/run/log" directory must exist when the output is redirected. Also the modified initramfs scripts should be in "/etc/initramfs-tools/scripts/local-*" and you need to rebuild your initramfs as described by Matti Kurkela above.)

It would be nice to have a "--quiet" option for lvm commands, maybe?

Regards
Bakhelit

Reply via email to