Home_greyopenFATE - openSUSE feature tracking > #305318
Dashboard | Search | Sign up | Login

Please login or register to be able to edit or vote this feature.

Move gconf schemas to /usr

Feature state



We store gconf schemas in /etc/gconf. However, the schemas are not configuration files, but simply data. Therefore, we should move the schemas to /usr.

Simply changing a line in /etc/gconf/2/path should make gconf work with the new location.

Note that Debian already implements this.


  • The Gnome schemas should be in /usr now.
  • so: check this. ls /usr/share/gconf/schemas/


icons/user_comment.png V. U. wrote: (9 years ago)

There are four ways to implement this:

  • patch gconf2 to change the default value of GCONF_SCHEMA_FILE_DIR in gconf-2.m4. The problem with this approach is that we'd need to run autoreconf for all packages (since gconf-2.m4 is integrated in the tarball).
  • try to set the GCONF_SCHEMA_FILE_DIR environment variable to what we want. The problem here is that we need to hack our build tools to be sure that the result will always be the same everywhere. This is hacky.
  • pass --with-gconf-schema-file-dir to all packages using gconf. This requires way too much manual work, and people might forget about it.
  • change the gconf rpm macros to move the file from /etc to /usr. This is hacky, but it will work everywhere and it requires no manual work on all packages. (note: this is what Debian is doing too)

I'm going ahead and implementing this last option.

icons/user_comment.png V. U. wrote: (9 years ago)

Done in G:F, and submitted to oS:F.

Last change: 8 years ago
Score: 3
  • Negative: 0
  • Neutral: 0
  • Positive: 3
Feature Export
Application-xmlXML   Text-x-logPlaintext   PrinterPrint