Truncated exec messages
Posted: Tue Jun 19, 2007 6:30 pm
Hi,
I'm running grsecurity on 2.6.18.8 under Xen 3.1 (sorry, that means I can't upgrade to latest). The system is a 64-bit Gentoo installation.
I have noticed that occasionally (maybe once per day or less), I get truncated exec log messages. For example:
gios/bin/nagios) exec of /bin/bash (sh -c /usr/nagios/libexec/check_ping -H 10.10.20.2 -w 250.0,20% -c 500.0,60% -p 5 ) by /usr/nagios/bin/nagios[nagios:29366] uid/euid:414/414 gid/egid:414/414, parent /usr/nagios/bin/nagios[nagios:919] uid/euid:414/414 gid/egid:414/414
gios[nagios:6238] uid/euid:414/414 gid/egid:414/414
>grsec: (nagios:U:/usr/nagios/bin/nagios) exec of /usr/nagios/libexec/check_ping (/usr/nagios/libexec/check_ping -H 10.10.50.2 -w 250.0,20% -c 500.0,60% -p 5 ) by /bin/bash[sh:5151] uid/euid:414/414 gid/egid:414/414, parent /usr/nagios/bin/nagios[nagios:23988] uid/euid:414/414 gid/egid:414/414
The issue seems to only appear on the monitoring servers (the ones that run nagios), but I have seen it on one of the mail servers maybe once. The truncated log messages are very rare given the ~1 million exec messages logged per day. I would never have noticed it had I not been running log monitoring software.
I never witnessed the log truncation when running the 2.6.16.x kernels with grsec and older versions of Xen and syslog-ng hasn't been upgraded at all. While Xen has been upgraded, I wouldn't have thought it should affect logging.
Any help/clues/fixes/suggestions most welcome.
Cheers,
Brad
I'm running grsecurity on 2.6.18.8 under Xen 3.1 (sorry, that means I can't upgrade to latest). The system is a 64-bit Gentoo installation.
I have noticed that occasionally (maybe once per day or less), I get truncated exec log messages. For example:
gios/bin/nagios) exec of /bin/bash (sh -c /usr/nagios/libexec/check_ping -H 10.10.20.2 -w 250.0,20% -c 500.0,60% -p 5 ) by /usr/nagios/bin/nagios[nagios:29366] uid/euid:414/414 gid/egid:414/414, parent /usr/nagios/bin/nagios[nagios:919] uid/euid:414/414 gid/egid:414/414
gios[nagios:6238] uid/euid:414/414 gid/egid:414/414
>grsec: (nagios:U:/usr/nagios/bin/nagios) exec of /usr/nagios/libexec/check_ping (/usr/nagios/libexec/check_ping -H 10.10.50.2 -w 250.0,20% -c 500.0,60% -p 5 ) by /bin/bash[sh:5151] uid/euid:414/414 gid/egid:414/414, parent /usr/nagios/bin/nagios[nagios:23988] uid/euid:414/414 gid/egid:414/414
The issue seems to only appear on the monitoring servers (the ones that run nagios), but I have seen it on one of the mail servers maybe once. The truncated log messages are very rare given the ~1 million exec messages logged per day. I would never have noticed it had I not been running log monitoring software.
I never witnessed the log truncation when running the 2.6.16.x kernels with grsec and older versions of Xen and syslog-ng hasn't been upgraded at all. While Xen has been upgraded, I wouldn't have thought it should affect logging.
Any help/clues/fixes/suggestions most welcome.
Cheers,
Brad