Your message dated Mon, 02 Feb 2009 14:32:07 +0000
with message-id <[email protected]>
and subject line Bug#512947: fixed in gconf 2.24.0-5
has caused the Debian Bug report #512947,
regarding gconf2-common: add --mandatory capability to update-gconf-defaults
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
512947: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512947
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gconf2-common
Version: 2.22.0-1
Severity: wishlist
Tags: patch
Hi,
update-gconf-defaults is very useful for local sysadmins (allowing us to
drop simple files in /usr/share/gconf/defaults in order to customise the
default behaviour of desktops). Even more useful would be the ability
to use it for setting mandatory options in the same way instead of
writing the XML by hand. Attached is a patch to the gconf source
package to allow this.
Obviously this isn't for use by packages in the archive, but it
certainly makes life easier for local sysadmins.
Cheers,
Mark
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-k7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
diff -Naur gconf-2.22.0/debian/default.path
gconf-2.22.0-mandatory/debian/default.path
--- gconf-2.22.0/debian/default.path 2009-01-25 10:45:58.000000000 +0000
+++ gconf-2.22.0-mandatory/debian/default.path 2009-01-25 10:48:19.000000000
+0000
@@ -8,6 +8,9 @@
# Other forced sources imagined by the local administrator
include /etc/gconf/2/local-mandatory.path
+# Settings forced by the local administrator using
+# update-gconf-defaults --mandatory
+xml:readonly:/var/lib/gconf/debian.mandatory
#######################
# 2. User Preferences #
diff -Naur gconf-2.22.0/debian/gconf2-common.dirs
gconf-2.22.0-mandatory/debian/gconf2-common.dirs
--- gconf-2.22.0/debian/gconf2-common.dirs 2009-01-25 10:45:58.000000000
+0000
+++ gconf-2.22.0-mandatory/debian/gconf2-common.dirs 2009-01-25
10:47:11.000000000 +0000
@@ -4,3 +4,4 @@
/usr/share/gconf/defaults
/var/lib/gconf/defaults
/var/lib/gconf/debian.defaults
+/var/lib/gconf/debian.mandatory
diff -Naur gconf-2.22.0/debian/update-gconf-defaults
gconf-2.22.0-mandatory/debian/update-gconf-defaults
--- gconf-2.22.0/debian/update-gconf-defaults 2009-01-25 10:45:58.000000000
+0000
+++ gconf-2.22.0-mandatory/debian/update-gconf-defaults 2009-01-25
10:38:48.000000000 +0000
@@ -102,6 +102,10 @@
if len(l) == 2:
gconf_val[l[0]] = l[1]
+if len(sys.argv) > 1:
+ if sys.argv[1] == '--mandatory':
+ defaults_dir = '/usr/share/gconf/mandatory'
+ outdir = '/var/lib/gconf/debian.mandatory'
defaults_files = os.listdir(defaults_dir)
defaults_files.sort()
diff -Naur gconf-2.22.0/debian/update-gconf-defaults.8
gconf-2.22.0-mandatory/debian/update-gconf-defaults.8
--- gconf-2.22.0/debian/update-gconf-defaults.8 2009-01-25 10:45:58.000000000
+0000
+++ gconf-2.22.0-mandatory/debian/update-gconf-defaults.8 2009-01-25
10:45:36.000000000 +0000
@@ -12,9 +12,11 @@
.B update-gconf-defaults
is responsible for generating defaults used by GConf from the files
found in
-.IR /usr/share/gconf/defaults .
+.IR /usr/share/gconf/defaults
+or
+.IR /usr/share/gconf/mandatory
.PP
-The syntax of files in this directory consists in lines containing the
+The syntax of files in these directories consist of lines containing the
key name, some white space, and the key value, which can be an integer,
a boolean, a float, a string or a list of strings. Example:
.PP
@@ -41,8 +43,21 @@
.I NN
as 10 for packages in the Debian archive, 20 for derived distributions,
50 for CDD distributions, and 90 for site-specific packages.
+.PP
+By default, the program will update the defaults tree. In order for
+site administrators to be able to update the mandatory tree, the
+.B
+\fB\-\-mandatory\fR
+option should be used.
.SH OPTIONS
-There are no options for this program.
+.TP
+\fB\-\-mandatory\fR
+If this option is passed, update-gconf-defaults will update the mandatory
+tree instead of the default tree. This
+.B
+must
+not be used by Debian packages. It is only for use by local system
+administrators.
.SH FILES
.TP
.I /usr/share/gconf/defaults/
@@ -51,6 +66,12 @@
.I /var/lib/gconf/debian.defaults/%gconf-tree.xml
The value tree generated. It is read by GConf with the default Debian
configuration, and it takes precedence over upstream defaults.
+.TP
+.I /usr/share/gconf/mandatory/
+The directory where mandatory files are read if called with --mandatory.
+.TP
+.I /var/lib/gconf/debian.mandatory/%gconf-tree.xml
+The value tree generated if called with --mandatory.
.SH SEE ALSO
.BR dh_gconf (1), gconftool (1).
.SH AUTHOR
--- End Message ---
--- Begin Message ---
Source: gconf
Source-Version: 2.24.0-5
We believe that the bug you reported is fixed in the latest version of
gconf, which is due to be installed in the Debian FTP archive:
gconf-defaults-service_2.24.0-5_amd64.deb
to pool/main/g/gconf/gconf-defaults-service_2.24.0-5_amd64.deb
gconf2-common_2.24.0-5_all.deb
to pool/main/g/gconf/gconf2-common_2.24.0-5_all.deb
gconf2_2.24.0-5_amd64.deb
to pool/main/g/gconf/gconf2_2.24.0-5_amd64.deb
gconf_2.24.0-5.diff.gz
to pool/main/g/gconf/gconf_2.24.0-5.diff.gz
gconf_2.24.0-5.dsc
to pool/main/g/gconf/gconf_2.24.0-5.dsc
libgconf2-4_2.24.0-5_amd64.deb
to pool/main/g/gconf/libgconf2-4_2.24.0-5_amd64.deb
libgconf2-dev_2.24.0-5_amd64.deb
to pool/main/g/gconf/libgconf2-dev_2.24.0-5_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Josselin Mouette <[email protected]> (supplier of updated gconf package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 02 Feb 2009 14:14:55 +0100
Source: gconf
Binary: gconf2 gconf2-common gconf-defaults-service libgconf2-4 libgconf2-dev
Architecture: source all amd64
Version: 2.24.0-5
Distribution: experimental
Urgency: low
Maintainer: Josselin Mouette <[email protected]>
Changed-By: Josselin Mouette <[email protected]>
Description:
gconf-defaults-service - GNOME configuration database system (system defaults
service)
gconf2 - GNOME configuration database system (support tools)
gconf2-common - GNOME configuration database system (common files)
libgconf2-4 - GNOME configuration database system (shared libraries)
libgconf2-dev - GNOME configuration database system (development)
Closes: 512474 512476 512947
Changes:
gconf (2.24.0-5) experimental; urgency=low
.
[ Josselin Mouette ]
* Add a Breaks against older libbonobos because gconf using dbus makes
#331000 occur much more often.
.
[ Loic Minier ]
* Change the postinst to explicitely install the alternative on install and
upgrades from << 2.19.1-2.
.
[ Josselin Mouette ]
* update-gconf-defaults: ignore more backup extensions.
Closes: #512476.
* gconf-schemas: add a --no-signal option.
* gconf2.postinst: improve the detection of cases when daemons need to
be signalled.
* Support alternate installation paths for defaults, including setting
mandatory settings. Closes: #512474, #512947.
+ update-gconf-defaults: implement the --source, --destination,
--no-signal and --mandatory options.
+ update-gconf-defaults.8: document them.
+ default.path: add /var/lib/gconf/debian.mandatory as a mandatory
source.
+ gconf2-common.dirs: add new directories.
+ gconf2.postinst: run update-gconf-defaults --mandatory if needed.
+ gconf2.install: install the script to /usr/bin.
+ README.Debian: document this.
Checksums-Sha1:
7f01ccf944ab9aae0f7a711ed6d6ea0806f91e70 1559 gconf_2.24.0-5.dsc
8c2aac136b89590f3c7a558754d73d1d505bc3c3 89256 gconf_2.24.0-5.diff.gz
5a9034d9147479911b49b08356892238bcd0a668 1576342 gconf2-common_2.24.0-5_all.deb
1d0135e77bd8fdd3e00260c6fdc72eaab7ed578c 147642 gconf2_2.24.0-5_amd64.deb
be7689efc0c591cbad84ce73c1a3c5c14839e105 104908
gconf-defaults-service_2.24.0-5_amd64.deb
66f6039055c9f0010fcb2c11594d4541c0122e39 272068 libgconf2-4_2.24.0-5_amd64.deb
47c9e43b77b02a37937ddba4fccd261787d68015 300830
libgconf2-dev_2.24.0-5_amd64.deb
Checksums-Sha256:
dad3422228958a2e86f3a344b58da638fdc54ecbf8be51eb352dcf9e8fac747e 1559
gconf_2.24.0-5.dsc
a7e89da98eae4a9033b97af05a916b19c9e937a21bd1c39e8e80d76c6b549cec 89256
gconf_2.24.0-5.diff.gz
1661950d9ab34f7d16ce5fa410dfeda400457245befdbfab19bdb505fea35ecf 1576342
gconf2-common_2.24.0-5_all.deb
615457799ed8e186543d78d5e531a23c3df0124ca70d2d8f528303791bb6b546 147642
gconf2_2.24.0-5_amd64.deb
72df3775125132953ccd218171593dd1d165345a668b041e0e72b66bd52d4109 104908
gconf-defaults-service_2.24.0-5_amd64.deb
e31884c10f1f7d08fee8f8b567462124d55cd42a25a991c8415e9edd694a636e 272068
libgconf2-4_2.24.0-5_amd64.deb
4f47e4c82c7e4fefdde06d1e317b95c1c55bd5d11ad34148f84852b785069593 300830
libgconf2-dev_2.24.0-5_amd64.deb
Files:
16ca11d1866bd50bf637b382a509961a 1559 libs optional gconf_2.24.0-5.dsc
591a226df29bca8e7efae226f5f94fbb 89256 libs optional gconf_2.24.0-5.diff.gz
b5fe067374e498ad25ccacb5eb4d7f33 1576342 libs optional
gconf2-common_2.24.0-5_all.deb
5fbab65930cef39fa47f328fb9407ce4 147642 libs optional gconf2_2.24.0-5_amd64.deb
cd058b18853b5de56cc230b00ab1859c 104908 libs optional
gconf-defaults-service_2.24.0-5_amd64.deb
89a85655cd58c4345cccd05d105ac2ea 272068 libs optional
libgconf2-4_2.24.0-5_amd64.deb
55ee22f5c201fed0f5666c0ffb01161a 300830 libdevel optional
libgconf2-dev_2.24.0-5_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFJhvxSrSla4ddfhTMRAub5AKCjMW0TNq18GgDlJaIQZorag52XIACg/NU3
Ebv/8T+MU0l8cleuqucLXJ4=
=uzab
-----END PGP SIGNATURE-----
--- End Message ---