Bug 708466

Summary: gnome-panel upgrades break site-local configuration
Product: Red Hat Enterprise Linux 6 Reporter: Jack Neely <jjneely>
Component: gnome-panelAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED NOTABUG QA Contact: desktop-bugs <desktop-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1   
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-13 15:17:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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