Bug 32236 - Reset version/erratalevel=0 for UCS-3.2
Reset version/erratalevel=0 for UCS-3.2
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Update - univention-updater
UCS 3.1
All Linux
: P5 normal (vote)
: UCS 3.2
Assigned To: Philipp Hahn
Moritz Muehlenhoff
: interim-1
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-13 17:29 CEST by Philipp Hahn
Modified: 2013-11-19 06:41 CET (History)
1 user (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 Philipp Hahn univentionstaff 2013-08-13 17:29:55 CEST
version/erratalevel should probably be reset to 0 for the minor update UCS-3.2 in base/univention-updater/scripts/postup.sh


ucs-3.0/internal/repo-ng/announce/announce_errata needs to be updated as well to generate errata update packages in the right location.


index 5bc6881..612724c 100755
--- a/branches/ucs-3.0/internal/repo-ng/announce/announce_errata
+++ b/branches/ucs-3.0/internal/repo-ng/announce/announce_errata
@@ -99,6 +99,11 @@ class BuildErratumPackage(object):
                                'script': ('b31-scope', 'errata3.1-1', 'univention-errata-level',),
                                'package': 'univention-errata-level',
                                },
+                       '3.2': {
+                               'patch': 'univention-errata-level/3.2-0-0-ucs/1.0.1-1-errata3.2-0/bump-version.patch',
+                               'script': ('b32-scope', 'errata3.2-0', 'univention-errata-level',),
+                               'package': 'univention-errata-level',
+                               },
                        }
 
        def __init__(self, erratum, dryrun=False):
index b5b2e69..a54f155 100644
--- a/branches/ucs-3.2/ucs-3.2-0/base/univention-updater/script/postup.sh
+++ b/branches/ucs-3.2/ucs-3.2-0/base/univention-updater/script/postup.sh
@@ -141,6 +141,9 @@ ucr set \
        repository/online/component/3.2-0-errata/description="Errata updates for UCS 3.2-0" \
        repository/online/component/3.2-0-errata/version="3.2" >>"$UPDATER_LOG" 2>&1
 
+# Reset errata level
+univention-config-registry set version/erratalevel=0 >>"$UPDATER_LOG" 2>&1
+
 echo "done."
 date >>"$UPDATER_LOG"
Comment 1 Philipp Hahn univentionstaff 2013-08-13 20:17:35 CEST
svn12054: univention-errata-level/3.2-0-0-ucs/1.0.1-1-errata3.2-0
svn43142: univention-errata-level, repo-ng, univention-updater

repo-ng_1.11-73.1238.201308132014
univention-updater_9.0.9-1.1194.201308132013

ChangeLog: -not needed; this is part of the normal release procedure-
Comment 2 Moritz Muehlenhoff univentionstaff 2013-08-16 15:49:31 CEST
On a fresh installation with the current DVD the errata level is still at 165:


root@foobar:~# ucr get version/erratalevel
165

root@foobar:~# dpkg -l univention-errata-level
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
         Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name                                    Version                                 Beschreibung
+++-=======================================-=======================================-==============================================================================================
ii  univention-errata-level                 1.0.1-1.199.201308081418                UCS - errata level handling
Comment 3 Philipp Hahn univentionstaff 2013-08-19 10:14:45 CEST
u-e-l from UCS-3.1-1-errata3.1-1 was still included on the DVD.

svn43216: Bump version
univention-errata-level_2.0.0-1.203.201308191001
Comment 4 Moritz Muehlenhoff univentionstaff 2013-08-19 14:12:32 CEST
With ucs_3.2-0-20130819115400-dvd-amd64.iso everything is fine:

root@goo:~# ucr get version/erratalevel
0
Comment 5 Stefan Gohmann univentionstaff 2013-11-19 06:41:35 CET
UCS 3.2 has been released:
 http://docs.univention.de/release-notes-3.2-en.html
 http://docs.univention.de/release-notes-3.2-de.html

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