The filename was probably shortened in the middle, but still looks crazy enough, and I'm not surprised that aa-genprof explodes while trying to auto-convert this to a valid regex.
Can you please check your /var/log/audit/audit.log for the orignal log line and upload the result? Usually I'd say grep for "jetbrains.*/prefs.xml", but given the filename, it could also be hex-encoded, so please also grep for "6A6574627261696E73.*70726566732E786D6C".
If you can't find such a log line, it's probably good enough if you tell me the full path and filename.
Sorry for the late respond didn't have time to get to this right away.
It is indeed very strange. I don't have the original log file from when I uploaded the bug report, but I reproduced the bug and found a line that matches what you were looking for. Please let me know if there is anything else you need that might help you in fixing this.
This is the line matching the second grep pattern from my audit.log file:
Oh well, that's an "interesting" directory name. I completely understand why you want to have a profile for jetbrains ;-) and I'm also not surprised that this directory name breaks the code that tries to convert it to a regex. (Nevertheless, we should at least catch such cases instead of erroring out the hard way.)
As a workaround, you can add the following rule manually:
You seem to have an ... interesting[tm] filename:
/home/ilayraz/ .java/. userPrefs/ jetbrains/ _...@\" j\!(k\! |w\"w\! '8\!b\! \"p\!': \!e@==/ prefs.xml
The filename was probably shortened in the middle, but still looks crazy enough, and I'm not surprised that aa-genprof explodes while trying to auto-convert this to a valid regex.
Can you please check your /var/log/ audit/audit. log for the orignal log line and upload the result? Usually I'd say grep for "jetbrains. */prefs. xml", but given the filename, it could also be hex-encoded, so please also grep for "6A657462726169 6E73.*707265667 32E786D6C" .
If you can't find such a log line, it's probably good enough if you tell me the full path and filename.