Bug 88788
Summary: | rpm --rebuilddb fails | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <md_dr_x> |
Component: | rpm | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED WORKSFORME | QA Contact: | Mike McLean <mikem> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 9 | CC: | ak |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-04-14 14:41:37 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Need Real Name
2003-04-14 06:19:59 UTC
Yes, an attempt to remove the dbenv while still in use prints an error message. The message is harmless. It is harmless to the existing database, but rpm does not actually create a new rebuilt database either and it leaves __db* files in /var/lib/rpm. Upgrading to rpm-4.2-1 does not help. Say what? The above -vv snippet shows that the indices were sucessfully rebuilt, and renamed back into place, in spite of the error. Yes __db* files are persistent in rpm-4.1 and later. Upgrading to rpm-4.2 does not help *what*? Maybe I was confused by the fact that the mtime of the indices stays exactly the same as before after the rebuild. Is that how it should be? Yes. Try looking at the creation time. Creation time? Unix files do not have that, I always thought. The glibc manual says: ============== Each file has three time stamps associated with it: its access time, its modification time, and its attribute modification time. [...] When a file is created, all three time stamps for that file are set to the current time. ============== So how do the mtimes of the new indices end up being set to the mtimes of the old ones I don't understand.... But the inode numbers change, so it must be working indeed. Yup, no create time, I'm corrected. Yes, I forgot inode, and meant the time that can't be changed with utime(2) or utimes(2). But we agree files are changed ;-) |