Removes /var/run/postgresql
Resolves: RHEL-51275
This commit is contained in:
parent
cd1e12b586
commit
b41a2719b2
@ -63,7 +63,7 @@ Summary: PostgreSQL client programs
|
|||||||
Name: postgresql
|
Name: postgresql
|
||||||
%global majorversion 16
|
%global majorversion 16
|
||||||
Version: %{majorversion}.1
|
Version: %{majorversion}.1
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
|
|
||||||
# The PostgreSQL license is very similar to other MIT licenses, but the OSI
|
# The PostgreSQL license is very similar to other MIT licenses, but the OSI
|
||||||
# recognizes it as an independent license, so we do as well.
|
# recognizes it as an independent license, so we do as well.
|
||||||
@ -701,10 +701,6 @@ install -d $RPM_BUILD_ROOT/etc/pam.d
|
|||||||
install -m 644 %{SOURCE10} $RPM_BUILD_ROOT/etc/pam.d/postgresql
|
install -m 644 %{SOURCE10} $RPM_BUILD_ROOT/etc/pam.d/postgresql
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Create the directory for sockets.
|
|
||||||
install -d -m 755 $RPM_BUILD_ROOT%{?_localstatedir}/run/postgresql
|
|
||||||
|
|
||||||
# ... and make a tmpfiles script to recreate it at reboot.
|
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_tmpfilesdir}
|
mkdir -p $RPM_BUILD_ROOT%{_tmpfilesdir}
|
||||||
install -m 0644 %{SOURCE9} $RPM_BUILD_ROOT%{_tmpfilesdir}/postgresql.conf
|
install -m 0644 %{SOURCE9} $RPM_BUILD_ROOT%{_tmpfilesdir}/postgresql.conf
|
||||||
|
|
||||||
@ -1120,7 +1116,7 @@ make -C postgresql-setup-%{setup_version} check
|
|||||||
%attr(644,postgres,postgres) %config(noreplace) %{?_localstatedir}/lib/pgsql/.bash_profile
|
%attr(644,postgres,postgres) %config(noreplace) %{?_localstatedir}/lib/pgsql/.bash_profile
|
||||||
%attr(700,postgres,postgres) %dir %{?_localstatedir}/lib/pgsql/backups
|
%attr(700,postgres,postgres) %dir %{?_localstatedir}/lib/pgsql/backups
|
||||||
%attr(700,postgres,postgres) %dir %{?_localstatedir}/lib/pgsql/data
|
%attr(700,postgres,postgres) %dir %{?_localstatedir}/lib/pgsql/data
|
||||||
%attr(755,postgres,postgres) %dir %{?_localstatedir}/run/postgresql
|
%ghost %attr(755,postgres,postgres) %dir %{?_rundir}/postgresql
|
||||||
%if %pam
|
%if %pam
|
||||||
%config(noreplace) /etc/pam.d/postgresql
|
%config(noreplace) /etc/pam.d/postgresql
|
||||||
%endif
|
%endif
|
||||||
@ -1221,6 +1217,10 @@ make -C postgresql-setup-%{setup_version} check
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 30 2024 Filip Janus <fjanus@redhat.com> - 16.1-3
|
||||||
|
- Remove /var/run/postgresql
|
||||||
|
- Related: RHEL-51275
|
||||||
|
|
||||||
* Mon Jul 15 2024 Filip Janus <fjanus@redhat.com> - 16.1-2
|
* Mon Jul 15 2024 Filip Janus <fjanus@redhat.com> - 16.1-2
|
||||||
- Enable lz4 and zstd support
|
- Enable lz4 and zstd support
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user