Hello community,
here is the log from the commit of package accountsservice for openSUSE:Factory
checked in at 2018-12-19 13:45:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/accountsservice (Old)
and /work/SRC/openSUSE:Factory/.accountsservice.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "accountsservice"
Wed Dec 19 13:45:58 2018 rev:61 rq:657455 version:0.6.50
Changes:
--------
--- /work/SRC/openSUSE:Factory/accountsservice/accountsservice.changes
2018-07-31 15:53:45.142973364 +0200
+++
/work/SRC/openSUSE:Factory/.accountsservice.new.28833/accountsservice.changes
2018-12-19 13:46:00.303570006 +0100
@@ -1,0 +2,6 @@
+Mon Dec 10 05:48:13 UTC 2018 - [email protected]
+
+- Add accountsservice-read-root-user-cache.patch: Read root user
+ cache file (bsc#1114292 glfo#accountsservice/accountsservice#65).
+
+-------------------------------------------------------------------
New:
----
accountsservice-read-root-user-cache.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ accountsservice.spec ++++++
--- /var/tmp/diff_new_pack.ZUsa4F/_old 2018-12-19 13:46:01.675568088 +0100
+++ /var/tmp/diff_new_pack.ZUsa4F/_new 2018-12-19 13:46:01.675568088 +0100
@@ -32,6 +32,8 @@
Patch1: accountsservice-filter-suse-accounts.patch
# PATCH-FIX-UPSTREAM
accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch
boo#1100041 fdo#107298 -- lib: don't set loaded state until seat is fetched
Patch4:
accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch
+# PATCH-FIX-UPSTREAM accountsservice-read-root-user-cache.patch bsc#1114292
glfo#accountsservice/accountsservice#65 [email protected] read root user cache
file.
+Patch5: accountsservice-read-root-user-cache.patch
## SLE-only patches start at 1000
# PATCH-FEATURE-SLE as-fate318433-prevent-same-account-multi-logins.patch
fate#318433 [email protected] -- prevent multiple simultaneous login.
Patch1000: as-fate318433-prevent-same-account-multi-logins.patch
@@ -101,6 +103,7 @@
%patch0 -p1
%patch1 -p1
%patch4 -p1
+%patch5 -p1
# Sle-only patches start at 1000
%if !0%{?is_opensuse}
%patch1000 -p1
++++++ accountsservice-read-root-user-cache.patch ++++++
Index: accountsservice-0.6.50/src/daemon.c
===================================================================
--- accountsservice-0.6.50.orig/src/daemon.c
+++ accountsservice-0.6.50/src/daemon.c
@@ -813,9 +813,19 @@ add_new_user_for_pwent (Daemon *d
struct spwd *spent)
{
User *user;
+ g_autofree gchar *filename = NULL;
+ g_autoptr(GKeyFile) key_file = NULL;
+ const gchar *user_name;
user = user_new (daemon, pwent->pw_uid);
user_update_from_pwent (user, pwent, spent);
+
+ user_name = user_get_user_name (user);
+ filename = g_build_filename (USERDIR, user_name, NULL);
+ key_file = g_key_file_new ();
+ if (g_key_file_load_from_file (key_file, filename, 0, NULL))
+ user_update_from_keyfile (user, key_file);
+
user_register (user);
g_hash_table_insert (daemon->priv->users,