systemd generator fails if lvmconfig does not find a value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Moin

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.

Regards,
Bastian

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

_______________________________________________
linux-lvm mailing list
linux-lvm@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/



[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux