Bug 144019

Summary: genprof doesn't like ++ in filenames
Product: [openSUSE] SUSE Linux 10.1 Reporter: John R Johansen <jjohansen>
Component: AppArmorAssignee: Jesse Michael <jmichael>
Status: RESOLVED FIXED QA Contact: Dominic W Reynolds <dreynolds>
Severity: Normal    
Priority: P5 - None    
Version: Alpha 4   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description John R Johansen 2006-01-19 04:04:45 UTC
using genprof on the profile below results in the error shown after it
/usr/bin/bonnie++ flags=(complain) {
  #include <abstractions/base>

  /usr/bin/bonnie++ r,
}

g5:/etc/subdomain.d # genprof bonnie++

Please start the application to be profiled in
another window and exercise its functionality now.

Once completed, select the "Scan" button below in
order to scan the system logs for AppArmor events.

For each AppArmor event, you will be given the
opportunity to choose whether the access should be
allowed or denied.

Profiling: /usr/bin/bonnie++

[(S)can system log for SubDomain events] / (F)inish
Reading log entries from /var/log/messages.
Updating subdomain profiles in /etc/subdomain.d.

Profile /etc/subdomain.d/usr.bin.bonnie++ contains invalid regexp /usr/bin/bonnie++.
Comment 1 Jesse Michael 2006-04-02 23:18:26 UTC
this is also fixed in our tree now and will be pushed to autobuild for the next CODE10 builds
Comment 2 Dominic W Reynolds 2006-04-03 05:38:22 UTC
fixed in abuild