From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 Description of problem: same rh9 on a second machine generates this same error message when doing a "rpm --rebuilddb" "db4 error(16) from dbenv->remove" Version-Release number of selected component (if applicable): rpm-4.2-0.69 How reproducible: Always Steps to Reproduce: 1. #rpm --rebuilddb 2. wait a minute or so 3. look! error message! "db4 error(16) from dbenv->remove dbenv->remove: Device or resource busy" Actual Results: got the error message, not sure if __db.* 's got updated. Expected Results: no error message would be good Additional info: SMALL part fo strace: close(3) = 0 open("/var/lib/rpm/__db.001", O_RDWR|O_DIRECT|O_LARGEFILE) = 3 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 mmap2(NULL, 16384, PROT_READ|PROT_WRITE, MAP_SHARED, 3, 0) = 0x40017000 close(3) = 0 munmap(0x40017000, 16384) = 0 open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) write(2, "error: ", 7error: ) = 7 write(2, "db4 error(16) from dbenv->remove"..., 58db4 error(16) from dbenv->remove: Device or resource busy ) = 58 rt_sigprocmask(SIG_BLOCK, ~[], [33], 8) = 0 rt_sigprocmask(SIG_SETMASK, [33], NULL, 8) = 0 close(21) = 0 open("/var/lib/rpmrebuilddb.8574/Pubkeys", O_RDWR|O_LARGEFILE) = 3 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 close(3) = 0 close(18) = 0 close(17) = 0 close(16) = 0 close(15) = 0
Created attachment 93887 [details] part of the buffer from "strace rpm --rebuilddb" look at line 47
[root@w9 root]# ls -l /usr/share/locale/en/LC_MESSAGES/ total 48 -rw-r--r-- 1 root root 3633 Jan 25 2003 psmisc.mo -rw-r--r-- 1 root root 44439 Jan 25 2003 tcsh [root@w9 root]#
[root@w9 root]# locate /usr/share/locale/en*/LC_MESSAGES/libc.mo /usr/share/locale/en_GB/LC_MESSAGES/libc.mo [root@w9 root]#
Error message is harmless. Fixed in rpm-4.2.1 current.