[PATCH 1/2] daemon: lvm: use 'yes' as boolean for lvm2
It looks like older versions of lvm2 (recent enough to have selectors) do not recognize '1' (and '0') as boolean values. Switch to 'yes', which seems to be supported. Updates commit 7367945647e774aec4b93c3bf13181212d3c6430. --- daemon/lvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/lvm.c b/daemon/lvm.c index a270b13..c186a5a 100644 --- a/daemon/lvm.c +++ b/daemon/lvm.c @@ -264,7 +264,7 @@ do_lvs (void) r = command (&out, &err, str_lvm, "lvs", "-o", "vg_name,lv_name", - "-S", "lv_role=public && lv_skip_activation!=1", + "-S", "lv_role=public && lv_skip_activation!=yes", "--noheadings", "--separator", "/", NULL); if (r == -1) { -- 2.9.3
Add the package for the yara library as available on openSUSE Leap 42.2. 'yara' is left there for now. Updates commit 2e24129da37656706b5a1d3b6bc83d4c089740bb. --- appliance/packagelist.in | 1 + 1 file changed, 1 insertion(+) diff --git a/appliance/packagelist.in b/appliance/packagelist.in index 96d5ffc..9e50800 100644 --- a/appliance/packagelist.in +++ b/appliance/packagelist.in @@ -155,6 +155,7 @@ ifelse(SUSE,1, libselinux1 libtirpc3 libyajl2 + libyara3 mkisofs ntfsprogs ntfs-3g -- 2.9.3
On Fri, May 12, 2017 at 05:15:46PM +0200, Pino Toscano wrote:
Add the package for the yara library as available on openSUSE Leap 42.2. 'yara' is left there for now.
Updates commit 2e24129da37656706b5a1d3b6bc83d4c089740bb. --- appliance/packagelist.in | 1 + 1 file changed, 1 insertion(+)
diff --git a/appliance/packagelist.in b/appliance/packagelist.in index 96d5ffc..9e50800 100644 --- a/appliance/packagelist.in +++ b/appliance/packagelist.in @@ -155,6 +155,7 @@ ifelse(SUSE,1, libselinux1 libtirpc3 libyajl2 + libyara3 mkisofs ntfsprogs ntfs-3g
ACK series. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
participants (2)
-
Pino Toscano -
Richard W.M. Jones