Bug 253826 - compiz can mess up gconf-db on uninstall
compiz can mess up gconf-db on uninstall
Product: Fedora
Classification: Fedora
Component: compiz (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Kristian Høgsberg
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-08-22 04:38 EDT by drago01
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-08-22 18:29:00 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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

  None (edit)
Description drago01 2007-08-22 04:38:15 EDT
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.

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 04:46:09 EDT
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 04:50:23 EDT
Created attachment 162038 [details]
patch for rawhide compiz

this patch should fix it for rawhide
Comment 3 drago01 2007-08-22 04:53:47 EDT
seems that f7 is fine bug only in rawhide
Comment 4 Kristian Høgsberg 2007-08-22 18:29:00 EDT
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.