I emerged sguil-sensor-0.60_p1 (~x86) on the sensor machine which is running "hardened/x86/2.6". If you run "/etc/init.d/log_packets cleandisk" you get an error like this: * Caching service dependencies ... [ ok ] * Cleaning Disk ... * Checking disk space (limited to 50%)... * Current Disk Use: 2 1 2 20 7 10 4 0 16% /etc/init.d/log_packets: line 61: [: too many arguments * Done. [ ok ] The problem is that in the "/etc/init.d/log_packets" the variable LOG_DIR is undefined when one runs the "cleandisk". Once I moved the line LOG_DIR="${LOGDIR}/${HOSTNAME}/dailylogs" to the beginning of the script the (a place where the variable gets set which ever option is used) then "cleandisk" works fine. By the way Sguil-0.6.1 has been released.
Fix in cvs