Bug 22194 - DNS Abfrage im Updater bei konfiguriertem Proxy verbessern
Summary: DNS Abfrage im Updater bei konfiguriertem Proxy verbessern
Status: RESOLVED DUPLICATE of bug 15550
Alias: None
Product: UCS
Classification: Unclassified
Component: Update - univention-updater
Version: UCS 2.4
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: Bugzilla Mailingliste
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-12 16:25 CEST by Tobias Scherer
Modified: 2011-04-12 16:36 CEST (History)
0 users

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):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Scherer univentionstaff 2011-04-12 16:25:10 CEST
Folgendes wurde an Ticket#: 2011041210002483 berichtet:

Ich wollte ein Update von ucs-2.4-1 auf ucs-2.4-2 durchführen, welches mit u.a. Traceback fehlschlug. Die Adresse "apt.univention.de" kann intern nicht aufgelöst werden - alle Anfragen müssen über den (konfigurierten) Proxy gehen. Abhilfe schaffte der Eintrag
 
 1.1.1.1 apt.univention.de
 
in der Datei /etc/hosts. Anscheinend muss nur irgendein Wert zurückgegeben werden, damit das Script weiterläuft. Es wäre schön, wenn dieser Fehler in einer der nächsten Versionen abgefangen werden könnte.

 
 **** Starting univention-updater with
 parameter=['/usr/sbin/univention-updater', 'net']
 Version=2.4
 Patchlevel=1
 using tempdir = /tmp/tmpZ2O5Jd
 starting net mode
 --->DBG:update_available(mode=net, cdrom_mount_point=/cdrom, iso=None)
 Checking network repository
 Traceback (most recent call last):
   File "/usr/sbin/univention-updater", line 272, in update_available
     nextversion = updater.release_update_available()
   File "/usr/lib/python2.4/site-packages/univention/updater/tools.py",
 line 505, in release_update_available
     return self.get_next_version(UCS_Version(ucs_version), components,
 errorsto)
   File "/usr/lib/python2.4/site-packages/univention/updater/tools.py",
 line 458, in get_next_version
     if self.net_path_exists(UCSRepoPool(part='maintained',
 **ver).path(), debug=debug):
   File "/usr/lib/python2.4/site-packages/univention/updater/tools.py",
 line 362, in net_path_exists
     proxy_headers = self.open_connection(server=server, port=port)
   File "/usr/lib/python2.4/site-packages/univention/updater/tools.py",
 line 257, in open_connection
     raise socket.gaierror, (socket.EAI_NONAME, 'The repository server
 %s could not be resolved.' % server)
 gaierror: (-2, 'The repository server apt.univention.de could not be
 resolved.')
 
 Error: The name apt.univention.de is not known.
        Please check your network settings or set the UCR variable
 repository/online/server to a different value.
Comment 1 Tobias Scherer univentionstaff 2011-04-12 16:36:58 CEST

*** This bug has been marked as a duplicate of bug 15550 ***