Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
libvirt.11411
2222123-virt-aa-helper-crash.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 2222123-virt-aa-helper-crash.patch of Package libvirt.11411
From 22221233d0c2fd2c2d41b7527fe2bec13295a427 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= <cbosdonnat@suse.com> Date: Thu, 20 Nov 2014 11:31:44 +0100 Subject: [PATCH 1/5] virt-aa-helper wasn't running virErrorInitialize This turns out to be working by magic but needs to be fixed. --- src/security/virt-aa-helper.c | 6 ++++++ 1 file changed, 6 insertions(+) Index: libvirt-1.2.5/src/security/virt-aa-helper.c =================================================================== --- libvirt-1.2.5.orig/src/security/virt-aa-helper.c +++ libvirt-1.2.5/src/security/virt-aa-helper.c @@ -1225,6 +1225,12 @@ main(int argc, char **argv) exit(EXIT_FAILURE); } + if (virThreadInitialize() < 0 || + virErrorInitialize() < 0) { + fprintf(stderr, _("%s: initialization failed\n"), argv[0]); + exit(EXIT_FAILURE); + } + /* clear the environment */ environ = NULL; if (setenv("PATH", "/sbin:/usr/sbin", 1) != 0) {
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