kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #46004
[Bug 1069350] Re: suspicious /.rpmdb root directory
Looks like DKMS (via kernel post-install hook, via dpkg, via apt-get) is
responsible for this:
root 18414 0.0 0.0 27848 3864 pts/12 S+ 22:35 0:00 /usr/bin/perl /var/lib/dpkg/info/linux-image-3.13.0-8-generic.postinst configure 3.13.0-8.27
root 18422 0.0 0.0 4332 616 pts/12 S+ 22:35 0:00 run-parts --verbose --exit-on-error --arg=3.13.0-8-generic --arg=/boot/vmlinuz-3.13.0-8-generic /etc/kernel/postinst.d
root 18437 0.0 0.0 4428 792 pts/12 S+ 22:35 0:00 /bin/sh /usr/lib/dkms/dkms_autoinstaller start 3.13.0-8-generic
root 18440 1.0 0.0 15256 2764 pts/12 S+ 22:35 0:00 /bin/bash /usr/sbin/dkms autoinstall --kernelver 3.13.0-8-generic
root 18444 0.0 0.0 15256 1760 pts/12 S+ 22:35 0:00 /bin/bash /usr/sbin/dkms autoinstall --kernelver 3.13.0-8-generic
root 18445 0.0 0.0 14064 1192 pts/12 S+ 22:35 0:00 /bin/bash /usr/bin/rpm -qf /lib/modules/3.13.0-8-generic
The attached patch fixes DKMS to not call rpm to determine the
architecture since that is quite useless.
** Patch added: "Disables RPM call for DKMS"
https://bugs.launchpad.net/ubuntu/+source/rpm/+bug/1069350/+attachment/3990223/+files/disable-rpm.patch
** Also affects: dkms (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to dkms in Ubuntu.
https://bugs.launchpad.net/bugs/1069350
Title:
suspicious /.rpmdb root directory
Status in rpm package manager:
Opinion
Status in “dkms” package in Ubuntu:
New
Status in “rpm” package in Ubuntu:
Confirmed
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/Conflictname
-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/Obsoletename
-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://ubuntuforums.org/showthread.php?t=1864423
To manage notifications about this bug go to:
https://bugs.launchpad.net/rpm/+bug/1069350/+subscriptions