[linux-lvm] systemd generator fails if lvmconfig does not find a value

Bastian Blank waldi at debian.org
Sun Dec 23 18:57:31 UTC 2018


The systemd generator in 2.03.01 fails if the config does not yet
contain the variables it tries to read via lvmconfig.  It aborts as
lvmconfig exits with exit value 5.

| % /sbin/lvmconfig config/checks te/t 2>/dev/null; echo $? 
| checks=1
| 5

As generators should not fail, ignoring lvmconfig problems might be the
best option.  The fallback of just generating services is safe.


Each kiss is as the first.
		-- Miramanee, Kirk's wife, "The Paradise Syndrome",
		   stardate 4842.6

More information about the linux-lvm mailing list