You can't write anything to your modsec2.conf as this will be over written on the next easyapche that you use. It is better to write the DataSecDir in your modsec2.user.conf, please visit my site
http://www.puntapirata.com/ModSec-Updater.php
The DataSecDir is used by ASL (owners of GotRoot rules) to save in there all the info that their rules generate. They don't store this in a /tmp file they save the rules info in
SecDataDir /var/asl/data/msa and you have to create that directory.
Also, if you check in my site, you will see that there are a lot of commands in the modsec2.user.conf that has to be written as well.
All this info has been documented in ASL forum
atomicorp.com • View topic - Announcing the standalone rule updater and here at
http://forums.cpanel.net/f185/modsecurity-auto-updater-147745.html
FYI:
ASL or GOTROOT needs the following directories to work properly:
SecUploadDir /var/asl/data/suspicious
SecDataDir /var/asl/data/msa
SecTmpDir /tmp
SecAuditLogStorageDir /var/asl/data/audit
Them are used to save all the rules that have been triggered; so, in case you need to check any triggered rule, all the info will be saved there. But, if you set this to work, cpanel will not register any activity on his own Mod Security addon nor CSF will be able to check modsecurity errors.
If you want to try what I am telling, you will need to set the following two lines in your modsec2.user.conf (DO IT AT YOUR OWN RISK, I DON'T ASSUME ANY RESPONSABILITY):
SecAuditLogRelevantStatus "^(?:5|4(?!04))"
SecAuditLogType Concurrent
If you set this two lines to work, your WHM MODSECURITY ADDON will not save any modsec activities at all, instead you will be saving all the info in the directories that I mentioned before and they will fill very fast.
Regards,
Sergio