Bug 131049

Summary: SubDomain.pm relies too much on user-set PATH
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Seth R Arnold <seth.arnold>
Component: AppArmorAssignee: Jesse Michael <jmichael>
Status: VERIFIED FIXED QA Contact: Keiran Haggerty <khaggerty>
Severity: Normal    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Seth R Arnold 2005-10-27 15:50:19 UTC
When logprof or genprof or other AppArmor tools are run by a user with PATH set to include ~/bin or other directories before system directories, and the user directories have executables that shadow system executables (such as date, md5sum, logger, etc) that do not work exactly as we assume they work, our applications behave in surprising ways.

Two possible solutions are: (a) reset PATH to something 'sane'. (b) hardcode paths to system-supplied executables rather than rely on the shell to find versions.
Comment 1 Jesse Michael 2005-11-09 10:30:38 UTC
this is fixed in our tree.  i think it's been checked into autobuild for the RC1 build, but i'll have to check with dreynolds.
Comment 2 Dominic W Reynolds 2005-11-11 23:32:07 UTC
Fixed and will be posted for YOU update
Comment 3 Andreas Jaeger 2005-11-14 14:51:05 UTC
Please put it out with the other subdomain fixes.
Comment 4 Dominic W Reynolds 2005-11-14 19:44:00 UTC
Fix for this went in on the last checkin for the maintenance update.
Comment 5 Dominic W Reynolds 2005-11-15 14:37:54 UTC
Fixed in autobuild.
Comment 6 Anja Stock 2005-11-17 13:36:07 UTC
released