Bug 1728896
Summary: | glib2: 'keyfile' backend for gsettings not loaded | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Marco Benatto <mbenatto> |
Component: | glib2 | Assignee: | Michael Catanzaro <mcatanza> |
Status: | CLOSED ERRATA | QA Contact: | Michael Boisvert <mboisver> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.0 | CC: | mbenatto, mboisver, mclasen, tpelka |
Target Milestone: | rc | ||
Target Release: | 8.4 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | glib2-2.56.4-9.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-05-18 14:38:09 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1728727, 1728730 | ||
Bug Blocks: |
Description
Marco Benatto
2019-07-10 21:44:32 UTC
(In reply to Marco Benatto from comment #0) > Expected results: > configuration should be stored on properly format without any issue. > > Additional info: > Upstream report for this issue > > https://gitlab.gnome.org/GNOME/glib/issues/1822 I looked into this yesterday. Setting the keyfile backend as the default backend is only supposed to work in glib 2.60 and newer. We have glib 2.56 in RHEL 8, so it's not expected to work. However, we actually do want to support this in RHEL 8.4, because we want to create RHEL flatpak runtimes, and for that we need glib in the runtime to support the keyfile backend. This is only useful in combination with support for the settings portal. I will try to backport all of the above, and we'll see how it goes. (In reply to Marco Benatto from comment #0) > Steps to Reproduce: > $ GSETTINGS_BACKEND=keyfile gsettings set org.gnome.desktop.thumbnail-cache > maximum-size 10 > > (process:7779): GLib-GIO-WARNING **: 17:38:31.640: Can't find module > 'keyfile' specified in GSETTINGS_BACKEND > GLib-GIO-Message: 17:38:31.640: Using the 'memory' GSettings backend. Your > settings will not be saved or shared with other applications. Alternative reproducer that doesn't modify any settings, for QA: $ GSETTINGS_BACKEND=keyfile gsettings get org.gnome.desktop.thumbnail-cache maximum-size Testing glib2-2.56.4-9.el8 using the provided reproducers, I can see that the keyfile module is being properly loaded to provide the key-value configuration. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: GNOME security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:1586 |