/etc/gdm/gdm.schemas ignored in favor of /usr/share/gdm/gdm.schemas

Bug #809918 reported by Mike Mol
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gdm (Ubuntu)
Invalid
Wishlist
Unassigned

Bug Description

Ubuntu release: 11.04
Package: gdm

gdm:
  Installed: 2.32.1-0ubuntu3.2
  Candidate: 2.32.1-0ubuntu3.2
  Version table:
 *** 2.32.1-0ubuntu3.2 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
        500 http://security.ubuntu.com/ubuntu/ natty-security/main i386 Packages
        100 /var/lib/dpkg/status
     2.32.1-0ubuntu3 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages
     2.30.5-0ubuntu4.1+langfixes~maverick1 0
        500 http://us.archive.ubuntu.com/ubuntu/ maverick-backports/main i386 Packages

What I expected to happen:
I edited /etc/gdm/gdm.schemas to set the DisallowTCP setting to 'false'. I expected the setting to take effect upon restarting gdm.

What happened instead:
I edited /etc/gdm/gdm.schemas to set the DisallowTCP setting to 'false'.
The setting did not take effect upon restarting gdm.

I edited /usr/share/gdm/gdm.schemas to set the DisallowTCP setting to 'false'.
The setting took effect upon restarting gdm.

(At this point, both /etc/gdm/gdm.schemas and /usr/share/gdm/gdm.schemas have DisallowTCP set to 'false')

Leaving /usr/share/gdm/gdm.schemas with DisallowTCP set to 'false', I again edited /etc/gdm/gdm.schemas to set the DisallowTCP setting to 'true'.

Upon restart of gdm, behavior was still such that DisallowTCP was set to 'false', indicating that /etc/gdm/gdm.schemas was being ignored in favor of /usr/share/gdm/gdm.schemas.

Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report but your comments indicates you are simply misunderstanding gconf, it's not a bug, the .schemas are templates which are used to register values in the gconf database they are not read by anything at run time. you can use the gconf-schemas utility to register a schemas but usually you want to modify values in the database using gconf-editor rather

Changed in gdm (Ubuntu):
importance: Undecided → Wishlist
status: New → Invalid
Revision history for this message
Sebastien Bacher (seb128) wrote :
Revision history for this message
Mike Mol (mikemol) wrote :

I'll look at the gconf docs and get things working the 'proper' way for an individual user with user-supplied settings, but I dispute that there isn't a bug here; settings under /etc should override settings in /usr/share.

Even if the .schemas file is designed for configuring defaults settings. /etc/gdm/gdm.schemas appears to be intended to represent system-local defaults (as opposed to package defaults), and that file should either be respected or removed, not ignored.

Do I need to re-file to get that addressed?

Revision history for this message
Mike Mol (mikemol) wrote :

Ah, I misread the latter portion of your comment. gconf-schemas it is, then.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.