From 5abc3df64a2abe48fddf67868f727bf3b7abe0af Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 2 Feb 2022 12:23:05 +0100 Subject: [PATCH] 2.38-0.3: add /usr/lib/tmpfiles.d/uuidd.conf --- util-linux.spec | 9 ++++++++- uuidd-tmpfiles.conf | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 uuidd-tmpfiles.conf diff --git a/util-linux.spec b/util-linux.spec index 91aa4dd..7d68c42 100644 --- a/util-linux.spec +++ b/util-linux.spec @@ -2,7 +2,7 @@ Summary: Collection of basic system utilities Name: util-linux Version: 2.38 -Release: 0.2%{?dist} +Release: 0.3%{?dist} License: GPLv2 and GPLv2+ and LGPLv2+ and BSD with advertising and Public Domain URL: https://en.wikipedia.org/wiki/Util-linux @@ -52,6 +52,7 @@ Source0: https://www.kernel.org/pub/linux/utils/util-linux/v%{upstream_major}/ut Source1: util-linux-login.pamd Source2: util-linux-remote.pamd Source3: util-linux-chsh-chfn.pamd +Source4: uuidd-tmpfiles.conf Source5: adjtime Source12: util-linux-su.pamd Source13: util-linux-su-l.pamd @@ -339,11 +340,13 @@ mkdir -p ${RPM_BUILD_ROOT}%{_bindir} mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man{1,6,8,5} mkdir -p ${RPM_BUILD_ROOT}%{_sbindir} mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/{pam.d,security/console.apps} +mkdir -p ${RPM_BUILD_ROOT}/usr/lib/tmpfiles.d # install util-linux %make_install # And a dirs uuidd needs that the makefiles don't create +install -m 644 %{SOURCE4} ${RPM_BUILD_ROOT}/usr/lib/tmpfiles.d/uuidd.conf install -d ${RPM_BUILD_ROOT}/run/uuidd install -d ${RPM_BUILD_ROOT}/var/lib/libuuid @@ -856,6 +859,7 @@ fi %dir %attr(2775, uuidd, uuidd) /var/lib/libuuid %dir %attr(2775, uuidd, uuidd) /run/uuidd %{compldir}/uuidd +/usr/lib/tmpfiles.d/uuidd.conf %files -n libfdisk @@ -926,6 +930,9 @@ fi %{_libdir}/python*/site-packages/libmount/ %changelog +* Wed Feb 2 2022 Karel Zak - 2.38-0.3 +- add /usr/lib/tmpfiles.d/uuidd.conf (based on #2047952) + * Wed Feb 2 2022 Karel Zak - 2.38-0.2 - release ownership of /var/log/lastlog diff --git a/uuidd-tmpfiles.conf b/uuidd-tmpfiles.conf new file mode 100644 index 0000000..4158c7d --- /dev/null +++ b/uuidd-tmpfiles.conf @@ -0,0 +1 @@ +d /run/uuidd 2775 uuidd uuidd