Bug 149030

Summary: Yast hangs the first time add/remove software is started
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Hans Meier <ma2412ma>
Component: YaST2Assignee: Jiri Srain <jsrain>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Major    
Priority: P5 - None CC: suse-beta
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: YaST2 log files
Log files when YaST is hanging

Description Hans Meier 2006-02-08 11:11:52 UTC
When I execute add/remove software from Yast for the first time of a session, it always hangs during updating the various sources (I have SUSE supplementary KDE, Packman and Java sources set to automatically update). I have to go into a shell, su and kill the 2 processes (add/remove and Yast control center) manually, which is really very annoying.
Comment 1 Christian Boltz 2006-02-08 11:27:16 UTC
Please attach the y2logs (/var/log/YaST2/*)

What does   ps aux   say about the hanging processes? Is your CPU idle or busy when YaST hangs?

Do you see the problem also if you only use _one_ installation source?
Comment 2 Hans Meier 2006-02-08 16:34:01 UTC
Created attachment 67042 [details]
YaST2 log files
Comment 3 Hans Meier 2006-02-08 16:35:51 UTC
Logs are attached.

ps aux says that the CPU is idle.

I haven't tried that, because it does not _always_ hang at the first startup, but very often. I hope the attached log files provide enough info.
Comment 4 Hans Meier 2006-02-09 16:01:56 UTC
Created attachment 67326 [details]
Log files when YaST is hanging

I've attached the directory /var/log/YaST2/ that I've copied when YaST was hanging.
Comment 5 Jiri Srain 2006-02-15 21:24:14 UTC
Does it hang for a long time and then continues, or does it hang forever?

According to log, it hangs while doesnloading the source metadata from the FTP server, which may take some time...
Comment 6 Hans Meier 2006-02-17 08:19:23 UTC
Once I was waiting for over half an hour, then I killed the processes, restarted Yast again and it immediately worked.

Is it possible to define some kind of timeout in Yast that aborts/retries/shows a dialog box after a certain amount of time (e.g. 15-30 seconds) has ellapsed?
Comment 7 Stanislav Visnovsky 2006-03-27 13:46:34 UTC
We have a timeout now for 10.1.