Hello community, here is the log from the commit of package gdm for openSUSE:Factory checked in at 2019-04-17 10:06:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gdm (Old) and /work/SRC/openSUSE:Factory/.gdm.new.17052 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gdm" Wed Apr 17 10:06:32 2019 rev:215 rq:694175 version:3.28.2 Changes: -------- --- /work/SRC/openSUSE:Factory/gdm/gdm.changes 2018-08-07 09:41:15.477119842 +0200 +++ /work/SRC/openSUSE:Factory/.gdm.new.17052/gdm.changes 2019-04-17 10:06:34.534655836 +0200 @@ -1,0 +2,8 @@ +Wed Jan 30 16:04:12 UTC 2019 - alarr...@suse.com + +- Add gdm.tmpfiles to create directories under /var with + systemd-tmpfiles in order to support transactional updates. +- Mark directories under /var as %ghost so they're not created + during package installation (related to boo#1098063, fate#325524) + +------------------------------------------------------------------- New: ---- gdm.tmpfiles ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gdm.spec ++++++ --- /var/tmp/diff_new_pack.O0VElc/_old 2019-04-17 10:06:36.378657964 +0200 +++ /var/tmp/diff_new_pack.O0VElc/_new 2019-04-17 10:06:36.382657968 +0200 @@ -1,7 +1,7 @@ # # spec file for package gdm # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -38,6 +38,8 @@ Source7: X11-displaymanager-gdm # GDM does not boostrap using gnome-autogen.sh, but has it's own bootstrap script Source8: autogen.sh +# Use tmpfiles to create directories under /var to support transactional updates +Source9: gdm.tmpfiles # PATCH-FIX-UPSTREAM gdm-disable-wayland-on-unsupported-chipsets.patch bgo#789081 bgo#794106 boo#1059356 boo#1083609 boo#1088539 fezh...@suse.com -- Disable Wayland on unsupported chipsets Patch1: gdm-disable-wayland-on-unsupported-chipsets.patch # WARNING: do not remove/significantly change patch3 without updating the relevant patch in accountsservice too @@ -273,10 +275,13 @@ ln -s %{_sysconfdir}/alternatives/default-displaymanager %{buildroot}%{_libexecdir}/X11/displaymanagers/default-displaymanager # Install other files -mkdir -p %{buildroot}%{_localstatedir}/log/gdm mkdir -p %{buildroot}/run/gdm mkdir -p %{buildroot}%{_bindir} ln -s ../sbin/gdm %{buildroot}%{_bindir}/gdm + +mkdir -p %{buildroot}%{_prefix}/lib/tmpfiles.d +install -m 644 %{SOURCE9} %{buildroot}%{_prefix}/lib/tmpfiles.d/gdm.conf + %find_lang %{name} %{?no_lang_C} %fdupes -s %{buildroot}%{_datadir}/help @@ -309,6 +314,7 @@ fi %post +%tmpfiles_create gdm.conf %{_sbindir}/update-alternatives --install %{_libexecdir}/X11/displaymanagers/default-displaymanager \ default-displaymanager %{_libexecdir}/X11/displaymanagers/gdm 25 @@ -344,9 +350,9 @@ %dir %{_libexecdir}/gdm %{_libexecdir}/gdm/gdm-* %{_libexecdir}/gdm/gdmflexiserver -%attr(750,gdm,gdm) %dir %{_localstatedir}/lib/gdm -%attr(711,root,gdm) %dir %{_localstatedir}/log/gdm -%dir %{_localstatedir}/cache/gdm +%ghost %attr(750,gdm,gdm) %dir %{_localstatedir}/lib/gdm +%ghost %attr(711,root,gdm) %dir %{_localstatedir}/log/gdm +%ghost %dir %{_localstatedir}/cache/gdm %ghost %attr(711,root,gdm) %dir /run/gdm %config %{_sysconfdir}/pam.d/gdm %config %{_sysconfdir}/pam.d/gdm-autologin @@ -363,6 +369,7 @@ %{_libexecdir}/X11/displaymanagers/gdm %ghost %{_sysconfdir}/alternatives/default-displaymanager %{_udevrulesdir}/61-gdm.rules +%{_libexecdir}/tmpfiles.d/gdm.conf %files -n libgdm1 %{_libdir}/libgdm.so.* ++++++ gdm.tmpfiles ++++++ +d /var/lib/gdm/ 0750 gdm gdm - +d /var/log/gdm/ 0711 root gdm - +d /var/cache/gdm/ 1755 root root -