Hello community, here is the log from the commit of package gnome-session for openSUSE:Factory checked in at 2017-02-19 00:40:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnome-session (Old) and /work/SRC/openSUSE:Factory/.gnome-session.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-session" Changes: -------- --- /work/SRC/openSUSE:Factory/gnome-session/gnome-session.changes 2016-11-10 13:11:33.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.gnome-session.new/gnome-session.changes 2017-02-19 00:40:56.773147603 +0100 @@ -1,0 +2,8 @@ +Wed Feb 15 19:22:06 UTC 2017 - zai...@opensuse.org + +- Add gnome-session-Restrict-the-login-monitor.patch: Restrict the + login monitor to the "session" category. This reduces overhead + by a small amount, and also reduces the amount of + /var/run/systemd that needs to be read. + +------------------------------------------------------------------- New: ---- gnome-session-Restrict-the-login-monitor.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-session.spec ++++++ --- /var/tmp/diff_new_pack.ivQR5S/_old 2017-02-19 00:40:57.313071650 +0100 +++ /var/tmp/diff_new_pack.ivQR5S/_new 2017-02-19 00:40:57.317071087 +0100 @@ -1,7 +1,7 @@ # # spec file for package gnome-session # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,6 +26,8 @@ Source: http://download.gnome.org/sources/gnome-session/3.22/%{name}-%{version}.tar.xz Source1: gnome Source2: gnome.desktop +# PATCH-FIX-UPSTREAM gnome-session-Restrict-the-login-monitor.patch zai...@opensuse.org -- Restrict the login monitor to the "session" category +Patch0: gnome-session-Restrict-the-login-monitor.patch BuildRequires: fdupes BuildRequires: intltool BuildRequires: tcpd-devel @@ -105,6 +107,7 @@ %prep %setup -q +%patch0 -p1 %if !0%{?is_opensuse} translation-update-upstream %endif ++++++ gnome-session-Restrict-the-login-monitor.patch ++++++ >From 73dba36e0d4f9129683caa85b4cd9b012d8e68c8 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" <otay...@fishsoup.net> Date: Thu, 2 Feb 2017 13:03:20 -0500 Subject: gsm-systemd.c: Restrict the login monitor to the "session" category We only are interested in changes to sd_session_get_active(), so only listen for changes in the "session" category. This reduces overhead by a small amount, and also reduces the amount of /var/run/systemd that needs to be read. (Bug 772537 is a failure because of a SELinux policy preventint reading /var/run/systemd/machines - which we don't need to monitor anyways.) --- gnome-session/gsm-systemd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnome-session/gsm-systemd.c b/gnome-session/gsm-systemd.c index 69971b8..539e991 100644 --- a/gnome-session/gsm-systemd.c +++ b/gnome-session/gsm-systemd.c @@ -231,7 +231,7 @@ sd_source_new (void) source = g_source_new (&sd_source_funcs, sizeof (SdSource)); sd_source = (SdSource *)source; - if ((ret = sd_login_monitor_new (NULL, &sd_source->monitor)) < 0) { + if ((ret = sd_login_monitor_new ("session", &sd_source->monitor)) < 0) { g_warning ("Error getting login monitor: %d", ret); } else { sd_source->pollfd.fd = sd_login_monitor_get_fd (sd_source->monitor); -- cgit v0.12