Univention Bugzilla – Full Text Bug Listing |
Summary: | Updater should remove sources.list entry of the new release if the master still uses the old UCS version | ||
---|---|---|---|
Product: | UCS | Reporter: | Stefan Gohmann <gohmann> |
Component: | Update - univention-updater | Assignee: | Philipp Hahn <hahn> |
Status: | CLOSED FIXED | QA Contact: | Stefan Gohmann <gohmann> |
Severity: | normal | ||
Priority: | P5 | CC: | best, botner, hahn |
Version: | UCS 4.2 | ||
Target Milestone: | UCS 4.2-1-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: | https://forge.univention.org/bugzilla/show_bug.cgi?id=44346 | ||
What kind of report is it?: | Bug Report | What type of bug is this?: | 5: Major Usability: Impairs usability in key scenarios |
Who will be affected by this bug?: | 2: Will only affect a few installed domains | How will those affected feel about the bug?: | 4: A User would return the product |
User Pain: | 0.229 | 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: | |||
Bug Depends on: | |||
Bug Blocks: | 45328 |
Description
Stefan Gohmann
2017-06-20 07:19:35 CEST
r80435 | Bug #44821 up: Remove temporary sources list on preup failure Package: univention-updater Version: 12.0.11-2A~4.2.0.201706230818 Branch: ucs_4.2-0 Scope: errata4.2-1 r80437 | Bug #44821, Bug #44842 updater.yaml r80436 | Bug #44821, Bug #44842 updater.yaml For QA: I copied the updated scripts to the test mirrors; after QA they must be copied to the public mirror (mirror/ftp) as well: cd /var/univention/buildsystem2/test_mirror/ftp/4.2/maintained/4.2-1/all cp -v ~/GIT2/base/univention-updater/script/p*up.sh . repo-ng-sign-release-file -i preup.sh -o preup.sh.gpg -p /etc/archive-keys/ucs4.0.txt -k 6B8BFD3C repo-ng-sign-release-file -i postup.sh -o postup.sh.gpg -p /etc/archive-keys/ucs4.0.txt -k 6B8BFD3C cd /var/univention/buildsystem2/mirror/testing/4.2/maintained/4.2-1/all cp -v ~/GIT2/base/univention-updater/script/p*up.sh . repo-ng-sign-release-file -i preup.sh -o preup.sh.gpg -p /etc/archive-keys/ucs4.0.txt -k 6B8BFD3C repo-ng-sign-release-file -i postup.sh -o postup.sh.gpg -p /etc/archive-keys/ucs4.0.txt -k 6B8BFD3C sudo update_mirror.sh -v testing/4.2/maintained/4.2-1/all Code review: OK Tests: OK UCS test: OK YAML: OK seems that this is not yet published. I need to make changes to the 4.2-1 postup.sh for Bug #45328 but there are changes on the testing/4.2/maintained/4.2-1/all/postup.sh script: diff -Nur ftp/4.2/maintained/4.2-1/all/postup.sh testing/4.2/maintained/4.2-1/all/postup.sh --- ftp/4.2/maintained/4.2-1/all/postup.sh 2017-06-20 16:47:09.846276213 +0200 +++ testing/4.2/maintained/4.2-1/all/postup.sh 2017-09-12 17:04:43.476689765 +0200 @@ -156,6 +156,12 @@ repository/online/component/4.2-1-errata/description="Errata updates for UCS 4.2-1" \ repository/online/component/4.2-1-errata/version="4.2" >>"$UPDATER_LOG" 2>&1 +# Bug 45328 +# update/register appcenter at this point because 4.2-0 postup still is in 4.1 mode +univention-app update || true +univention-app register --app || true +# Bug 45328 + # run remaining joinscripts if [ "$server_role" = "domaincontroller_master" ]; then univention-run-join-scripts >>"$UPDATER_LOG" 2>&1 @@ -189,7 +195,4 @@ service apache2 restart >>"$UPDATER_LOG" 2>&1 EOF -# Bug #44346: Pin temporary sources list -rm -f /etc/apt/sources.list.d/00_ucs_update_in_progress.list - sudo update_mirror.sh -v ftp/4.2/maintained/4.2-1/all OK Can be closed |