Univention Bugzilla – Full Text Bug Listing |
Summary: | univention-ucc-software-update führt für jedes zu installierende Paket apt-get update aus | ||
---|---|---|---|
Product: | Z_Univention Corporate Client (UCC) | Reporter: | Frank Mehrtens <mehrtens> |
Component: | General | Assignee: | Erik Damrose <damrose> |
Status: | CLOSED FIXED | QA Contact: | Moritz Muehlenhoff <jmm> |
Severity: | normal | ||
Priority: | P5 | CC: | daniel, gohmann, jmm |
Version: | unspecified | ||
Target Milestone: | UCC 1.0-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
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: |
Patch
Bild Patch to fix several issues in univention-ucc-software-update |
Created attachment 5430 [details]
Bild
Should be checked for 1.1 Für meinen Kunden mit geringer Bandbreite und hoher Latenz ist das ein großer Bug. Mit 26 Einträgen in der software policy dauert das booten zum grafischen Login geschlagene 15 Minuten! Wenn ein fix während der Laufzeit von UCC 1.0-rev2 möglich wäre - wäre er sehr glücklich. Created attachment 5794 [details]
Patch to fix several issues in univention-ucc-software-update
This patch fixes several issues in univention-ucc-software-update:
* Run apt-get update only once (every 10 minutes)
* Fix language in commands (LANG=C is not enough for apt-get)
* Only remove packages that need to be removed
* Only install packages that need to be installed/updated
* Log all output and status messages to logfile
* Use timestamps in logfile
Added dependency to moreutils because of the use of "ts" (timestamps in logfile)
The patch will be applied with slight modifications. We can not depend on moreutils, because that will install perl and some libraries that need 30+MB of disc space. This is not possible on thin clients. Timestamps will be logged at the beginning and exit of the script. Fixed in r47895 univention-corporate-client 1.0.24-5.83.201402181608 r47897 2014-02-18-univention-corporate-client.yaml The package list is now only updated once during a bigger update (e.g. the current mirror update). Logging has been improved as well. |
Created attachment 5429 [details] Patch Bedingt durch das "for I in $install" in der Datei univention-ucc-software-update wird unnötig oft apt-get update aufgerufen. Die Paketlisten wurden schon an einer vorherigen Stelle aktualisiert, daher sollte das apt-get update in der Schleife an dieser Stelle überflüssig sein. Verteilt man per Software-Update Richtlinie viele Pakete, so verzögert sich der Start des Systems spürbar.