Bug 49441 - [4.4] missing patch in insserv - breaks upgrade of libvirt and bind9
[4.4] missing patch in insserv - breaks upgrade of libvirt and bind9
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: General
UCS 4.4
Other Linux
: P5 normal (vote)
: UCS 4.4-0-errata
Assigned To: Philipp Hahn
Erik Damrose
:
Depends on: 49440
Blocks: 49425
  Show dependency treegraph
 
Reported: 2019-05-09 20:25 CEST by Philipp Hahn
Modified: 2019-05-22 11:49 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 5: Blocking further progress on the daily work
User Pain: 0.143
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 Philipp Hahn univentionstaff 2019-05-09 20:25:06 CEST
+++ This bug was initially created as a clone of Bug #49440 +++

For UCS-4.3-0 a new version of insserv was imported from Debian, but the process failed to copy our patch to ignore files ending on .debian. This now breaks the upgrade of libvirt, as it has some files diverted by UCR and now that breaks the upgrade process:

> insserv: Service libvirtd has to be enabled to start service libvirt-guests
> insserv: exiting now!
> update-rc.d: error: insserv rejected the script header
> dpkg: Fehler beim Bearbeiten des Paketes libvirt-daemon-system (--configure):
>  Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
> Fehler traten auf beim Bearbeiten von:
>  libvirt-daemon-system

The patch directory was wrongly named "insserv/4.3-0-0-ucs/1.14.0-5.4+b1"
Comment 1 Philipp Hahn univentionstaff 2019-05-09 20:27:40 CEST
r18571 | Bug #49440: re-patch insserv

repo_admin.py --cherrypick -p insserv -r 4.3 --releasedest 4.4 --dest errata4.4-0

Package: insserv
Version: 1.14.0-5.4A~4.4.0.201905092023
Branch: ucs_4.4-0
Scope: errata4.4-0

[4.3-4] c1e5f52cf2 Bug #49440: insserv 1.14.0-5.4A~4.3.0.201905092020
 doc/errata/staging/insserv.yaml | 10 ++++++++++
 1 file changed, 10 insertions(+)
Comment 2 Philipp Hahn univentionstaff 2019-05-09 20:28:28 CEST
(In reply to Philipp Hahn from comment #1)
> [4.3-4] c1e5f52cf2 Bug #49440: insserv 1.14.0-5.4A~4.3.0.201905092020
wrong commit/branch:

[4.4-0] 19d0ab9f46 Bug #49441: insserv 1.14.0-5.4A~4.4.0.201905092023
 doc/errata/staging/insserv.yaml | 10 ++++++++++
 1 file changed, 10 insertions(+)
Comment 3 Arvid Requate univentionstaff 2019-05-13 13:24:23 CEST
Happened on one of our internal servers, because insserv was installed, whas used to be maintained and is unmaintained now since UCS 4.3. Erik could not reproduce this. Adjusting priority.
Comment 4 Philipp Hahn univentionstaff 2019-05-21 06:25:28 CEST
[4.4-0] 2a2e330c1f Bug #49441 bind: Fix init script header
 services/univention-bind/conffiles/etc/init.d/bind9         | 13 ++++++++++---
 services/univention-bind/debian/changelog                   |  6 ++++++
 services/univention-bind/debian/univention-bind.preinst     | 10 ++++++++++
 .../debian/univention-bind.univention-config-registry       |  1 +
 4 files changed, 27 insertions(+), 3 deletions(-)

Package: univention-bind
Version: 13.0.1-6A~4.4.0.201905210621
Branch: ucs_4.4-0
Scope: errata4.4-0

[4.4-0] 900f018123 Bug #49441: univention-bind 13.0.1-6A~4.4.0.201905210621
 doc/errata/staging/univention-bind.yaml | 11 +++++++++++
 1 file changed, 11 insertions(+)
Comment 5 Erik Damrose univentionstaff 2019-05-21 13:34:07 CEST
OK: Update from 4.4-0e0 to latest dev packages with fix
OK: Update from 4.4-0e109 with broken package state to latest dev packages with fix.
OK: dynamically update /etc/init.d/bind9 with UCR dns/backend setting

In my tests, it fixes the package state of UCS systems which have the unconfigured bind9 package remaining from updating bind9 in errata 93

Verified