Package: gconf2
Severity: wishlist
File: /usr/sbin/update-gconf-defaults

The file /usr/sbin/update-gconf-defaults is wonderful, because it
allows me to write simple line-based config files and have them turned
into the XML crap that gconf expects.  Currently at one site I use
this approach to generate a single /etc/gconf/gconf.xml.mandatory from
a bunch of files (where the files are be different depending on the
host's role).

Currently I'm running this as root:

    sed -e "s|/var/lib/gconf/debian.defaults|/tmp|" \
        -e "s|/usr/share/gconf/defaults|&.mandatory|" \
        /usr/sbin/update-gconf-defaults |
    python

I was looking today at using the same thing for my (non-root)
~/.gconfd tree, so that I can version control simple text preferences
and then use the above technique to generate .gconfd/%gconf-tree.xml.

However I notice that update-gconf-defaults is also checking if the
EUID is root, meaning that my sed script will also need to delete this
from update-gconf-defaults before running it.

It would be nice if update-gconf-defaults was moved to /usr/bin, took
optional arguments specifying the sources and output directories, and
only checked the EUID if it was trying to write to the default
location.


-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gconf2 depends on:
pn  gconf2-common              <none>        (no description available)
ii  libc6                      2.7-18        GNU C Library: Shared libraries
pn  libgconf2-4                <none>        (no description available)
ii  libglib2.0-0               2.16.6-1      The GLib library of C routines
ii  libxml2                    2.6.32.dfsg-5 GNOME XML library
ii  psmisc                     22.6-1        Utilities that use the proc filesy
ii  python                     2.5.2-3       An interactive high-level object-o

Versions of packages gconf2 recommends:
ii  libgtk2.0-0                   2.12.11-4  The GTK+ graphical user interface 

gconf2 suggests no packages.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to