Hello community,

here is the log from the commit of package postgresql for openSUSE:Leap:15.2 
checked in at 2020-02-25 12:16:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/postgresql (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.postgresql.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "postgresql"

Tue Feb 25 12:16:49 2020 rev:33 rq:778527 version:10

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/postgresql/postgresql.changes  2020-01-15 
15:44:42.463298273 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.postgresql.new.26092/postgresql.changes       
2020-02-25 12:17:01.800413426 +0100
@@ -1,0 +2,6 @@
+Tue Dec 17 10:27:02 UTC 2019 - Reinhard Max <[email protected]>
+
+- Fix a mistake in the creation of /var/lib/pgsql/.bash_profile
+  with the tmpfiles mechanism (bsc#1159335).
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ postgresql.spec ++++++
--- /var/tmp/diff_new_pack.YdqyWY/_old  2020-02-25 12:17:02.244414346 +0100
+++ /var/tmp/diff_new_pack.YdqyWY/_new  2020-02-25 12:17:02.248414355 +0100
@@ -290,6 +290,14 @@
 %post server
 %fillup_only -n postgresql
 %if %{with systemd}
+PROFILE="/var/lib/pgsql/.bash_profile"
+if test -r "$PROFILE" && test "`cat $PROFILE`" = 
"/usr/share/postgresql/bash_profile"
+then
+       # Correct a mistake in /usr/lib/tmpfiles.d/postgresql.conf
+       # that created /var/lib/pgsql/.bash_profile with invalid
+       # content (bsc#1159335).
+       rm "$PROFILE"
+fi
 %tmpfiles_create %_tmpfilesdir/postgresql.conf
 %service_add_post postgresql.service
 %endif

++++++ postgresql-tmpfiles.conf ++++++
--- /var/tmp/diff_new_pack.YdqyWY/_old  2020-02-25 12:17:02.340414545 +0100
+++ /var/tmp/diff_new_pack.YdqyWY/_new  2020-02-25 12:17:02.344414554 +0100
@@ -1,3 +1,3 @@
 # For the PostgreSQL server's unix domain socket
 d /run/postgresql 1775 postgres postgres -
-f /var/lib/pgsql/.bash_profile 0640 postgres postgres - 
/usr/share/postgresql/bash_profile
+C /var/lib/pgsql/.bash_profile 0640 postgres postgres - 
/usr/share/postgresql/bash_profile


Reply via email to