Red Hat Bugzilla – Bug 62012
Installing the dev package, /dev/logi* files are missing
Last modified: 2008-05-01 11:38:01 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020314
Description of problem:
After installation of the dev package, /dev/logi* (/dev/logibm, /dev/logimouse,
etc.) files have a semicolon followed by 8 alphanumeric characters which
correspond to the file hash used to verify each file. `rpm -Uvv --force
dev-3.2-12.i386.rpm` showed that the hash and the file name match (i.e.
/dev/logibm;3ca0b332). I am hypothesizing that this is rpm, because the same
thing happened on my 7.2 machine when I upgraded to the new rpm updates.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install dev with rpm-4.0.4-7x*
2. rpm -V dev shows /dev/logi* missing (unless it was an upgrade, in which case
the original /dev/logi* files remain)
Actual Results: /dev/logi* files were 'missing' according to rpm -V, and they
have alphanumeric characters appended to the file name.
Expected Results: /dev/logi* should not have anything appended to the file name.
Are there errors in the install.log or upgrade.log?
No. `grep -v Installing /tmp/install.log` yeilds nothing. The file contains an
entry for dev-3.2-12, but no errors.
I straced a "rpm -Uvh --force" of this package, looking for mknod() and rename()
syscalls, and saw a mostly 1:1 match, except for the nodes where we get this
(rename() was not called, leaving it with the temporary device node's name).
There's an errant strcmp in lib/fsm.c that avoids
creating sockets that never should have been put
into the dev package.
Fixed in rpm-4.0.4-7x.9.