[Bug 221071] New: YOU hangs if one of the installation sources is not available
https://bugzilla.novell.com/show_bug.cgi?id=221071 Summary: YOU hangs if one of the installation sources is not available Product: openSUSE 10.2 Version: Beta 2 Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: suse-beta@cboltz.de QAContact: jsrain@novell.com I noticed that YaST2 Online Update hangs if one of the (remote) installation sources is not available. To reproduce, - add a NFS and a HTTP installation source (sorry, I didn't test which one causes the problem) - make the server providing those sources unavailable (init 0 ;-) - start YaST2 Online Update - in the dialogs that inform about the not available server, click "Überspringen" (skip) Expected result: YOU displays only patches from available sources Actual result: YOU hangs (no more window redraw, no new log entries - yes, I waited several minutes) My current installation sources are: (yes, I should clean them up ;-) # zypper sl # | Enabled | Refresh | Type | Name | URI ---+---------+---------+------+----------------------------------------------------------------------------------+--------------------------------------------------------------------------------- 1 | No | Yes | YUM | 20060623-213829 | http://gd.tuwien.ac.at/linux/suse.com/suse/update/10.1 2 | No | No | YaST | SUSE-Linux-10.1-DVD9-x86-x86_64-10.1-0-20060609-191003 | cd:///?devices=/dev/hdc 3 | No | No | YUM | 20060629-225739 | http://ftp.hosteurope.de/mirror/ftp.suse.com/pub/suse/update/10.1 4 | No | Yes | YUM | 20060701-204745 | http://ftp.gwdg.de/pub/linux/misc/packman/suse/10.1/ 5 | No | Yes | YUM | 20060710-223813 | ftp://ftp4.gwdg.de/pub/suse/update/10.1 6 | No | Yes | YUM | ftp://ftp.gwdg.de/pub/linux/suse/people/aj/10.1-packagemanagement-update-test/ | ftp://ftp.gwdg.de/pub/linux/suse/people/aj/10.1-packagemanagement-update-test/ 7 | No | Yes | YUM | 20060717-224335 | http://software.opensuse.org/download/openSUSE:/Tools/SUSE_Linux_101/ 8 | No | Yes | YUM | ftp://ftp4.gwdg.de/pub/linux/suse/ftp.suse.com/people/aj/10.1-kernel-update-test | ftp://ftp4.gwdg.de/pub/linux/suse/ftp.suse.com/people/aj/10.1-kernel-update-test 9 | No | Yes | YUM | http://software.opensuse.org/download/home:/michal-m:/mysql/SUSE_Linux_10.1/ | http://software.opensuse.org/download/home:/michal-m:/mysql/SUSE_Linux_10.1/ 10 | Yes | Yes | YUM | 20061114-182239 | ftp://ftp4.gwdg.de/pub/suse/update/10.2 11 | No | Yes | YUM | http://software.opensuse.org/download/openSUSE:/Tools/SUSE_Linux_10.1/ | http://software.opensuse.org/download/openSUSE:/Tools/SUSE_Linux_101/ 12 | Yes | Yes | YaST | 20061113-212116 | http://10.12.80.1/Factory/inst-source 13 | Yes | Yes | YaST | 20061113-212224 | nfs://10.12.80.1/data/datengrab/extra The server providing number 12 and 13 (IP 10.12.80.1) was switched off while I found this bug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221071 ------- Comment #1 from suse-beta@cboltz.de 2006-11-14 16:19 MST ------- Created an attachment (id=105301) --> (https://bugzilla.novell.com/attachment.cgi?id=105301&action=view) y2logs (saved while YOU was hanging, I kill'ed it afterwards) I forgot to mention: I use Factory from sunday, somewhat newer than beta2. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221071 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |kkaempf@novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221071 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsuchome@novell.com, lslezak@novell.com AssignedTo|kkaempf@novell.com |sh@novell.com ------- Comment #2 from jsuchome@novell.com 2006-11-16 05:24 MST ------- Reproduced on beta2plus. Stefan, it hangs in PackageCallbacks::OpenSourcePopup, looks like just at UI::OpenDialog at line 739. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221071 lslezak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|sh@novell.com |lslezak@novell.com Status|NEW |ASSIGNED ------- Comment #3 from lslezak@novell.com 2006-11-16 07:00 MST ------- The bug seems to somewhere in the YCP callbacks, in inst_source client it works correctly. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221071 lslezak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|lslezak@novell.com |sh@novell.com Status|ASSIGNED |NEW ------- Comment #4 from lslezak@novell.com 2006-11-16 08:21 MST ------- No, the bug is definitely in Qt UI - it hangs in UI::OpenDialog() call in PackageCallbacks.ycp:739. In NCurses is works without problem. I think that the cause of the problem is calling OpenDialog() while the package selector is constructed. The package selector widget calls a zypp function which calls a callback function which opens a new window - opening is probably not reentrant... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221071 ------- Comment #5 from jim.pye@pyenet.co.nz 2006-11-16 19:03 MST ------- On my installation I had added a ISO file as a local directory and had also disabled the default cd:/// and cd:////dev/hdc sources (where I originally installed from) and got the above hang... Also am getting dialog when going into Software Management asking to insert CD even though I have disabled them. Beta2 from the downloaded CDs (actually Beta1 to Beta2 deltas) Cheers Jim -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221071 sh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|sh@novell.com |lslezak@novell.com ------- Comment #6 from sh@novell.com 2006-11-17 11:11 MST ------- Then that's a bug of those callbacks. It worked before without that callback changed, so how can it be a bug of the Qt part? UI::OpenDialog() is indeed not supported in that scenario - while a PackageSelector is being created or during UI::RunPkgSelection(). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221071 lslezak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|lslezak@novell.com |jsuchome@novell.com ------- Comment #7 from lslezak@novell.com 2006-11-20 02:04 MST ------- If it's an unsupportd scenario then I suppose a patch which forces parsing of the source files _before_ displaying the package selector. (The patch will be attached). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221071 ------- Comment #8 from lslezak@novell.com 2006-11-20 02:05 MST ------- Created an attachment (id=106187) --> (https://bugzilla.novell.com/attachment.cgi?id=106187&action=view) the proposed patch -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221071 lslezak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jsuchome@novell.com |lslezak@novell.com Status|NEW |ASSIGNED ------- Comment #9 from lslezak@novell.com 2006-11-20 02:59 MST ------- The problem is in the package manager bindings - SourceLoad() is not called when a source restoration fails. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221071 lslezak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #10 from lslezak@novell.com 2006-11-20 03:32 MST ------- Fixed in yast2-pkg-bindings-2.14.3: SourceStartManager() loads sources even if some source could not have been restored. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com