2008-10-29 10:15:35 |
Philip Peitsch |
bug |
|
|
added bug |
2008-10-29 11:06:38 |
Philip Peitsch |
bug |
|
|
assigned to gconf |
2008-10-29 11:08:38 |
Philip Peitsch |
description |
GConfd seems to be no longer refreshing the client-side cache properly in Intrepid beta. Changes made by the current user with the configuration-editor (gconf-editor), or using pure gconftool-2 or another program (e.g., gnome-network-preferences) will update GConfd's cache properly, however, changes made using sudo -u $USRE gconftool-2... will not notify GConfd to update it's cache.
This is most easily demonstrated by running the following in a terminal (WARNING: will modify your network proxy settings):
1. Check existing settings:
gconftool-2 --get /system/proxy/mode #will echo the current state as gconfd see's things
sudo -u $USER gconftool-2 --get /system/proxy/mode #will echo the current state as the underlying xml file actually is
2. Change the settings in gconfd
gconftool-2 --type string --set /system/proxy/mode manual #will update the gconfd's settings
gconftool-2 --get /system/proxy/mode #will echo 'manual'
sudo -u $USER gconftool-2 --get /system/proxy/mode #will echo 'manual'
2. Change the settings in the underlying xml file
sudo -u $USER gconftool-2 --type string --set /system/proxy/mode none #will update the gconfd's settings
gconftool-2 --get /system/proxy/mode #WILL STILL ECHO 'manual'
sudo -u $USER gconftool-2 --get /system/proxy/mode #will now echo 'none'
gconf2:
Installed: 2.24.0-0ubuntu1
Candidate: 2.24.0-0ubuntu1
Version table:
*** 2.24.0-0ubuntu1 0
500 http://mirror.optus.net intrepid/main Packages
100 /var/lib/dpkg/status |
GConfd seems to be no longer refreshing the client-side cache properly in Intrepid beta. Changes made by the current user with the configuration-editor (gconf-editor), or using pure gconftool-2 or another program (e.g., gnome-network-preferences) will update GConfd's cache properly, however, changes made using sudo -u $USRE gconftool-2... will not notify GConfd to update it's cache.
It is possible to work around this by either restarting gconfd (by running gconftool-2 --shutdown), or opening gconf-editor. Both of these seem to force the cache to reload somehow.
This is most easily demonstrated by running the following in a terminal (WARNING: will modify your network proxy settings):
1. Check existing settings:
gconftool-2 --get /system/proxy/mode #will echo the current state as gconfd see's things
sudo -u $USER gconftool-2 --get /system/proxy/mode #will echo the current state as the underlying xml file actually is
2. Change the settings in gconfd
gconftool-2 --type string --set /system/proxy/mode manual #will update the gconfd's settings
gconftool-2 --get /system/proxy/mode #will echo 'manual'
sudo -u $USER gconftool-2 --get /system/proxy/mode #will echo 'manual'
2. Change the settings in the underlying xml file
sudo -u $USER gconftool-2 --type string --set /system/proxy/mode none #will update the gconfd's settings
gconftool-2 --get /system/proxy/mode #WILL STILL ECHO 'manual'
sudo -u $USER gconftool-2 --get /system/proxy/mode #will now echo 'none'
gconf2:
Installed: 2.24.0-0ubuntu1
Candidate: 2.24.0-0ubuntu1
Version table:
*** 2.24.0-0ubuntu1 0
500 http://mirror.optus.net intrepid/main Packages
100 /var/lib/dpkg/status |
|
2008-10-29 14:00:36 |
Philip Peitsch |
description |
GConfd seems to be no longer refreshing the client-side cache properly in Intrepid beta. Changes made by the current user with the configuration-editor (gconf-editor), or using pure gconftool-2 or another program (e.g., gnome-network-preferences) will update GConfd's cache properly, however, changes made using sudo -u $USRE gconftool-2... will not notify GConfd to update it's cache.
It is possible to work around this by either restarting gconfd (by running gconftool-2 --shutdown), or opening gconf-editor. Both of these seem to force the cache to reload somehow.
This is most easily demonstrated by running the following in a terminal (WARNING: will modify your network proxy settings):
1. Check existing settings:
gconftool-2 --get /system/proxy/mode #will echo the current state as gconfd see's things
sudo -u $USER gconftool-2 --get /system/proxy/mode #will echo the current state as the underlying xml file actually is
2. Change the settings in gconfd
gconftool-2 --type string --set /system/proxy/mode manual #will update the gconfd's settings
gconftool-2 --get /system/proxy/mode #will echo 'manual'
sudo -u $USER gconftool-2 --get /system/proxy/mode #will echo 'manual'
2. Change the settings in the underlying xml file
sudo -u $USER gconftool-2 --type string --set /system/proxy/mode none #will update the gconfd's settings
gconftool-2 --get /system/proxy/mode #WILL STILL ECHO 'manual'
sudo -u $USER gconftool-2 --get /system/proxy/mode #will now echo 'none'
gconf2:
Installed: 2.24.0-0ubuntu1
Candidate: 2.24.0-0ubuntu1
Version table:
*** 2.24.0-0ubuntu1 0
500 http://mirror.optus.net intrepid/main Packages
100 /var/lib/dpkg/status |
GConfd seems to be no longer refreshing the client-side cache properly in Intrepid beta. Changes made by the current user with the configuration-editor (gconf-editor), or using pure gconftool-2 or another program (e.g., gnome-network-preferences) will update GConfd's cache properly, however, changes made using sudo -u $USRE gconftool-2... will not notify GConfd to update it's cache.
It is possible to work around this by either restarting gconfd (by running gconftool-2 --shutdown), or opening gconf-editor. Both of these seem to force the cache to reload somehow.
This is most easily demonstrated by running the following in a terminal (WARNING: will modify your network proxy settings):
1. Check existing settings:
gconftool-2 --get /system/proxy/mode #will echo the current state as gconfd see's things
sudo -u $USER gconftool-2 --get /system/proxy/mode #will echo the current state as the underlying xml file actually is
2. Change the settings in gconfd
gconftool-2 --type string --set /system/proxy/mode manual #will update the gconfd's settings
gconftool-2 --get /system/proxy/mode #will echo 'manual'
sudo -u $USER gconftool-2 --get /system/proxy/mode #will echo 'manual'
2. Change the settings in the underlying xml file
sudo -u $USER gconftool-2 --type string --set /system/proxy/mode none #will update the gconfd's settings
gconftool-2 --get /system/proxy/mode #WILL STILL ECHO 'manual'
sudo -u $USER gconftool-2 --get /system/proxy/mode #will now echo 'none'
gconf2:
Installed: 2.24.0-0ubuntu1
Candidate: 2.24.0-0ubuntu1
Version table:
*** 2.24.0-0ubuntu1 0
500 http://mirror.optus.net intrepid/main Packages
100 /var/lib/dpkg/status
== Regression details ==
Discovered in version: 2.24.0-0ubuntu1
Last known good version: 2.22.0-0ubuntu3 |
|
2008-10-29 18:45:05 |
arno_b |
None: bugtargetdisplayname |
Ubuntu |
gconf (Ubuntu) |
|
2008-10-29 18:45:05 |
arno_b |
None: bugtargetname |
ubuntu |
gconf (Ubuntu) |
|
2008-10-29 18:45:05 |
arno_b |
None: statusexplanation |
|
|
|
2008-10-29 18:45:05 |
arno_b |
None: title |
Bug #290647 in Ubuntu: "gconfd does not refresh cache when sudo-ing current user to modify setting" |
Bug #290647 in gconf (Ubuntu): "gconfd does not refresh cache when sudo-ing current user to modify setting" |
|
2008-10-29 20:37:45 |
Sebastien Bacher |
gconf: status |
New |
Triaged |
|
2008-10-29 20:37:45 |
Sebastien Bacher |
gconf: assignee |
|
desktop-bugs |
|
2008-10-29 20:37:45 |
Sebastien Bacher |
gconf: importance |
Undecided |
Low |
|
2009-01-07 06:41:04 |
Bug Watch Updater |
gconf: status |
Unknown |
New |
|
2010-06-29 08:59:13 |
gsubes |
removed subscriber gsubes |
|
|
|
2010-09-15 22:54:22 |
Bug Watch Updater |
gconf: importance |
Unknown |
Medium |
|
2018-08-18 12:44:20 |
Bug Watch Updater |
gconf: status |
New |
Won't Fix |
|