public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: - wipe out BDB environment at boot via tmpfiles.d
Date: Mon, 23 Nov 2026 09:27:02 GMT	[thread overview]
Message-ID: <179542602203.1.1150059031065998185.rpms-rpm-15f0143ab5c0@fedoraproject.org> (raw)

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)

                 reply	other threads:[~2026-11-23  9:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179542602203.1.1150059031065998185.rpms-rpm-15f0143ab5c0@fedoraproject.org \
    --to=pmatilai@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox