Hello community,

here is the log from the commit of package lightdm for openSUSE:Factory checked 
in at 2014-10-02 14:13:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lightdm (Old)
 and      /work/SRC/openSUSE:Factory/.lightdm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lightdm"

Changes:
--------
--- /work/SRC/openSUSE:Factory/lightdm/lightdm.changes  2014-06-16 
21:43:57.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.lightdm.new/lightdm.changes     2014-10-02 
14:13:59.000000000 +0200
@@ -1,0 +2,87 @@
+Tue Sep 30 07:37:42 UTC 2014 - g...@opensuse.org
+
+- update to version 1.12.0
+  - Fix assumption that the display server is X when running scripts.
+  - Don't access .dmrc files until information from these files is
+    required.
+  - Don't check the logind CanGraphical seat property unless
+    login-check-graphical option is set to true. There are too many
+    cases of drivers that don't set the appropriate flags for this
+    feature to work.
+  - Make socket writing code used between greeter and daemon more
+    robust to errors.
+  - Fix small memory leaks.
+  - Improve logging messages.
+  - Test improvements.
+  - Rework logind code that gets session ID. The previous method
+    was racy and a change in lightdm 1.11.7 led to a lockup when
+    this race occurred.
+  - Handle CanGraphical property on logind seats
+  - Use logind to provide the list of seats to use. Deprecate the
+    old method of manually defining seats.
+  - Add --show-config option that shows combined configuration.
+  - Drop the surfaceflinger seat type. This was a temporary
+    solution while Ubuntu Phone was migrating to Mir.
+  - Add a seat option 'allow-user-switching' that can disable all
+    user switching for that seat
+  - Add a new session type 'mir-container' that allows the session
+    to run inside a custom system compositor
+  - Only seat0 takes VT from Plymouth
+  - Removed unused GAsyncResultIface.is_tagged as this attribute
+    was not available in earlier versions of Glib I/O.
+  - Abort autogen if yelp-tools not installed
+  - Return correct errors for D-Bus calls
+  - Make PAM services configurable
+  - Do timed autologin each time you are returned to the greeter
+  - Fix tests failing with Qt 5.3 due to it checking getuid/geteuid
+    which we are faking
+  - dm-tool: Warn if trying to switch to user without username
+  - Fix Mir sessions broken with unity-system-compositor 0.3.
+  - Add back Vala bindings for LightDM.Greeter.connect_sync - just
+    mark as deprecated.
+  - Put unity-system-compositor's mir_socket under /run rather than
+    /tmp.
+  - Fix building with clang (3.5) and -Werror.
+  - Correct section name in default users.conf file.
+  - Add liblightdm method to get user UID
+  - DBus-activate logind
+  - Check for libgcrypt at configure time
+  - Allow greeters to remain runing to reduce startup time when
+    switching to a greeter
+  - Add asynchronous methods to liblightdm
+  - When switching to an existing session refresh PAM credentials
+    and end session cleanly so no resources leak.
+  - Support new standard DesktopNames field in session files
+  - Set XDG_SESSION_TYPE and XDG_SESSION_DESKTOP as used by systemd
+  - Emit DBus PropertiesChanged when Sessions/Seats properties
+    change. Also add SessionAdded/SessionRemoved signals to Seat
+    interface
+
+-------------------------------------------------------------------
+Wed Sep 17 05:21:21 UTC 2014 - g...@opensuse.org
+
+- update to version 1.10.2
+  - Use logind to provide the list of seats to use
+  - Fix crash if running script hooks with non-X display servers
+  - Add a seat option 'allow-user-switching' that can disable all
+    user switching for that seat
+  - Make PAM services configurable
+  - Add liblightdm method to get user UID
+  - Add a new session type 'mir-container' that allows the session
+    to run inside a custom system compositor
+  - Add --show-config option that shows combined configuration
+  - Use XDG_SESSION_ID from PAM instead of using the logind D-Bus
+    API
+  - Make socket writing code used between greeter and daemon more
+    robust to errors
+  - Correct section name in default users.conf file
+  - Fix tests failing with Qt 5.3 due to it checking
+    getuid/geteuid which we are faking
+  - Fix small memory leaks
+  - Test improvements
+- fix users.conf section name
+- enable logind multiseat by default
+- configure lightdm to use the xdm PAM services directly instead of
+  symlinking them
+
+-------------------------------------------------------------------

Old:
----
  lightdm-1.10.1.tar.xz

New:
----
  lightdm-1.12.0.tar.xz

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

Other differences:
------------------
++++++ lightdm.spec ++++++
--- /var/tmp/diff_new_pack.q12DEg/_old  2014-10-02 14:14:03.000000000 +0200
+++ /var/tmp/diff_new_pack.q12DEg/_new  2014-10-02 14:14:03.000000000 +0200
@@ -27,13 +27,13 @@
 %define rundir          /run
 
 Name:           lightdm
-Version:        1.10.1
+Version:        1.12.0
 Release:        0
 Summary:        Lightweight, Cross-desktop Display Manager
 License:        GPL-3.0+
 Group:          System/X11/Displaymanagers
 Url:            http://www.freedesktop.org/wiki/Software/LightDM
-Source0:        
https://launchpad.net/lightdm/1.10/%{version}/+download/%{name}-%{version}.tar.xz
+Source0:        
https://launchpad.net/lightdm/1.12/%{version}/+download/%{name}-%{version}.tar.xz
 Source1:        %{name}-greeter.pamd
 Source2:        X11-displaymanagers-%{name}
 Source3:        gdmflexiserver
@@ -200,8 +200,9 @@
 # these are useless stubs for now
 rm -rf %{buildroot}%{_datadir}/help/
 
-ln -sf %{_sysconfdir}/pam.d/xdm %{buildroot}%{_sysconfdir}/pam.d/lightdm
-ln -sf %{_sysconfdir}/pam.d/xdm-np 
%{buildroot}%{_sysconfdir}/pam.d/lightdm-autologin
+# xdm and xdm-np are used instead
+rm %{buildroot}%{_sysconfdir}/pam.d/lightdm \
+    %{buildroot}%{_sysconfdir}/pam.d/lightdm-autologin
 
 ln data/lightdm.conf data/lightdm.conf.example
 
@@ -258,7 +259,7 @@
 %dir %{_sysconfdir}/lightdm/
 %config(noreplace) %{_sysconfdir}/lightdm/users.conf
 %config(noreplace) %{_sysconfdir}/lightdm/keys.conf
-%config %{_sysconfdir}/pam.d/lightdm*
+%config %{_sysconfdir}/pam.d/lightdm-greeter
 %config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.DisplayManager.conf
 %dir %{_libexecdir}/X11/displaymanagers/
 %{_libexecdir}/X11/displaymanagers/lightdm

++++++ 50-suse-defaults.conf ++++++
--- /var/tmp/diff_new_pack.q12DEg/_old  2014-10-02 14:14:03.000000000 +0200
+++ /var/tmp/diff_new_pack.q12DEg/_new  2014-10-02 14:14:03.000000000 +0200
@@ -1,7 +1,11 @@
 [LightDM]
 user-authority-in-system-dir=true
+logind-load-seats=true
 
 [SeatDefaults]
+pam-service = xdm
+pam-autologin-service = xdm-np
+pam-greeter-service = lightdm-greeter
 xserver-command=/usr/bin/X
 session-wrapper=/etc/X11/xdm/Xsession
 greeter-setup-script=/etc/X11/xdm/Xsetup

++++++ lightdm-1.10.1.tar.xz -> lightdm-1.12.0.tar.xz ++++++
++++ 22479 lines of diff (skipped)

++++++ lightdm-disable-utmp-handling.patch ++++++
--- /var/tmp/diff_new_pack.q12DEg/_old  2014-10-02 14:14:04.000000000 +0200
+++ /var/tmp/diff_new_pack.q12DEg/_new  2014-10-02 14:14:04.000000000 +0200
@@ -1,5 +1,5 @@
 # HG changeset patch
-# Parent 6b8575b98c63d50bd0f8346222143586245430e0
+# Parent a952bffa87a4e7d533d0fa43396466b399c545bb
 disable utmp handling since this is handled in the Xstartup/Xreset scripts
 
 diff --git a/src/session-child.c b/src/session-child.c
@@ -25,7 +25,7 @@
  static void
  updwtmpx (const gchar *wtmp_file, struct utmpx *ut)
 @@ -219,6 +222,7 @@ updwtmpx (const gchar *wtmp_file, struct
-   
+ 
      updwtmp (wtmp_file, &u);
  }
 +#endif
@@ -48,7 +48,7 @@
          }
  
          /* Check account is valid */
-@@ -669,6 +675,7 @@ session_child_run (int argc, char **argv
+@@ -672,6 +678,7 @@ session_child_run (int argc, char **argv
      /* Wait for the command to complete (blocks) */
      if (child_pid > 0)
      {
@@ -56,7 +56,7 @@
          /* Log to utmp */
          if (g_strcmp0 (pam_getenv (pam_handle, "XDG_SESSION_CLASS"), 
"greeter") != 0)
          {
-@@ -701,10 +708,10 @@ session_child_run (int argc, char **argv
+@@ -704,10 +711,10 @@ session_child_run (int argc, char **argv
              endutxent ();
              updwtmpx ("/var/log/wtmp", &ut);
          }
@@ -69,7 +69,7 @@
          /* Log to utmp */
          if (g_strcmp0 (pam_getenv (pam_handle, "XDG_SESSION_CLASS"), 
"greeter") != 0)
          {
-@@ -737,6 +744,7 @@ session_child_run (int argc, char **argv
+@@ -740,6 +747,7 @@ session_child_run (int argc, char **argv
              endutxent ();
              updwtmpx ("/var/log/wtmp", &ut);
          }

++++++ lightdm-set-gdmflexiserver-envvar.patch ++++++
--- /var/tmp/diff_new_pack.q12DEg/_old  2014-10-02 14:14:04.000000000 +0200
+++ /var/tmp/diff_new_pack.q12DEg/_new  2014-10-02 14:14:04.000000000 +0200
@@ -3,7 +3,7 @@
 diff --git a/src/Makefile.am b/src/Makefile.am
 --- a/src/Makefile.am
 +++ b/src/Makefile.am
-@@ -79,6 +79,7 @@ lightdm_CFLAGS = \
+@@ -75,6 +75,7 @@ lightdm_CFLAGS = \
        $(WARN_CFLAGS) \
        $(LIGHTDM_CFLAGS) \
        -I"$(top_srcdir)/common" \
@@ -14,7 +14,7 @@
 diff --git a/src/session-child.c b/src/session-child.c
 --- a/src/session-child.c
 +++ b/src/session-child.c
-@@ -610,6 +610,8 @@ session_child_run (int argc, char **argv
+@@ -613,6 +613,8 @@ session_child_run (int argc, char **argv
          g_free (value);
      }
  

++++++ lightdm-sysconfig-support.patch ++++++
--- /var/tmp/diff_new_pack.q12DEg/_old  2014-10-02 14:14:04.000000000 +0200
+++ /var/tmp/diff_new_pack.q12DEg/_new  2014-10-02 14:14:04.000000000 +0200
@@ -39,7 +39,7 @@
 diff --git a/src/Makefile.am b/src/Makefile.am
 --- a/src/Makefile.am
 +++ b/src/Makefile.am
-@@ -71,7 +71,9 @@ lightdm_SOURCES = \
+@@ -67,7 +67,9 @@ lightdm_SOURCES = \
        xdmcp-server.h \
        xdmcp-session.c \
        xdmcp-session.h \
@@ -61,9 +61,9 @@
  #include "display-manager.h"
  #include "xdmcp-server.h"
  #include "vnc-server.h"
-@@ -63,6 +64,117 @@ typedef struct
+@@ -70,6 +71,117 @@ typedef struct
  
- #define LIGHTDM_BUS_NAME "org.freedesktop.DisplayManager"
+ static gboolean update_login1_seat (Login1Seat *login1_seat);
  
 +#define SYSCONFIG_DISPLAYMANAGER    "/etc/sysconfig/displaymanager"
 +#define SYSCONFIG_WINDOWMANAGER     "/etc/sysconfig/windowmanager"
@@ -179,7 +179,7 @@
  static void
  log_cb (const gchar *log_domain, GLogLevelFlags log_level, const gchar 
*message, gpointer data)
  {
-@@ -1119,6 +1231,9 @@ main (int argc, char **argv)
+@@ -1378,6 +1490,9 @@ main (int argc, char **argv)
          g_warning ("Failed to make cache directory %s: %s", dir, strerror 
(errno));
      g_free (dir);
  
@@ -632,27 +632,33 @@
 diff --git a/src/seat.c b/src/seat.c
 --- a/src/seat.c
 +++ b/src/seat.c
-@@ -1154,7 +1154,10 @@ create_greeter_session (Seat *seat)
+@@ -1235,9 +1235,14 @@ create_greeter_session (Seat *seat)
      session_set_argv (SESSION (greeter_session), argv);
      g_strfreev (argv);
  
--    greeter_set_pam_services (greeter_session, USER_SERVICE, 
AUTOLOGIN_SERVICE);
+-    greeter_set_pam_services (greeter_session,
+-                              seat_get_string_property (seat, "pam-service"),
+-                              seat_get_string_property (seat, 
"pam-autologin-service"));
 +    if (config_get_boolean (config_get_instance (), "LightDM", 
"password-less-login"))
-+        greeter_set_pam_services (greeter_session, AUTOLOGIN_SERVICE, 
AUTOLOGIN_SERVICE);
++        greeter_set_pam_services (greeter_session,
++                                  seat_get_string_property (seat, 
"pam-autologin-service"),
++                                  seat_get_string_property (seat, 
"pam-autologin-service"));
 +    else
-+        greeter_set_pam_services (greeter_session, USER_SERVICE, 
AUTOLOGIN_SERVICE);
++        greeter_set_pam_services (greeter_session,
++                                  seat_get_string_property (seat, 
"pam-service"),
++                                  seat_get_string_property (seat, 
"pam-autologin-service"));
      g_signal_connect (greeter_session, "create-session", G_CALLBACK 
(greeter_create_session_cb), seat);
      g_signal_connect (greeter_session, "start-session", G_CALLBACK 
(greeter_start_session_cb), seat);
  
-@@ -1370,7 +1373,10 @@ seat_switch_to_user (Seat *seat, const g
+@@ -1468,7 +1473,10 @@ seat_switch_to_user (Seat *seat, const g
      /* Attempt to authenticate them */
      session = create_user_session (seat, username, FALSE);
      g_signal_connect (session, "authentication-complete", G_CALLBACK 
(switch_authentication_complete_cb), seat);
--    session_set_pam_service (session, USER_SERVICE);
+-    session_set_pam_service (session, seat_get_string_property (seat, 
"pam-service"));
 +    if (config_get_boolean (config_get_instance (), "LightDM", 
"password-less-login"))
-+        session_set_pam_service (session, AUTOLOGIN_SERVICE);
++        session_set_pam_service (session, seat_get_string_property (seat, 
"pam-autologin-service"));
 +    else
-+        session_set_pam_service (session, USER_SERVICE);
-     session_start (session);
++        session_set_pam_service (session, seat_get_string_property (seat, 
"pam-service"));
  
-     return FALSE;
+     return session_start (session);
+ }

++++++ lightdm-use-run-dir.patch ++++++
--- /var/tmp/diff_new_pack.q12DEg/_old  2014-10-02 14:14:04.000000000 +0200
+++ /var/tmp/diff_new_pack.q12DEg/_new  2014-10-02 14:14:04.000000000 +0200
@@ -1,11 +1,11 @@
 # HG changeset patch
-# Parent 7809b3dab31692d7d1eeb9de16aa2f58cc0872b1
+# Parent b89fc72d8538bc8c27fbbec89408015d7095dc3b
 Use /run instead of localstatedir/run/lightdm
 
 diff --git a/src/Makefile.am b/src/Makefile.am
 --- a/src/Makefile.am
 +++ b/src/Makefile.am
-@@ -83,7 +83,7 @@ lightdm_CFLAGS = \
+@@ -79,7 +79,7 @@ lightdm_CFLAGS = \
        -DSBIN_DIR=\"$(sbindir)\" \
        -DUSERS_DIR=\"$(localstatedir)/lib/lightdm-data\" \
        -DLOG_DIR=\"$(localstatedir)/log/lightdm\" \

++++++ lightdm-xauthlocalhostname-support.patch ++++++
--- /var/tmp/diff_new_pack.q12DEg/_old  2014-10-02 14:14:04.000000000 +0200
+++ /var/tmp/diff_new_pack.q12DEg/_new  2014-10-02 14:14:04.000000000 +0200
@@ -3,18 +3,18 @@
 diff --git a/src/seat-xlocal.c b/src/seat-xlocal.c
 --- a/src/seat-xlocal.c
 +++ b/src/seat-xlocal.c
-@@ -290,6 +290,7 @@ seat_xlocal_run_script (Seat *seat, Disp
-     path = x_server_local_get_authority_file_path (x_server);
-     process_set_env (script, "DISPLAY", x_server_get_address (X_SERVER 
(x_server)));
-     process_set_env (script, "XAUTHORITY", path);
-+    process_set_env (script, "XAUTHLOCALHOSTNAME", g_get_host_name ());
+@@ -350,6 +350,7 @@ seat_xlocal_run_script (Seat *seat, Disp
+         path = x_server_local_get_authority_file_path (x_server);
+         process_set_env (script, "DISPLAY", x_server_get_address (X_SERVER 
(x_server)));
+         process_set_env (script, "XAUTHORITY", path);
++        process_set_env (script, "XAUTHLOCALHOSTNAME", g_get_host_name ());
+     }
  
      SEAT_CLASS (seat_xlocal_parent_class)->run_script (seat, display_server, 
script);
- }
 diff --git a/src/x-server-local.c b/src/x-server-local.c
 --- a/src/x-server-local.c
 +++ b/src/x-server-local.c
-@@ -147,14 +147,15 @@ XServerLocal *
+@@ -150,14 +150,15 @@ XServerLocal *
  x_server_local_new (void)
  {
      XServerLocal *self;
@@ -42,8 +42,8 @@
 +#include "x-server-local.h"
  
  struct XServerPrivate
- {  
-@@ -167,6 +168,8 @@ x_server_connect_session (DisplayServer 
+ {
+@@ -169,6 +170,8 @@ x_server_connect_session (DisplayServer 
      else
          l_debug (session, "Not setting XDG_VTNR");
  

++++++ users.conf ++++++
--- /var/tmp/diff_new_pack.q12DEg/_old  2014-10-02 14:14:04.000000000 +0200
+++ /var/tmp/diff_new_pack.q12DEg/_new  2014-10-02 14:14:04.000000000 +0200
@@ -8,7 +8,7 @@
 # hidden-users = Users that are not shown to the user
 # hidden-shells = Shells that indicate a user cannot login
 #
-[UserAccounts]
+[UserList]
 minimum-uid=1000
 hidden-users=nobody
 hidden-shells=/bin/false /sbin/nologin

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

Reply via email to