[systemd-devel] the correct way to define crypt partitions, going forward

Jonathan Dowland jon+systemd-devel at alcopop.org
Mon Jan 25 09:53:31 PST 2016


Hi,

Thanks for your reply.

On Fri, Jan 22, 2016 at 07:23:53PM +0200, Mantas Mikulėnas wrote:
> Some distros have started using lvmetad to set up LVM in a more hotplug
> manner – it should work here as well.

Thanks for the hint. Indeed, with lvmetad, the need for a manual
"vgchange -a y" goes away. Sadly, the need for "vgchange -a n" in the
stop case does not. Additionally, although the "vgchange -a y" is
superfluous in the use_lvmetad=1 case, it results in spurious error
messages on service start from systemd 215 (nothing useful in journal;
both the mount and the crypt/generated service have started
successfully). So I'm leaving lvmetad disabled for the time being.

-- 
Jonathan Dowland


More information about the systemd-devel mailing list