public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: - wipe out BDB environment at boot via tmpfiles.d
@ 2026-11-23 9:27 Panu Matilainen
0 siblings, 0 replies; only message in thread
From: Panu Matilainen @ 2026-11-23 9:27 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : 15f0143ab5c032e6d3c57c49f5e392811a6f96bd
Author : Panu Matilainen <pmatilai@redhat.com>
Date : 2011-03-01T16:17:00+02:00
Stats : +5/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/15f0143ab5c032e6d3c57c49f5e392811a6f96bd?branch=pmatilai-v6
Log:
- wipe out BDB environment at boot via tmpfiles.d
---
diff --git a/rpm.spec b/rpm.spec
index 56cbbef..c886d1b 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -257,6 +257,9 @@ install -m 755 scripts/rpm.daily ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.daily/rpm
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d
install -m 644 scripts/rpm.log ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/rpm
+mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/tmpfiles.d
+echo "r /var/lib/rpm/__db.*" > ${RPM_BUILD_ROOT}%{_sysconfdir}/tmpfiles.d/rpm.conf
+
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm
install -m 644 %{SOURCE10} ${RPM_BUILD_ROOT}%{rpmhome}/fileattrs/libsymlink.attr
@@ -315,6 +318,7 @@ exit 0
%defattr(-,root,root,-)
%doc GROUPS COPYING CREDITS ChangeLog.bz2 doc/manual/[a-z]*
+%{_sysconfdir}/tmpfiles.d/rpm.conf
%dir %{_sysconfdir}/rpm
%attr(0755, root, root) %dir /var/lib/rpm
@@ -422,6 +426,7 @@ exit 0
%changelog
* Tue Mar 01 2011 Panu Matilainen <pmatilai@redhat.com> - 4.9.0-0.rc1.4
- spec cosmetics clean up extra whitespace + group more logically
+- wipe out BDB environment at boot via tmpfiles.d
* Mon Feb 21 2011 Panu Matilainen <pmatilai@redhat.com> - 4.9.0-0.rc1.3
- fix erronous double cursor open, causing yum reinstall hang (#678644)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-23 9:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23 9:27 [rpms/rpm] pmatilai-v6: - wipe out BDB environment at boot via tmpfiles.d Panu Matilainen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox