[Bug 1122028] Re: gsettings does not respect dconf locks

Launchpad Bug Tracker 1122028 at bugs.launchpad.net
Mon Feb 11 13:08:56 UTC 2013


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: glib2.0 (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glib2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/1122028

Title:
  gsettings does not respect dconf locks

Status in “glib2.0” package in Ubuntu:
  Confirmed

Bug description:
  Description:	Ubuntu 12.04.1 LTS
  Release:	12.04

  libglib2.0-bin:
    Installed: 2.32.3-0ubuntu1
    Candidate: 2.32.3-0ubuntu1

  gsettings does not respect locked dconf values (although it does know
  that they are not writable).

  Steps to reproduce:
  1. Lock the value of /org/gnome/desktop/session/idle-delay by setuping up dconf
  as outlined at https://live.gnome.org/dconf/SystemAdministrators, specifically

  $ mkdir -p /etc/dconf/profile
  $ mkdir -p /etc/dconf/db/local.d
  $ mkdir -p /etc/dconf/db/site.d/locks

  $ cat /etc/dconf/profiles/user
  user-db:user
  system-db:local
  system-db:site

  $ cat /etc/dconf/db/site.d/screensaver
  [org/gnome/desktop/session]
  idle-delay=10

  $ cat /etc/dconf/db/site.d/locks/screensaver
  /org/gnome/desktop/session/idle-delay

  2. Run `dconf update` to updates these changes.

  3. Run `dconf read /org/gnome/desktop/session/idle-delay` and observe
  the value is '10'.

  4. Run `gsettings get org.gnome.desktop.session idle-delay` and
  observe the value is the default value 'uint32 600'

  
  Expected results:
  dconf and gsettings would return the same value.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glib2.0/+bug/1122028/+subscriptions




More information about the foundations-bugs mailing list