Bug 708466 - gnome-panel upgrades break site-local configuration
Summary: gnome-panel upgrades break site-local configuration
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: gnome-panel
Version: 6.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Ray Strode [halfline]
QA Contact: desktop-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-27 18:23 UTC by Jack Neely
Modified: 2018-11-14 12:18 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-13 15:17:39 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Jack Neely 2011-05-27 18:23:13 UTC
Description of problem:
In our site wide deployment, I push out several changes to Gconf and most of these set gnome-panel preferences for our site and location.  Specifically, I set the weather applet to display weather for Raleigh, NC rather than Boston, and I add a terminal applet beside the default web browser and email icons on the top panel.

I'd like these to not be mandatory in case my users wish to further customize.  So these changes are added like this:

  for f in `ls /usr/share/realmconfig/data/*.xml` ; do 
    /usr/bin/gconftool-2 --direct \
    --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults \
    --load $f 
  done

However, when the gnome-panel package is upgraded (as it was for RHEL 6.1) its %post scripts forcibly remove all Gconf information for the panel and reload the defaults.  This returns all my clients back to their original configuration of displaying weather for Boston, MA.  As well as the terminal app vanishing.

The %post script explicitly does:

   gconftool-2 --direct --config-source=$GCONF_CONFIG_SOURCE --recursive-unset /apps/panel

I'd very much like to be able to alter the default settings, deploy them, and have them remain the defaults that my users can customize.

Version-Release number of selected component (if applicable):
gnome-panel-2.30.2-14.el6.x86_64

How reproducible:
Set new gconf defaults for gnome-panel.  Upgrade the gnome-panel package.

Comment 3 Ray Strode [halfline] 2011-06-06 15:01:27 UTC
try /etc/gconf/gconf.xml.system instead


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