Hello community, here is the log from the commit of package flatpak for openSUSE:Factory checked in at 2020-05-26 17:15:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/flatpak (Old) and /work/SRC/openSUSE:Factory/.flatpak.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "flatpak" Tue May 26 17:15:44 2020 rev:44 rq:808837 version:1.6.3 Changes: -------- --- /work/SRC/openSUSE:Factory/flatpak/flatpak.changes 2020-04-09 23:14:38.234216144 +0200 +++ /work/SRC/openSUSE:Factory/.flatpak.new.2738/flatpak.changes 2020-05-26 17:17:03.183681498 +0200 @@ -1,0 +2,19 @@ +Mon May 18 08:53:10 UTC 2020 - Yifan Jiang <[email protected]> + +- When SLE uses GNOME desktop environment, GNOME Software is + automatically started to provide key update features. During the + startup, it setups flatpak repository so that related features + can function properly. In a system environment of no flatpak + repository has ever been setup before, this triggers + "org.freedesktop.Flatpak.modify-repo" polkit action. + + Therefore in systems which use a restrictive security policy + (eg. SLES) for the aforementioned policy action, a polkit + authentication dialog will pop up without any user interaction + for the first time login. This is not user friendly. + + This submission creates /var/lib/flatpak/repo at package + installation to avoid such a confusing authentication pop-up, at + nearly 0 cost of security compromise (bsc#1169619, bsc#1170416). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ flatpak.spec ++++++ --- /var/tmp/diff_new_pack.W1OfS1/_old 2020-05-26 17:17:04.015683301 +0200 +++ /var/tmp/diff_new_pack.W1OfS1/_new 2020-05-26 17:17:04.023683319 +0200 @@ -179,6 +179,7 @@ %endif mkdir -p %{buildroot}%{_sysconfdir}/flatpak/remotes.d +mkdir -p %{buildroot}%{_localstatedir}/lib/flatpak/repo %find_lang %{name} @@ -239,7 +240,8 @@ %{_sbindir}/rcflatpak-system-helper %{_userunitdir}/flatpak-session-helper.service %{_userunitdir}/flatpak-portal.service -%ghost %dir %{_localstatedir}/lib/flatpak +%dir %{_localstatedir}/lib/flatpak +%dir %{_localstatedir}/lib/flatpak/repo %if %{support_environment_generators} %dir %{_libexecdir}/systemd/user-environment-generators %{_libexecdir}/systemd/user-environment-generators/60-flatpak
