Bug 160650

Summary: latest selinux rpm update contains absurd find command
Product: [Fedora] Fedora Reporter: Tom Horsley <horsley1953>
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: sundaram
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 1.23.11-3.2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-05 08:40:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tom Horsley 2005-06-16 12:15:09 UTC
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 :-).

Comment 1 Daniel Walsh 2005-08-25 15:40:52 UTC
Fixed in  policycoreutils-1.23.11-3.2