nscd: Refer to /run, not /var/run in systemd socket file (RHEL-16275)

Resolves: RHEL-16275
This commit is contained in:
Arjun Shankar 2023-11-15 14:35:36 +01:00
parent 2ea2e4b802
commit 5c845205d3
2 changed files with 22 additions and 1 deletions

16
glibc-RHEL-16275.patch Normal file
View File

@ -0,0 +1,16 @@
Downstream-only patch to refer to /run instead of the legacy /var/run
directory in the downstream nscd systemd socket file.
diff --git a/nscd/nscd.socket b/nscd/nscd.socket
index 7e512d5339fa1136..52a67608c7c55475 100644
--- a/nscd/nscd.socket
+++ b/nscd/nscd.socket
@@ -2,7 +2,7 @@
Description=Name Service Cache Daemon Socket
[Socket]
-ListenDatagram=/var/run/nscd/socket
+ListenDatagram=/run/nscd/socket
[Install]
WantedBy=sockets.target

View File

@ -155,7 +155,7 @@ end \
Summary: The GNU libc libraries
Name: glibc
Version: %{glibcversion}
Release: 87%{?dist}
Release: 88%{?dist}
# In general, GPLv2+ is used by programs, LGPLv2+ is used for
# libraries.
@ -773,6 +773,7 @@ Patch536: glibc-RHEL-2426-15.patch
Patch537: glibc-RHEL-1191.patch
Patch538: glibc-RHEL-3397.patch
Patch539: glibc-RHEL-2123.patch
Patch540: glibc-RHEL-16275.patch
##############################################################################
# Continued list of core "glibc" package information:
@ -2931,6 +2932,10 @@ update_gconv_modules_cache ()
%endif
%changelog
* Wed Nov 15 2023 Arjun Shankar <arjun@redhat.com> - 2.34-88
- nscd: Refer to /run instead of /var/run in systemd socket file
(RHEL-16275)
* Fri Nov 10 2023 Florian Weimer <fweimer@redhat.com> - 2.34-87
- Fix slow tls access after dlopen (RHEL-2123)