[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-lvm
Subject:    [linux-lvm] systemd generator fails if lvmconfig does not find a value
From:       Bastian Blank <waldi () debian ! org>
Date:       2018-12-23 18:57:31
Message-ID: 20181223185731.ddtmh3wqsrvx5kug () shell ! thinkmo ! de
[Download RAW message or body]

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@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic