Bug 253826 - compiz can mess up gconf-db on uninstall
Summary: compiz can mess up gconf-db on uninstall
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: compiz
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Kristian Høgsberg
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-08-22 08:38 UTC by drago01
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-08-22 22:29:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch for rawhide compiz (6.56 KB, patch)
2007-08-22 08:50 UTC, drago01
no flags Details | Diff

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.



Note You need to log in before you can comment on or make changes to this bug.