Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 314295 Details for
Bug 458234
rpm error: db4 error(2) from dbcursor->c_get: No such file or directory
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Always clean environment on cached roots
mock-clean-env.patch (text/plain), 845 bytes, created by
Panu Matilainen
on 2008-08-14 08:38:16 UTC
(
hide
)
Description:
Always clean environment on cached roots
Filename:
MIME Type:
Creator:
Panu Matilainen
Created:
2008-08-14 08:38:16 UTC
Size:
845 bytes
patch
obsolete
>diff -up mock/plugins/root_cache.py.orig mock/plugins/root_cache.py >--- mock/plugins/root_cache.py.orig 2008-08-14 11:08:54.000000000 +0300 >+++ mock/plugins/root_cache.py 2008-08-14 11:19:52.000000000 +0300 >@@ -7,6 +7,7 @@ > import fcntl > import os > import time >+import glob > > # our imports > from mock.trace_decorator import decorate, traceLog, getLog >@@ -91,6 +92,12 @@ class RootCache(object): > self.chroot_setup_cmd = "update" > self.rootObj.chrootWasCleaned = False > >+ rpmenv = glob.glob("%s/var/lib/rpm/__*" % self.rootObj.makeChrootPath()) >+ if rpmenv: >+ getLog().info("Pruning old rpm db environment") >+ for f in rpmenv: >+ os.unlink(f) >+ > decorate(traceLog()) > def _rootCachePostInitHook(self): > # never rebuild cache unless it was a clean build.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 458234
: 314295 |
314406
|
320397
|
325743