Reinhard Max 2019-01-31 15:24:22 +00:00 committed by Git OBS Bridge
parent c56829af43
commit cc93967c99
3 changed files with 3 additions and 4 deletions

View File

@ -1,3 +1,3 @@
# For the PostgreSQL server's unix domain socket # For the PostgreSQL server's unix domain socket
d /run/postgresql 0755 postgres postgres - d /run/postgresql 1755 root root -
f /var/lib/pgsql/.bash_profile 0640 postgres postgres /usr/share/postgresql/bash_profile f /var/lib/pgsql/.bash_profile 0640 postgres postgres /usr/share/postgresql/bash_profile

View File

@ -3,7 +3,6 @@ Thu Jan 31 13:23:56 UTC 2019 - Reinhard Max <max@suse.com>
- Move bash profile out of /var/lib to allow transactional updates - Move bash profile out of /var/lib to allow transactional updates
(bsc#1100397). (bsc#1100397).
- Fix permissions and ownership of /var/run/postgresql .
- Use /run/postgresql instead of /var/run/postgresql in %ghost and - Use /run/postgresql instead of /var/run/postgresql in %ghost and
postgresql-tmpfiles.conf to avoid rpmlint warnings and errors. postgresql-tmpfiles.conf to avoid rpmlint warnings and errors.

View File

@ -384,10 +384,10 @@ fi
%_tmpfilesdir/postgresql.conf %_tmpfilesdir/postgresql.conf
%_unitdir/ %_unitdir/
/usr/share/postgresql/postgresql-script /usr/share/postgresql/postgresql-script
%ghost %dir %attr(0755,postgres,postgres) /run/postgresql %ghost %dir %attr(1777,root,root) /run/postgresql
%else %else
%config /etc/init.d/postgresql %config /etc/init.d/postgresql
%dir %attr(0755,postgres,postgres) /var/run/postgresql %dir %attr(1777,root,root) /var/run/postgresql
%endif %endif
%files test %files test