Hello community, here is the log from the commit of package lightdm for openSUSE:Factory checked in at 2016-01-05 21:54:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2015-09-24 06:16:26.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.lightdm.new/lightdm.changes 2016-01-05 21:55:25.000000000 +0100 @@ -1,0 +2,58 @@ +Sat Jan 2 12:22:59 UTC 2016 - mimi.vx@gmail.com + +- update to 1.17.3 +- refresh patches: + lightdm-disable-utmp-handling.patch + lightdm-set-gdmflexiserver-envvar.patch + lightdm-sysconfig-support.patch + lightdm-use-run-dir.patch + lightdm-xauthlocalhostname-support.patch + lightdm.spec +* Don't enable the hardware cursor in Unity System Compositor anymore. + Unity 8 now correctly provides its own cursor and other shells should too +* Handle XDMCP Request packet with no addresses. +* Don't start LightDM if the XDMCP server is configured with a key that + doesn't exist. +* Add IP addresses to XDMCP log messages. +* Refactor XDMCP error handling. +* Add more XDMCP tests. +* Add a backup-logs option that can be used to disable existing logging + files having a .old suffix added to them. +* Add LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE, LC_MEASUREMENT and + LC_IDENTIFICATION variables to the list of inherited locale variables. +* Implement XDMCP ForwardQuery. +* Fix small memory leak in XDMCP logging code. +* Disable log backups - this interferes with logrotate. +* Support using libaudit to generate audit events. +* Handle trailing whitespace on boolean values in configuration. +* Update example configuration to more correctly match allowed options. +* Fix unnecessary X server from being launched when locking seats. +* Check the version of the X server we are running so we correctly pass + -listen tcp when required. +* Allow reading /proc/<PID>/net/dev from within a guest session. +* Allow guest sessions to write in /{,var/}run/screen folder. +* Update guest-session AppArmor profile to be suitable for openSUSE. +* Fix apparmor profiles for running Chromium in guest sessions. +* Fix configure failing without Vala installed. +* Update default configuration better explaining the seat configuration name + matching and dropping references to the obsolete [SeatDefaults] section +* Drop Xorg option -sharevts. It's no longer required for non-seat0 X + servers since xorg-server release 1.16. +* Support Wayland sessions. +* Implement autologin-session option. +* Generate Vala bindings from GIR instead of manually writing them. This + fixes some small bugs in both the Vala and GIR bindings. +* Don't remove autotools generated files in distclean. +* Fix default X server command set to XMir in 1.15.0. +* Internally merge the [SeatDefaults] and [Seat:*] sections together. The + previous method meant configuration snippets using a mix of old and new + naming would not correctly override eachother. +* Use IP address of XDMCP requests to contact X server if available. +* Add an option for XDMCP and VNC servers to only listen on one address. +* Fix configuration file warnings so they go to the log, not stderr. +* Warn if deprecated options logind-load-seats or xdg-seat are in + configuration. +* Improve IP addresses in XDMCP log messages. +* Fix typo in dm-tool man page. + +------------------------------------------------------------------- Old: ---- lightdm-1.15.0.tar.xz New: ---- lightdm-1.17.3.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lightdm.spec ++++++ --- /var/tmp/diff_new_pack.tEr7jP/_old 2016-01-05 21:55:27.000000000 +0100 +++ /var/tmp/diff_new_pack.tEr7jP/_new 2016-01-05 21:55:27.000000000 +0100 @@ -26,13 +26,13 @@ %define typelibname typelib-1_0-LightDM-1 %define rundir /run Name: lightdm -Version: 1.15.0 +Version: 1.17.3 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.15/%{version}/+download/%{name}-%{version}.tar.xz +Source0: https://launchpad.net/lightdm/1.17/%{version}/+download/%{name}-%{version}.tar.xz Source1: %{name}-greeter.pamd Source2: X11-displaymanagers-%{name} Source3: gdmflexiserver @@ -55,9 +55,9 @@ BuildRequires: libgcrypt-devel BuildRequires: pam-devel BuildRequires: xdm -BuildRequires: pkgconfig(gio-2.0) +BuildRequires: pkgconfig(gio-2.0) >= 2.26 BuildRequires: pkgconfig(gio-unix-2.0) -BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(glib-2.0) >= 2.30 BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(gtk-doc) @@ -309,9 +309,6 @@ %{_libdir}/pkgconfig/lib%{gobject_libname}.pc %{_includedir}/%{gobject_libname}/ %{_datadir}/gir-1.0/LightDM-1.gir -%dir %{_datadir}/vala -%dir %{_datadir}/vala/vapi -%{_datadir}/vala/vapi/liblightdm-gobject-1.vapi %doc %{_datadir}/gtk-doc/html/%{gobject_libname}/ %files -n %{typelibname} ++++++ lightdm-1.15.0.tar.xz -> lightdm-1.17.3.tar.xz ++++++ ++++ 13182 lines of diff (skipped) ++++++ lightdm-disable-utmp-handling.patch ++++++ --- /var/tmp/diff_new_pack.tEr7jP/_old 2016-01-05 21:55:27.000000000 +0100 +++ /var/tmp/diff_new_pack.tEr7jP/_new 2016-01-05 21:55:27.000000000 +0100 @@ -2,9 +2,10 @@ # Parent ce2ab1b9285a9408ec9673b555b398c2af18de62 disable utmp handling since this is handled in the Xstartup/Xreset scripts -diff --git a/src/session-child.c b/src/session-child.c ---- a/src/session-child.c -+++ b/src/session-child.c +Index: lightdm-1.17.3/src/session-child.c +=================================================================== +--- lightdm-1.17.3.orig/src/session-child.c ++++ lightdm-1.17.3/src/session-child.c @@ -13,8 +13,10 @@ #include <grp.h> #include <glib.h> @@ -15,8 +16,8 @@ +#endif #include <sys/mman.h> - #include "configuration.h" -@@ -197,6 +199,7 @@ read_xauth (void) + #if HAVE_LIBAUDIT +@@ -202,6 +204,7 @@ read_xauth (void) return x_authority_new (x_authority_family, x_authority_address, x_authority_address_length, x_authority_number, x_authority_name, x_authority_data, x_authority_data_length); } @@ -24,15 +25,15 @@ /* GNU provides this but we can't rely on that so let's make our own version */ static void updwtmpx (const gchar *wtmp_file, struct utmpx *ut) -@@ -219,6 +222,7 @@ updwtmpx (const gchar *wtmp_file, struct +@@ -224,6 +227,7 @@ updwtmpx (const gchar *wtmp_file, struct updwtmp (wtmp_file, &u); } +#endif - int - session_child_run (int argc, char **argv) -@@ -363,6 +367,7 @@ session_child_run (int argc, char **argv + #if HAVE_LIBAUDIT + static void +@@ -401,6 +405,7 @@ session_child_run (int argc, char **argv /* Write record to btmp database */ if (authentication_result == PAM_AUTH_ERR) { @@ -40,15 +41,16 @@ struct utmpx ut; struct timeval tv; -@@ -386,6 +391,7 @@ session_child_run (int argc, char **argv - ut.ut_tv.tv_usec = tv.tv_usec; +@@ -425,6 +430,8 @@ session_child_run (int argc, char **argv updwtmpx ("/var/log/btmp", &ut); -+#endif - } - /* Check account is valid */ -@@ -672,6 +678,7 @@ session_child_run (int argc, char **argv ++ ++#endif + #if HAVE_LIBAUDIT + audit_event (AUDIT_USER_LOGIN, username, -1, remote_host_name, tty, FALSE); + #endif +@@ -713,6 +720,7 @@ session_child_run (int argc, char **argv /* Wait for the command to complete (blocks) */ if (child_pid > 0) { @@ -56,9 +58,9 @@ /* Log to utmp */ if (g_strcmp0 (pam_getenv (pam_handle, "XDG_SESSION_CLASS"), "greeter") != 0) { -@@ -704,10 +711,10 @@ session_child_run (int argc, char **argv - endutxent (); - updwtmpx ("/var/log/wtmp", &ut); +@@ -749,10 +757,10 @@ session_child_run (int argc, char **argv + audit_event (AUDIT_USER_LOGIN, username, uid, remote_host_name, tty, TRUE); + #endif } - +#endif @@ -69,9 +71,9 @@ /* Log to utmp */ if (g_strcmp0 (pam_getenv (pam_handle, "XDG_SESSION_CLASS"), "greeter") != 0) { -@@ -740,6 +747,7 @@ session_child_run (int argc, char **argv - endutxent (); - updwtmpx ("/var/log/wtmp", &ut); +@@ -789,6 +797,7 @@ session_child_run (int argc, char **argv + audit_event (AUDIT_USER_LOGOUT, username, uid, remote_host_name, tty, TRUE); + #endif } +#endif } ++++++ lightdm-set-gdmflexiserver-envvar.patch ++++++ --- /var/tmp/diff_new_pack.tEr7jP/_old 2016-01-05 21:55:27.000000000 +0100 +++ /var/tmp/diff_new_pack.tEr7jP/_new 2016-01-05 21:55:27.000000000 +0100 @@ -1,9 +1,10 @@ set the GDMFLEXISERVER environment variable for the gdmflexiserver wrapper -diff --git a/src/Makefile.am b/src/Makefile.am ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -75,6 +75,7 @@ lightdm_CFLAGS = \ +Index: lightdm-1.17.3/src/Makefile.am +=================================================================== +--- lightdm-1.17.3.orig/src/Makefile.am ++++ lightdm-1.17.3/src/Makefile.am +@@ -79,6 +79,7 @@ lightdm_CFLAGS = \ $(WARN_CFLAGS) \ $(LIGHTDM_CFLAGS) \ -I"$(top_srcdir)/common" \ @@ -11,10 +12,11 @@ -DSBIN_DIR="$(sbindir)" \ -DUSERS_DIR="$(localstatedir)/lib/lightdm-data" \ -DLOG_DIR="$(localstatedir)/log/lightdm" \ -diff --git a/src/session-child.c b/src/session-child.c ---- a/src/session-child.c -+++ b/src/session-child.c -@@ -613,6 +613,8 @@ session_child_run (int argc, char **argv +Index: lightdm-1.17.3/src/session-child.c +=================================================================== +--- lightdm-1.17.3.orig/src/session-child.c ++++ lightdm-1.17.3/src/session-child.c +@@ -655,6 +655,8 @@ session_child_run (int argc, char **argv g_free (value); } ++++++ lightdm-sysconfig-support.patch ++++++ --- /var/tmp/diff_new_pack.tEr7jP/_old 2016-01-05 21:55:27.000000000 +0100 +++ /var/tmp/diff_new_pack.tEr7jP/_new 2016-01-05 21:55:27.000000000 +0100 @@ -1,8 +1,9 @@ retrieve configuration seetings from sysconfig files -diff --git a/data/lightdm.conf b/data/lightdm.conf ---- a/data/lightdm.conf -+++ b/data/lightdm.conf +Index: lightdm-1.17.3/data/lightdm.conf +=================================================================== +--- lightdm-1.17.3.orig/data/lightdm.conf ++++ lightdm-1.17.3/data/lightdm.conf @@ -1,3 +1,30 @@ +# NOTE: settings under /etc/sysconfig take precendence over those below, +# specifically: @@ -34,10 +35,11 @@ # # General configuration # -diff --git a/src/Makefile.am b/src/Makefile.am ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -67,7 +67,9 @@ lightdm_SOURCES = \ +Index: lightdm-1.17.3/src/Makefile.am +=================================================================== +--- lightdm-1.17.3.orig/src/Makefile.am ++++ lightdm-1.17.3/src/Makefile.am +@@ -71,7 +71,9 @@ lightdm_SOURCES = \ xdmcp-server.h \ xdmcp-session.c \ xdmcp-session.h \ @@ -48,9 +50,10 @@ lightdm_CFLAGS = \ $(WARN_CFLAGS) \ -diff --git a/src/lightdm.c b/src/lightdm.c ---- a/src/lightdm.c -+++ b/src/lightdm.c +Index: lightdm-1.17.3/src/lightdm.c +=================================================================== +--- lightdm-1.17.3.orig/src/lightdm.c ++++ lightdm-1.17.3/src/lightdm.c @@ -22,6 +22,7 @@ #include <errno.h> @@ -59,7 +62,7 @@ #include "display-manager.h" #include "xdmcp-server.h" #include "vnc-server.h" -@@ -70,6 +71,114 @@ typedef struct +@@ -71,6 +72,114 @@ typedef struct static gboolean update_login1_seat (Login1Seat *login1_seat); @@ -174,7 +177,7 @@ static void log_cb (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer data) { -@@ -1440,6 +1549,9 @@ main (int argc, char **argv) +@@ -1457,6 +1566,9 @@ main (int argc, char **argv) g_warning ("Failed to make cache directory %s: %s", dir, strerror (errno)); g_free (dir); @@ -184,10 +187,10 @@ log_init (); /* Show queued messages once logging is complete */ -diff --git a/src/opensuse-sysconfig.c b/src/opensuse-sysconfig.c -new file mode 100644 +Index: lightdm-1.17.3/src/opensuse-sysconfig.c +=================================================================== --- /dev/null -+++ b/src/opensuse-sysconfig.c ++++ lightdm-1.17.3/src/opensuse-sysconfig.c @@ -0,0 +1,380 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- + * @@ -569,10 +572,10 @@ + return boolean_value; +} + -diff --git a/src/opensuse-sysconfig.h b/src/opensuse-sysconfig.h -new file mode 100644 +Index: lightdm-1.17.3/src/opensuse-sysconfig.h +=================================================================== --- /dev/null -+++ b/src/opensuse-sysconfig.h ++++ lightdm-1.17.3/src/opensuse-sysconfig.h @@ -0,0 +1,50 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- + * @@ -624,10 +627,11 @@ +G_END_DECLS + +#endif /* __OPENSUSE_SYSCONFIG_H */ -diff --git a/src/seat.c b/src/seat.c ---- a/src/seat.c -+++ b/src/seat.c -@@ -1291,6 +1291,14 @@ create_greeter_session (Seat *seat) +Index: lightdm-1.17.3/src/seat.c +=================================================================== +--- lightdm-1.17.3.orig/src/seat.c ++++ lightdm-1.17.3/src/seat.c +@@ -1321,6 +1321,14 @@ create_greeter_session (Seat *seat) greeter_set_pam_services (greeter_session, seat_get_string_property (seat, "pam-service"), seat_get_string_property (seat, "pam-autologin-service")); @@ -642,7 +646,7 @@ g_signal_connect (greeter_session, GREETER_SIGNAL_CREATE_SESSION, G_CALLBACK (greeter_create_session_cb), seat); g_signal_connect (greeter_session, GREETER_SIGNAL_START_SESSION, G_CALLBACK (greeter_start_session_cb), seat); -@@ -1521,7 +1529,10 @@ seat_switch_to_user (Seat *seat, const g +@@ -1548,7 +1556,10 @@ seat_switch_to_user (Seat *seat, const g /* Attempt to authenticate them */ session = create_user_session (seat, username, FALSE); g_signal_connect (session, SESSION_SIGNAL_AUTHENTICATION_COMPLETE, G_CALLBACK (switch_authentication_complete_cb), seat); ++++++ lightdm-use-run-dir.patch ++++++ --- /var/tmp/diff_new_pack.tEr7jP/_old 2016-01-05 21:55:27.000000000 +0100 +++ /var/tmp/diff_new_pack.tEr7jP/_new 2016-01-05 21:55:27.000000000 +0100 @@ -2,15 +2,16 @@ # Parent 286765d233568af58a49fd0b2c79b63fcabaf9f4 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 -@@ -79,7 +79,7 @@ lightdm_CFLAGS = \ +Index: lightdm-1.17.3/src/Makefile.am +=================================================================== +--- lightdm-1.17.3.orig/src/Makefile.am ++++ lightdm-1.17.3/src/Makefile.am +@@ -83,7 +83,7 @@ lightdm_CFLAGS = \ -DSBIN_DIR="$(sbindir)" \ -DUSERS_DIR="$(localstatedir)/lib/lightdm-data" \ -DLOG_DIR="$(localstatedir)/log/lightdm" \ - -DRUN_DIR="$(localstatedir)/run/lightdm" \ + -DRUN_DIR="/run/lightdm" \ -DCACHE_DIR="$(localstatedir)/cache/lightdm" \ - -DSESSIONS_DIR="$(pkgdatadir)/sessions:$(datadir)/xsessions" \ - -DREMOTE_SESSIONS_DIR="$(pkgdatadir)/remote-sessions" \ + -DSESSIONS_DIR="$(pkgdatadir)/sessions:$(datadir)/xsessions:$(datadir)/wayland-sessions" \ + -DWAYLAND_SESSIONS_DIR="$(datadir)/wayland-sessions" \ ++++++ lightdm-xauthlocalhostname-support.patch ++++++ --- /var/tmp/diff_new_pack.tEr7jP/_old 2016-01-05 21:55:27.000000000 +0100 +++ /var/tmp/diff_new_pack.tEr7jP/_new 2016-01-05 21:55:27.000000000 +0100 @@ -1,9 +1,10 @@ Set XAUTHLOCALHOSTNAME to the hostname for local logins to avoid issues in the session in case the hostname changes -diff --git a/src/seat-xlocal.c b/src/seat-xlocal.c ---- a/src/seat-xlocal.c -+++ b/src/seat-xlocal.c -@@ -350,6 +350,7 @@ seat_xlocal_run_script (Seat *seat, Disp +Index: lightdm-1.17.3/src/seat-xlocal.c +=================================================================== +--- lightdm-1.17.3.orig/src/seat-xlocal.c ++++ lightdm-1.17.3/src/seat-xlocal.c +@@ -364,6 +364,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); @@ -11,10 +12,11 @@ } 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 -@@ -150,14 +150,15 @@ XServerLocal * +Index: lightdm-1.17.3/src/x-server-local.c +=================================================================== +--- lightdm-1.17.3.orig/src/x-server-local.c ++++ lightdm-1.17.3/src/x-server-local.c +@@ -204,14 +204,15 @@ XServerLocal * x_server_local_new (void) { XServerLocal *self; @@ -32,9 +34,10 @@ number = g_strdup_printf ("%d", x_server_get_display_number (X_SERVER (self))); cookie = x_authority_new_cookie (XAUTH_FAMILY_LOCAL, (guint8*) hostname, strlen (hostname), number); x_server_set_authority (X_SERVER (self), cookie); -diff --git a/src/x-server.c b/src/x-server.c ---- a/src/x-server.c -+++ b/src/x-server.c +Index: lightdm-1.17.3/src/x-server.c +=================================================================== +--- lightdm-1.17.3.orig/src/x-server.c ++++ lightdm-1.17.3/src/x-server.c @@ -15,6 +15,7 @@ #include "x-server.h" @@ -43,7 +46,7 @@ struct XServerPrivate { -@@ -169,6 +170,8 @@ x_server_connect_session (DisplayServer +@@ -166,6 +167,8 @@ x_server_connect_session (DisplayServer else l_debug (session, "Not setting XDG_VTNR");