#1057408 lynis: got pgrep warning every day from a cron job since upgraded to Debian 12.

#1057408#5
Date:
2023-12-04 13:45:24 UTC
From:
To:
Dear Maintainer,

Excerpt from my cron.daily email:
/etc/cron.daily/lynis:
/usr/sbin /
pgrep: pattern that searches for process name longer than 15 characters will result in zero matches
Try `pgrep -f' option to match against the complete command line.
/
End of excerpt.

I tried to debug with 'set -x' but there was way to much data and it filled my buffer so I was unable to trace which line is responsible.
I installed a more recent version of lynis.  Did not help.

Best!