Bug 253826

Summary: compiz can mess up gconf-db on uninstall
Product: [Fedora] Fedora Reporter: drago01
Component: compizAssignee: Kristian Høgsberg <krh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-08-22 22:29:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch for rawhide compiz none

Description drago01 2007-08-22 08:38:15 UTC
Description of problem:

Compiz does:
%{_bindir}/gconftool-2 --makefile-uninstall-rule \
	%{_sysconfdir}/gconf/schemas/*.schemas >& /dev/null || :

on uninstall which does not just run over the files in the package but
everything. That can mess up the gconf-db on uninstall.
Please only list the files that compiz ships.

Note:
I have copy & pasted it in one of my packages and it killed the gconf-db had to
restore it using  
gconftool-2 --makefile-install-rule /etc//gconf/schemas/*.schemas

Comment 1 Alexander Larsson 2007-08-22 08:46:09 UTC
Even in the install post this is bad, as there might be schemas in
/etc/gconf/schemas that shouldn't be installed.

Comment 2 drago01 2007-08-22 08:50:23 UTC
Created attachment 162038 [details]
patch for rawhide compiz

this patch should fix it for rawhide

Comment 3 drago01 2007-08-22 08:53:47 UTC
seems that f7 is fine bug only in rawhide

Comment 4 Kristian Høgsberg 2007-08-22 22:29:00 UTC
Argh, I know, this is spectacularly bad, thanks for catching it.  I was trying
to avoid having that big list of plugins duplicated in the install, uninstall
and files sections.  I've pushed a new build that should fix this problem
without duplicating the plugin list.