Bug 17414 - Traceback im univention-updater wenn Proxy Port falsch gesetzt ist
Traceback im univention-updater wenn Proxy Port falsch gesetzt ist
Status: CLOSED WORKSFORME
Product: UCS
Classification: Unclassified
Component: Update - univention-updater
UCS 2.3
Other Linux
: P5 normal (vote)
: UCS 2.4-3
Assigned To: Bugzilla Mailingliste
Felix Botner
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-01-20 16:54 CET by Felix Botner
Modified: 2011-09-14 10:57 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):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2010-01-20 16:54:21 CET
-> ucr set proxy/http="proxyhost:3127"
Setting proxy/http
File: /etc/profile
File: /etc/apt/apt.conf.d/80proxy

(es müsste eigentlich proxyhost:3128 sein, 3127 gibt es auf proxyhost nicht)


-> univention-updater net
Traceback (most recent call last):
  File "/usr/sbin/univention-updater", line 611, in ?
    main()
  File "/usr/sbin/univention-updater", line 509, in main
    nextversion=update_available('net', baseConfig, cdrom_mount_point,sourcedir, stdout, sys.stdout, reboot, iso=iso, updater=updater)
  File "/usr/sbin/univention-updater", line 287, in update_available
    nextversion = updater.release_update_available()
  File "/usr/lib/python2.4/site-packages/univention/updater/tools.py", line 284, in release_update_available
    return self.get_next_version( UCS_Version( ( self.version_major, self.version_minor, self.patchlevel ) ) )
  File "/usr/lib/python2.4/site-packages/univention/updater/tools.py", line 272, in get_next_version
    if self.net_path_exists( '%d.%d/maintained/%d.%d-%d/' % ( version.major, version.minor, version.major, version.minor, version.patchlevel + 1 ) ): #check for x.y-(z+1)
  File "/usr/lib/python2.4/site-packages/univention/updater/tools.py", line 248, in net_path_exists
    self.connection.endheaders ()
  File "/usr/lib/python2.4/httplib.py", line 798, in endheaders
    self._send_output()
  File "/usr/lib/python2.4/httplib.py", line 679, in _send_output
    self.send(msg)
  File "/usr/lib/python2.4/httplib.py", line 646, in send
    self.connect()
  File "/usr/lib/python2.4/httplib.py", line 630, in connect
    raise socket.error, msg
socket.error: (111, 'Connection refused')
Comment 1 Felix Botner univentionstaff 2011-03-24 12:05:26 CET
Funktioniert mit 2.4-2
Comment 2 Felix Botner univentionstaff 2011-08-05 14:33:17 CEST
# dieser proxy funktioniert
-> ucr set proxy/http="http://10.200.7.178:3128"
Setting proxy/http
File: /etc/profile
File: /etc/apt/apt.conf.d/80proxy

-> univention-updater net
Checking network repository
System is up to date (UCS 2.4-3)

# dieser nicht
-> ucr set proxy/http="http://10.200.7.178:3129"
Setting proxy/http
File: /etc/profile
File: /etc/apt/apt.conf.d/80proxy

-> univention-updater net
Error: Update aborted due to configuration error: Proxy configuration error: port is closed
Error: Please check "/var/log/univention/updater.log" for details.

OK funktionierte auch schon mit 2.4-2 -> kein Changelog Eintrag
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2011-09-14 10:57:14 CEST
UCS 2.4-3 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer
neueren Version von UCS erneut auftreten, so sollte der Bug dupliziert werden:
"Clone This Bug".