Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 799495 Details for
Bug 849110
gnome-base/gnome-session: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gitlab.gnome.org/GNOME/gnome-session/-/merge_requests/83.patch
clear-error-when-running-under-GDM.patch (text/plain), 1.81 KB, created by
Randall
on 2022-08-13 16:20:56 UTC
(
hide
)
Description:
gitlab.gnome.org/GNOME/gnome-session/-/merge_requests/83.patch
Filename:
MIME Type:
Creator:
Randall
Created:
2022-08-13 16:20:56 UTC
Size:
1.81 KB
patch
obsolete
>From d4ad08a1341abb6b78d000e023ad91095c83847a Mon Sep 17 00:00:00 2001 >From: Benjamin Berg <bberg@redhat.com> >Date: Sun, 17 Apr 2022 15:58:13 +0200 >Subject: [PATCH] main: Also clear error when running under GDM > >Commit 0349a77ad875 ("main: Lower fallback warning when running in GDM") >removed error logging when running under GDM. However, the error was not >cleared afterwards, leaking it to later operations and causing other >issues. > >Closes: #105 >--- > gnome-session/main.c | 10 ++++------ > 1 file changed, 4 insertions(+), 6 deletions(-) > >diff --git a/gnome-session/main.c b/gnome-session/main.c >index a460a849..6f033246 100644 >--- a/gnome-session/main.c >+++ b/gnome-session/main.c >@@ -543,10 +543,9 @@ main (int argc, char **argv) > > #ifdef HAVE_SYSTEMD > gsm_util_export_user_environment (&error); >- if (error && !g_getenv ("RUNNING_UNDER_GDM")) { >+ if (error && !g_getenv ("RUNNING_UNDER_GDM")) > g_warning ("Failed to upload environment to systemd: %s", error->message); >- g_clear_error (&error); >- } >+ g_clear_error (&error); > #endif > > #ifdef ENABLE_SYSTEMD_SESSION >@@ -567,10 +566,9 @@ main (int argc, char **argv) > * in a previous session > */ > gsm_util_systemd_reset_failed (&error); >- if (error && !g_getenv ("RUNNING_UNDER_GDM")) { >+ if (error && !g_getenv ("RUNNING_UNDER_GDM")) > g_warning ("Failed to reset failed state of units: %s", error->message); >- g_clear_error (&error); >- } >+ g_clear_error (&error); > > /* We don't escape the name (i.e. we leave any '-' intact). */ > gnome_session_target = g_strdup_printf ("gnome-session-%s@%s.target", session_type, session_name); >-- >GitLab >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 849110
:
782132
| 799495