Red Hat Bugzilla – Bug 657651
udev-164-5.fc15 whines during an update
Last modified: 2010-12-06 04:57:26 EST
Description of problem:
Updating udev in rawhide effects the following:
Updating : udev-164-5.fc15.x86_64 6/161
/var/tmp/rpm-tmp.B4KK0z: line 14: kill: (373) - No such process
That line number strongly suggest that the following loop from preinstall scriptlet is responsible:
while [ -n "$pid" ]; do
for p in $pid; do
kill $hard $p;
pid=$(/sbin/pidof -c udevd)
Smells like a race with /sbin/pidof still seeing udevd after the first 'kill' because udevd takes some time to cleanly terminate.
If we do not care then why not to do '... done >/dev/null 2>&1' and shut this up? Another option is to wait a bit before the "pidof" check.
Version-Release number of selected component (if applicable):
The same "No such process" happened when updating to udev-153-5.fc13.x86_64, with line 17 this time, on one machine but not on another one. Again, /sbin/pidof runs too quickly after kill.