Hello community,

here is the log from the commit of package accountsservice for openSUSE:Factory 
checked in at 2012-05-03 10:53:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/accountsservice (Old)
 and      /work/SRC/openSUSE:Factory/.accountsservice.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "accountsservice", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/accountsservice/accountsservice.changes  
2012-04-20 15:10:50.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.accountsservice.new/accountsservice.changes     
2012-05-03 10:53:56.000000000 +0200
@@ -1,0 +2,10 @@
+Mon Apr 23 07:57:30 UTC 2012 - vu...@opensuse.org
+
+- Add back accountsservice-filter-more-accounts.patch to filter the
+  at user.
+- Add accountsservice-filter-no-shell.patch to filter users with no
+  shell, which happens when NIS is setup.
+- This should fix bnc#757662.
+- Rebase accountsservice-filter-suse-accounts.patch.
+
+-------------------------------------------------------------------

New:
----
  accountsservice-filter-more-accounts.patch
  accountsservice-filter-no-shell.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ accountsservice.spec ++++++
--- /var/tmp/diff_new_pack.pIYiCT/_old  2012-05-03 10:54:01.000000000 +0200
+++ /var/tmp/diff_new_pack.pIYiCT/_new  2012-05-03 10:54:01.000000000 +0200
@@ -27,8 +27,12 @@
 # WARNING: do not remove/significantly change patch0 without updating the 
relevant patch in gdm too
 # PATCH-FIX-OPENSUSE accountsservice-sysconfig.patch bnc#688071 
vu...@opensuse.org -- Read/write autologin configuration from sysconfig, like 
gdm (see gdm-sysconfig-settings.patch)
 Patch0:         accountsservice-sysconfig.patch
+# PATCH-FIX-UPSTREAM accountsservice-filter-more-accounts.patch fdo#48178 
vu...@opensuse.org -- Filter out more system users (at)
+Patch1:         accountsservice-filter-more-accounts.patch
+# PATCH-FIX-UPSTREAM accountsservice-filter-no-shell.patch fdo#48859 
vu...@opensuse.org -- Filter out users with no shell (which happens when NIS is 
setup)
+Patch2:         accountsservice-filter-no-shell.patch
 # PATCH-FIX-OPENSUSE accountsservice-filter-suse-accounts.patch 
vu...@opensuse.org -- Filter out some system users that are specific to openSUSE
-Patch2:         accountsservice-filter-suse-accounts.patch
+Patch3:         accountsservice-filter-suse-accounts.patch
 # needed for patch0
 BuildRequires:  gnome-common
 BuildRequires:  gobject-introspection-devel
@@ -88,7 +92,9 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 # needed for patch0


++++++ accountsservice-filter-more-accounts.patch ++++++
>From 9bbea12e0592530349c0b07669430186cfeed5a1 Mon Sep 17 00:00:00 2001
From: Vincent Untz <vu...@gnome.org>
Date: Wed, 18 Apr 2012 08:55:50 +0200
Subject: [PATCH] daemon: Also exclude "at" user

---
 src/daemon.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/daemon.c b/src/daemon.c
index d186ab6..0103632 100644
--- a/src/daemon.c
+++ b/src/daemon.c
@@ -79,6 +79,7 @@ static const char *default_excludes[] = {
         "ftp",
         "games",
         "man",
+        "at",
         NULL
 };
 
-- 
1.7.9.2

++++++ accountsservice-filter-no-shell.patch ++++++
>From dc95009e692071f56a194b6b1466c9a2b284feee Mon Sep 17 00:00:00 2001
From: Vincent Untz <vu...@gnome.org>
Date: Wed, 18 Apr 2012 08:57:11 +0200
Subject: [PATCH] daemon: Exclude users with no shell

The NIS entry in /etc/passwd seems to be:
+::::::

We obviously don't want a user with no shell to be visible, so use this
more generic solution.
---
 src/daemon.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/daemon.c b/src/daemon.c
index d186ab6..be98de7 100644
--- a/src/daemon.c
+++ b/src/daemon.c
@@ -163,8 +163,8 @@ daemon_local_user_is_excluded (Daemon *daemon, const gchar 
*username, const gcha
         char *basename, *nologin_basename, *false_basename;
         int ret;
 
-        if (shell == NULL) {
-                return FALSE;
+        if (shell == NULL || shell[0] == '\0') {
+                return TRUE;
         }
 
         ret = FALSE;
-- 
1.7.9.2

++++++ accountsservice-filter-suse-accounts.patch ++++++
--- /var/tmp/diff_new_pack.pIYiCT/_old  2012-05-03 10:54:01.000000000 +0200
+++ /var/tmp/diff_new_pack.pIYiCT/_new  2012-05-03 10:54:01.000000000 +0200
@@ -3,9 +3,9 @@
 --- accountsservice-0.6.17.orig/src/daemon.c
 +++ accountsservice-0.6.17/src/daemon.c
 @@ -79,6 +79,8 @@ static const char *default_excludes[] =
-         "ftp",
          "games",
          "man",
+         "at",
 +        "beagleindex",
 +        "suse-ncc",
          NULL

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to