Bug 637228 - Uninstallation of compiz-gnome using zypper/yast hangs
Summary: Uninstallation of compiz-gnome using zypper/yast hangs
Status: RESOLVED DUPLICATE of bug 546543
Alias: None
Product: openSUSE 11.4
Classification: openSUSE
Component: Compiz (show other bugs)
Version: Milestone 1 of 6
Hardware: x86-64 Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: Olli Ries
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-05 18:30 UTC by Atri Bhattacharya
Modified: 2010-10-01 06:46 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
ps afx as requested (8.50 KB, text/plain)
2010-10-01 02:37 UTC, Atri Bhattacharya
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Atri Bhattacharya 2010-09-05 18:30:00 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.2.8) Gecko/20100723 SUSE/3.6.8-1.8 Firefox/3.6.8

While uninstalling compiz-gnome using zypper rm or YaST the CPU usage bumps to 100%, and there is no progress (zypper shows 0% progress, etc). On hitting Ctrl+C to kill the process this error message shows up

Removing compiz-gnome-0.9.0-2.1 [error]
Removal of (15627)compiz-gnome-0.9.0-2.1.x86_64(@System) failed:
Error: Subprocess failed. Error: RPM failed: error: %preun(compiz-gnome-0.9.0-2.1.x86_64) scriptlet failed, signal 2


Abort, retry, ignore? [a/r/i] (a): r


Reproducible: Always

Steps to Reproduce:
1.zypper rm compiz-gnome
2.
3.
Actual Results:  
Process hangs, sending CPU usage to 100%, have to bail out using Ctrl+C
Comment 1 Dominique Leuenberger 2010-09-24 09:45:35 UTC
Atri,.

Can you check "ps afx" to see if this is not just the gconf schema uninstall taking forever?
Comment 2 Atri Bhattacharya 2010-10-01 02:37:59 UTC
Created attachment 392447 [details]
ps afx as requested

The "ps afx" as requested, while zypper was hung trying to uninstall compiz-gnome
Comment 3 Dominique Leuenberger 2010-10-01 06:46:30 UTC
Thanks Atri,

the interesting part out of the log is:

 3609 pts/2    S+     0:00  |   \_ zypper rm compiz-gnome
 3617 pts/2    S+     0:00  |       \_ rpm --root / --dbpath /var/lib/rpm -e --allmatches --nodeps -- compiz-gnome-0.9.0-3.5.x86_64
 3618 pts/2    S+     0:00  |           \_ /bin/sh /var/tmp/rpm-tmp.31UF2E 0
 3676 pts/2    R+     0:01  |               \_ usr/bin/gconftool-2 --makefile-uninstall-rule usr/share/GConf/schemas/compiz-fade.schemas


Which confirms that it is actually running, and 'hanging' on gcfontool-2 (it's not hanging, but it is processing a good bunch of schemas:
rpm -ql compiz-gnome | grep schemas | wc -l
33

For each of those, gconftool-2 is started and has to updated caches.

As such: This is a duplicate of 546543.

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