From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 Description of problem: I am doing a complete system re-install via kickstart on RH9. I have included stuff to also update to the latest kernel in the %post section. During the update I get messages similar to those reported in Bug# 88720. Therefor on reboot, I have tried rpm --rebuilddb, etc., then tried removing the lock files, as per "workarounds" for similar reported problems, but it dosent fix it. # rpm -v --rebuilddb error: db4 error(16) from dbenv->remove: Device or resource busy # ls -l /var/lib/rpm/__db* -rw-r--r-- 1 root root 16384 Mar 16 16:43 /var/lib/rpm/__db.001 -rw-r--r-- 1 root root 1318912 Mar 16 16:43 /var/lib/rpm/__db.002 -rw-r--r-- 1 root root 458752 Mar 16 16:43 /var/lib/rpm/__db.003 # /bin/rm /var/lib/rpm/__db* # rpm -v --rebuilddb error: db4 error(16) from dbenv->remove: Device or resource busy # Bugs # 83281 and 89717 also seem to be similar, but due to up2date, not kickstart. Version-Release number of selected component (if applicable): rpm-4.2-0.69 How reproducible: Always Steps to Reproduce: 1. Run my kickstart script & reboot 2. Run rpm -v --rebuilddb 3. Actual Results: As per Problem Description Expected Results: A clean install Additional info: Can provide (sanitized) ks.cfg if required
Created attachment 98638 [details] kickstart %post "stanza"
The (harmless) error message is fixed in later versions of rpm.