Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
python-libmount.12160
util-linux-lscpu-xen-failure-non-fatal.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File util-linux-lscpu-xen-failure-non-fatal.patch of Package python-libmount.12160
From a9b9d59d62129e36cc96c584bbde86394044661a Mon Sep 17 00:00:00 2001 From: Dirk Mueller <dmueller@suse.com> Date: Sat, 4 Nov 2017 04:12:54 +0100 Subject: [PATCH] lscpu: Treat read failure on Xen Hypervisor properties as non-fatal At least on the Sydney Amazon EC2 region this file doesn't show up, and the fatal exit code causes the rest of the useful information to not show up. --- sys-utils/lscpu.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys-utils/lscpu.c b/sys-utils/lscpu.c index 8b4fe0bcd..10c20aa16 100644 --- a/sys-utils/lscpu.c +++ b/sys-utils/lscpu.c @@ -954,9 +954,6 @@ read_hypervisor(struct lscpu_desc *desc, struct lscpu_modifier *mod) == XEN_FEATURES_PVH_MASK) desc->virtype = VIRT_PARA; fclose(fd); - } else { - err(EXIT_FAILURE, _("failed to read from: %s"), - _PATH_SYS_HYP_FEATURES); } } } else if (read_hypervisor_powerpc(desc) > 0) {} -- 2.14.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor