Bug 39685 - xen is maintained in 4.1
xen is maintained in 4.1
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: General
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1
Assigned To: Philipp Hahn
Arvid Requate
: interim-2
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-10-30 13:57 CET by Janek Walkenhorst
Modified: 2015-11-17 12:12 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Janek Walkenhorst univentionstaff 2015-10-30 13:57:42 CET
Due to the BPackage libxenstore3.0 being "maintained" the SPackage xen is maintained in 4.1, this should not be the case.

$ srcpkgfindmaintained.sh xen
REPO: 4.0-0
SRC: xen
BIN: libxen-4.1 libxen-dev libxen-ocaml libxen-ocaml-dev libxenstore3.0 xen-docs-4.1 xen-hypervisor-4.1-amd64 xen-hypervisor-4.1-i386 xenstore-utils xen-system-amd64 xen-system-i386 xen-utils-4.1 xen-utils-common

Maintained in 4.1-0 DVD list: libxenstore3.0
Comment 1 Stefan Gohmann univentionstaff 2015-10-30 20:21:01 CET
root@master441:~# apt-cache rdepends libxenstore3.0
libxenstore3.0
Reverse Depends:
  qemu-system
  [...]
  libvirt-daemon
root@master441:~# 

Hm, any suggestions?
Comment 2 Stefan Gohmann univentionstaff 2015-10-30 20:49:06 CET
Not really nice but we could define a blacklist of non maintainable source packages.
Comment 3 Stefan Gohmann univentionstaff 2015-10-31 07:58:43 CET
Please add in a first step an exception for the Xen source package. If it is required, we could change it in a more generic way after UCS 4.1.
Comment 4 Philipp Hahn univentionstaff 2015-11-03 11:58:56 CET
Remove build-dependencies on Xen:

r15408 | Bug #39685 virt: Disable Xen
$ repo_admin.py --cherrypick -r 4.0 --releasedest 4.1 -p libvirt --ignore-patches

Package: libvirt
Version: 1.2.7-11.131.201511030908
Branch: ucs_4.1-0

$ dcmd --deb /var/univention/buildsystem2/apt/ucs_4.1-0/source/libvirt_1.2.7-11.131.201511030908_i386.changes | sed -e '/_all/s/source/all/;/_i386/s/source/i386/' | xargs -rn1 dpkg -I | grep xen


$ repo_admin.py -U -d wheezy -r 4.1-0-0 -p qemu
r15409 | Bug #39685 virt: Disable Xen

Package: qemu
Version: 1.1.2+dfsg-6a.47.201511030926
Branch: ucs_4.1-0

$ dcmd --deb /var/univention/buildsystem2/apt/ucs_4.1-0/source/qemu_1.1.2+dfsg-6a.47.201511030926_i386.changes | sed -e '/_all/s/source/all/;/_i386/s/source/i386/' | xargs -rn1 dpkg -I | grep xen


$ build-cd-ucs4.1-0 -A amd64 --debug-failures --keep-installer
<http://bygga.knut.univention.de/blog/?p=3802>
$ grep xen cd-contents/ucs_4.1-0_amd64_dvd.*
Comment 5 Philipp Hahn univentionstaff 2015-11-03 12:05:14 CET
r65115 | Bug #39685 CL: Disable Xen
Comment 6 Arvid Requate univentionstaff 2015-11-03 16:02:09 CET
Verified:

* libvirt cherrypicked from 4.0-0 to 4.1-0
* all patches applied plus new 0009-Bug-39685-virt-Disable-Xen.patch
  which does what it's supposed to do.

* qemu was patched to remove the build-depenency on libxen-dev.
  The build log shows "xen support       no".
  This removes the Dependency of "qemu-system" on libxen-4.1 and libxenstore3.0.
  This is required as all binary packages of qemu now have "mainained" status
  starting with UCS 4.1-0.
* qemu also has been updated to the latest version to cover security issues
  which formerly have only been closed for qemu-kvm.
* all previous and the new patch have been applied during built.

* xen / libxen is not in the cd-contents list

Changelog Ok.
Comment 7 Stefan Gohmann univentionstaff 2015-11-17 12:12:45 CET
UCS 4.1 has been released:
 https://docs.software-univention.de/release-notes-4.1-0-en.html
 https://docs.software-univention.de/release-notes-4.1-0-de.html

If this error occurs again, please use "Clone This Bug".