Bug 2154269

Summary: Programs linked to libdconf emit annoying watch_* debug messages
Product: Red Hat Enterprise Linux 8 Reporter: Carlos Santos <casantos>
Component: gnome-terminalAssignee: David King <dking>
Status: CLOSED ERRATA QA Contact: Michal Odehnal <modehnal>
Severity: low Docs Contact:
Priority: low    
Version: 8.6CC: sbarcomb, tpelka, tpopela
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: gnome-terminal-3.28.3-4.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-14 15:31:53 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:

Description Carlos Santos 2022-12-16 12:54:23 UTC
Description of problem:

Programs linked to libdconf emit annoying watch_* debug messages

Version-Release number of selected component (if applicable):

dconf-0.28.0-4.el8.x86_64

How reproducible:

Always

Steps to Reproduce:

1. Run "gnome-terminal" from the gnome-terminal prompt, itself.

Actual results:

  - On X11 session, these debug messages are shown:

    # watch_fast: "/org/gnome/terminal/legacy/" (establishing: 0, active: 0)
    # unwatch_fast: "/org/gnome/terminal/legacy/" (active: 0, establishing: 1)
    # watch_established: "/org/gnome/terminal/legacy/" (establishing: 0)

  - On Wayland sessions, these debug messages are shown:

    # watch_fast: "/org/gnome/desktop/interface/" (establishing: 0, active: 0)
    # watch_fast: "/org/gnome/settings-daemon/peripherals/mouse/" (establishing: 0, active: 0)
    # watch_fast: "/org/gnome/desktop/sound/" (establishing: 0, active: 0)
    # watch_fast: "/org/gnome/desktop/privacy/" (establishing: 0, active: 0)
    # watch_fast: "/org/gnome/desktop/wm/preferences/" (establishing: 0, active: 0)
    # watch_fast: "/org/gnome/settings-daemon/plugins/xsettings/" (establishing: 0, active: 0)
    # watch_fast: "/org/gnome/desktop/a11y/" (establishing: 0, active: 0)
    # watch_established: "/org/gnome/desktop/interface/" (establishing: 1)
    # watch_established: "/org/gnome/settings-daemon/peripherals/mouse/" (establishing: 1)
    # watch_established: "/org/gnome/desktop/sound/" (establishing: 1)
    # watch_established: "/org/gnome/desktop/privacy/" (establishing: 1)
    # watch_established: "/org/gnome/desktop/wm/preferences/" (establishing: 1)
    # watch_established: "/org/gnome/settings-daemon/plugins/xsettings/" (establishing: 1)
    # watch_established: "/org/gnome/desktop/a11y/" (establishing: 1)
    # watch_fast: "/org/gnome/terminal/legacy/" (establishing: 0, active: 0)
    # unwatch_fast: "/org/gnome/terminal/legacy/" (active: 0, establishing: 1)
    # watch_established: "/org/gnome/terminal/legacy/" (establishing: 0)

Expected results:

No debug messages should be shown unless the G_MESSAGES_DEBUG environment
variable is set.

Additional info:

commit 5865a1324c10d82b6d5d8528bff924774146591f (origin/rhel-8.0.0)
Author: Marek Kasik <mkasik>
Date:   Fri Jan 18 18:22:37 2019 +0100

    Backport fix for emission of spurious changed signals
    
    for all keys at once crashing gnome-shell
    
    Resolves: #1666176

added 0003-Engine-add-g_debug-statements-in-state-changing-inte.patch, which
inserts several g_debug calls. Apparently they were added for debug purposes
during the implementation of the fix and was left there by mistake.

Comment 1 Marek Kašík 2022-12-21 11:09:42 UTC
Hi, this is an issue specific to gnome-terminal. It can be fixed by backporting this commit:

https://gitlab.gnome.org/GNOME/gnome-terminal/-/commit/f84316ec180e9b9515a0914e883a0585f6877c7e

Comment 2 David King 2023-05-04 11:40:22 UTC
Upstream patch was straightforward to backport, so the MR is ready to go.

Comment 6 errata-xmlrpc 2023-11-14 15:31:53 UTC
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 (gnome-terminal 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/RHBA-2023:6949