[accountsservice/f16] fix fast user switching
Matthias Clasen
mclasen at fedoraproject.org
Sun Sep 4 14:42:54 UTC 2011
commit 15c0f0d023160340bd2b8d57ae29917cdd5facf6
Author: Matthias Clasen <mclasen at redhat.com>
Date: Sun Sep 4 10:42:08 2011 -0400
fix fast user switching
0001-Fix-fast-user-switching.patch | 29 +++++++++++++++++++++++++++++
accountsservice.spec | 9 ++++++++-
2 files changed, 37 insertions(+), 1 deletions(-)
---
diff --git a/0001-Fix-fast-user-switching.patch b/0001-Fix-fast-user-switching.patch
new file mode 100644
index 0000000..4404c16
--- /dev/null
+++ b/0001-Fix-fast-user-switching.patch
@@ -0,0 +1,29 @@
+From 0bc8212b2f9f98662e33659277b9b7215a25637a Mon Sep 17 00:00:00 2001
+From: Matthias Clasen <mclasen at redhat.com>
+Date: Sun, 4 Sep 2011 10:24:10 -0400
+Subject: [PATCH] Fix fast user switching
+
+libaccountsservice was trying to launch 'actflexiserver', which
+does not exist. Use 'gdmflexiserver' instead, which does exist.
+This was a copy-and-paste error from when libaccountsservice was
+first introduced, a year ago.
+---
+ src/libaccountsservice/act-user-manager.c | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/libaccountsservice/act-user-manager.c b/src/libaccountsservice/act-user-manager.c
+index 2ab8c61..2fd2394 100644
+--- a/src/libaccountsservice/act-user-manager.c
++++ b/src/libaccountsservice/act-user-manager.c
+@@ -213,7 +213,7 @@ start_new_login_session (ActUserManager *manager)
+ GError *error;
+ gboolean res;
+
+- res = g_spawn_command_line_async ("actflexiserver -s", &error);
++ res = g_spawn_command_line_async ("gdmflexiserver -s", &error);
+ if (! res) {
+ if (error != NULL) {
+ g_warning ("Unable to start new login: %s", error->message);
+--
+1.7.6.1
+
diff --git a/accountsservice.spec b/accountsservice.spec
index 7a69cd0..ddb0de6 100644
--- a/accountsservice.spec
+++ b/accountsservice.spec
@@ -1,7 +1,7 @@
Name: accountsservice
Version: 0.6.13
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: D-Bus interfaces for querying and manipulating user account information
Group: System Environment/Daemons
@@ -10,6 +10,9 @@ URL: http://www.fedoraproject.org/wiki/Features/UserAccountDialog
#VCS: git:git://git.freedesktop.org/accountsservice
Source0: http://www.freedesktop.org/software/accountsservice/accountsservice-%{version}.tar.xz
+# upstream fix
+Patch0: 0001-Fix-fast-user-switching.patch
+
BuildRequires: glib2-devel
BuildRequires: dbus-glib-devel
BuildRequires: polkit-devel
@@ -49,6 +52,7 @@ of these interfaces, based on the useradd, usermod and userdel commands.
%prep
%setup -q
+%patch0 -p1
%build
%configure
@@ -87,6 +91,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/*.a
%{_datadir}/gir-1.0/AccountsService-1.0.gir
%changelog
+* Sun Sep 4 2011 Matthias Clasen <mclasen at redhat.com> - 0.6.13-3
+- Fix fast user switching
+
* Mon Aug 15 2011 Kalev Lember <kalevlember at gmail.com> - 0.6.13-2
- Rebuilt for rpm bug #728707
More information about the scm-commits
mailing list