Description of Problem: In RC1, "rpm --setperms dev" starts eating CPU time in an infinite loop. This is also true for released 7.1 (rpm-4.0.2-8, dev-3.1.0-14). Version-Release number of selected component (if applicable): dev-3.2-3 rpm-4.0.3-0.93
Hangs on RC2 as well, looping on one of the CPUs here's the last snippit of the strace: mmap2(NULL, 745472, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40238000 open("/etc/mtab", O_RDONLY) = 5 fstat64(5, {st_mode=S_IFREG|0644, st_size=488, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000 read(5, "/dev/hde6 / ext3 rw 0 0\nnone /pr"..., 4096) = 488 close(5) = 0 munmap(0x40014000, 4096) = 0 open("/proc/meminfo", O_RDONLY) = 5 fstat64(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000 read(5, " total: used: free:"..., 4096) = 603 close(5) = 0 munmap(0x40014000, 4096) = 0 brk(0x8061000) = 0x8061000 brk(0x8064000) = 0x8064000 brk(0x8072000) = 0x8072000 mmap2(NULL, 258048, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402ee000 mmap2(NULL, 1941504, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4032d000
It's not an infinite loop, it's actually making progress, it just takes awhile: On my P3/800: [root@jmm root]# time rpm --setperms dev real 5m52.197s user 5m2.840s sys 0m25.420s
OK, thanks for verifying, closing NOTABUG.