suspicious /.rpmdb root directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
RPM |
Opinion
|
Low
|
Unassigned | ||
dkms (Debian) |
Fix Released
|
Unknown
|
|||
dkms (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Trusty |
Confirmed
|
Undecided
|
Unassigned | ||
rpm (Debian) |
Fix Released
|
Unknown
|
|||
rpm (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I have the following directory structure on my system which conflicts to the LSB standard:
ls -ld /.rpmdb/{,*}
drwxr-xr-x 2 root root 4096 Okt 21 2011 /.rpmdb/
-rw-r--r-- 1 root root 8192 Okt 21 2011 /.rpmdb/Basenames
-rw-r--r-- 1 root root 8192 Okt 21 2011 /.rpmdb/
-rw-r--r-- 1 root root 24576 Apr 27 00:52 /.rpmdb/__db.001
-rw-r--r-- 1 root root 4096000 Apr 27 00:52 /.rpmdb/__db.002
-rw-r--r-- 1 root root 83894272 Apr 27 00:52 /.rpmdb/__db.003
-rw-r--r-- 1 root root 811008 Apr 27 00:52 /.rpmdb/__db.004
-rw-r--r-- 1 root root 8192 Okt 21 2011 /.rpmdb/Dirnames
-rw-r--r-- 1 root root 8192 Okt 21 2011 /.rpmdb/Group
-rw-r--r-- 1 root root 8192 Okt 21 2011 /.rpmdb/Installtid
-rw-r--r-- 1 root root 8192 Okt 21 2011 /.rpmdb/Name
-rw-r--r-- 1 root root 8192 Okt 21 2011 /.rpmdb/
-rw-r--r-- 1 root root 12288 Okt 21 2011 /.rpmdb/Packages
-rw-r--r-- 1 root root 8192 Okt 21 2011 /.rpmdb/Providename
-rw-r--r-- 1 root root 8192 Okt 21 2011 /.rpmdb/Requirename
-rw-r--r-- 1 root root 8192 Okt 21 2011 /.rpmdb/Sha1header
-rw-r--r-- 1 root root 8192 Okt 21 2011 /.rpmdb/Sigmd5
-rw-r--r-- 1 root root 8192 Okt 21 2011 /.rpmdb/Triggername
Afaik, this directory belongs to rpm or alien. Maybe it appears because of a lack of environment variables (e.g. $HOME not set) in particular situations.
As you can see in the listing, the directory is not used frequently, but I'm not sure if it's save to delete it. Maybe the problem is already solved in the current version of ubuntu (at last the time the files were touched I was running Ubuntu 11.10), but I think it's important to have this bug registered so other users can find it. There is an active thread about it at ubuntuforums: http://
Related branches
Changed in dkms (Debian): | |
status: | Unknown → New |
Changed in rpm (Debian): | |
status: | Unknown → Fix Released |
Changed in dkms (Debian): | |
status: | New → Fix Released |
There is no path with prefix "/.rpmdb/" in any @rpm5.org code as distributed.
I'd suggest deleting( or at least renaming "mv /.rpmdb /.rpmdb-FOO") to find out
whether (or what) used "/.rpmdb".
You might be able to tell whether that path is configured by typing
rpm -v --showrc | grep rpmdb
and then pursuing what is likely a per-distro, not an RpM, choice and bug.
Note that all paths used by RPM are macros that are configurable: any path
that is _NOT_ configurable to conform with FHS or whatever other "standard"
floats your boat, is likely an omission or oversight, and should be treated like
any other bug without the need for claiming
Non-compliant with FHS!