Red Hat Bugzilla – Bug 160650
latest selinux rpm update contains absurd find command
Last modified: 2007-11-30 17:11:07 EST
Description of problem: One of the rpms I just installed via up2date
(either selinux-policy-targeted-1.17.30-3.2 or
selinux-policy-targeted-sources-1.17.30-3.2) apparently runs a find /users
command for some reason, with NO -prune to chop off at network filesystems.
On my system /users happens to have mountpoints for about a bazillion NFS
mounts, so the find would take about 13 years to complete. Finally got
the up2date to finish by doing a kill -9 of the silly find command.
Rpms shouldn't be built with arbitrary find that could run away like
this. Be more careful. Teach people how to use -prune correctly (which
I admit is a challenge - the most obvious way to use it will search the
entire filesystem, then do the prune :-).
Fixed in policycoreutils-1.23.11-3.2