Mailinglist Archive: opensuse-bugs (4295 mails)

< Previous Next >
[Bug 1040202] New: packages qemu-tools and qemu-ksm: installation error
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 22 May 2017 16:18:07 +0000
  • Message-id: <bug-1040202-21960@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1040202


Bug ID: 1040202
Summary: packages qemu-tools and qemu-ksm: installation error
Classification: openSUSE
Product: openSUSE Distribution
Version: Leap 42.3
Hardware: PC
OS: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: KVM
Assignee: kvm-bugs@xxxxxxxxxxxxxxxxxxxxxx
Reporter: comes@xxxxxxxx
QA Contact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---

After I perform a standard installation that includes also the pattern:
KVM Host Server
I found this error in /var/log/zypp/history:

# 2017-05-19 13:40:54 qemu-tools-2.9.0-2.1.x86_64.rpm installed ok
# Additional rpm output:
# warning: group kvm does not exist - using root
# /usr/lib/qemu-bridge-helper: unknown group kvm
#
2017-05-19
13:40:54|install|qemu-tools|2.9.0-2.1|x86_64||openSUSE-Leap-42.3-0|9e1a6ddc4fe00ce823ee
df38d0ab1639335a4721|

The problem is that qmeu-tools is installed before qemu and at that time the
system group 'kvm' needed by the postinstall scriplet does not exist yet.

A possible fix is to add this line in qemu.spec:

%package tools
Summary: Universal CPU emulator -- Tools
Group: System/Emulators/PC
Provides: qemu:%_libexecdir/qemu-bridge-helper
+PreReq: qemu
PreReq: permissions
Recommends: qemu-block-curl
%if 0%{?with_rbd}
Recommends: qemu-block-rbd
%endif

In /var/log/zypp/history there is also the following error:

# 2017-05-19 12:30:35 qemu-ksm-2.9.0-2.1.x86_64.rpm installed ok
# Additional rpm output:
# /var/tmp/rpm-tmp.0hrMu6: line 4: mkdir: command not found
# /var/tmp/rpm-tmp.0hrMu6: line 8: touch: command not found
# /var/tmp/rpm-tmp.zQu1Hy: line 3: mkdir: command not found
# /var/tmp/rpm-tmp.zQu1Hy: line 8: touch: command not found
#
2017-05-19
12:30:35|install|qemu-ksm|2.9.0-2.1|x86_64||openSUSE-Leap-42.3-0|f1d38b824f0541f336c790
810a9a3f1291dd6390|

The problem is that qemu-ksm is installed before coreutils and at that time the
binaries mkdir and touch used in the pre/post install scriptlet, are not
available yet.

A possible fix is to add this line in qemu.spec:

%package ksm
Summary: Kernel Samepage Merging services
Group: System/Emulators/PC
+PreReq: coreutils

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >
This Thread
  • No further messages