Univention Bugzilla – Bug 27665
Keine Fortschittsinformation bei Errata-Updates
Last modified: 2018-04-14 13:51:19 CEST
Im Rahmen von ucs-test-cloud wird univention-upgrade net --ignoressh --ignoreterm --noninteractive </dev/null ausgeführt. Dessen letzte Ausgabe ist | Starting univention-upgrade. Current UCS version is 3.0-1 errata30 | | Checking for local repository: none | Checking for release updates: none | Checking for package updates: none | Checking for errata updates: found | | Starting errata update danach passiert (derzeit bei 84 Errata-Updates) erstmal 10 Minuten nichts sichtbares. Der Kenner weiß zwar, das er in /var/log/univention/updater.log und /var/log/univention/errata-updates.log den Fortschritt beobachten kann, aber das erfordert eine zweite Konsole oder SSH-Sitzung. Im Falle von ucs-test-cloud führt das derzeit dazu, daß das Kommando nach besagten 10 Minuten in ein Timeout läuft und die Verbindung schließt. Der Update quittiert das daraufhin mit: | Traceback (most recent call last): | File "/usr/sbin/univention-upgrade", line 430, in main | performUpdate(options.updateto, ignoressh=options.ignoressh, ignoreterm=options.ignoreterm, interactive=not options.noninteractive, silent=False) | File "/usr/sbin/univention-upgrade", line 311, in performUpdate | dprint(silent, 'Checking for component errata updates for %s: ' % component, newline=False) | File "/usr/sbin/univention-upgrade", line 65, in dprint | sys.stdout.flush() | IOError: [Errno 32] Broken pipe Vermutlich wird durch das ganze verschachtelte Aufrufen von /usr/share/univention-updater/* durch /usr/sbin/univention-upgrade und mehrfache Umbiegen der Ausgabe nach /var/log/univention/*up*.log irgendwo STDOUT umgeleitet, das hier die Ausgabe für den Benutzer nicht mehr sichtbar ist. Das sollte mal überarbeitet werden, damit auf der Konsole wenigstens sinnvolle Meldungen erscheinen.
This issue has been filed against UCS 3. UCS 3 is out of the normal maintenance and many UCS components have vastly changed in UCS 4. If this issue is still valid, please change the version to a newer UCS version otherwise this issue will be automatically closed in the next weeks.
This issue has been filed against UCS 3.0. UCS 3.0 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.