|Summary:||security/logcheck: logcheck didn't work after upgrade to 1.2.54|
|Product:||Ports & Packages||Reporter:||berend|
|Component:||Individual Port(s)||Assignee:||Greg Larkin <glarkin>|
|Severity:||Affects Only Me|
Description berend 2010-01-22 06:40:00 UTC
Logcheck failed with: Details: Could not run logtail or save output Check temporary directory: /tmp/logcheck.urOJdC Also verify that the logcheck user can read all files referenced in /usr/local/etc/logcheck/logcheck.logfiles! This is a misleading message. Logcheck could read those files. It appears that the problem was with logtail2: /usr/local/sbin/logtail2 /var/log/messages This failed with: cannot compile /usr/local/share/logcheck/detectrotate/10-savelog.dtr: Permission denied Fix: chown this directory to logcheck solved the problem. Next thing was a complaint about messages.offset. After chowning that and auth.log.offset to logcheck, logcheck worked again.
Comment 1 Remko Lodder 2010-01-22 13:45:27 UTC
Responsible Changed From-To: freebsd-bugs->freebsd-ports-bugs Reassign to ports.
Comment 2 Greg Larkin 2010-01-23 01:08:49 UTC
Responsible Changed From-To: freebsd-ports-bugs->glarkin This one's for me.
Comment 3 dfilter service 2010-01-25 23:23:11 UTC
glarkin 2010-01-25 23:23:02 UTC FreeBSD ports repository Modified files: security/logcheck Makefile Log: - Fix permissions on DATADIR so code snippets can be compiled on the fly by logtail2. - Bumped PORTREVISION PR: ports/143077, ports/143099 Submitted by: Berend de Boer <firstname.lastname@example.org>, Yasuhiro KIMURA <email@example.com> Revision Changes Path 1.31 +4 -1 ports/security/logcheck/Makefile _______________________________________________ firstname.lastname@example.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "email@example.com"
Comment 4 Greg Larkin 2010-01-25 23:23:42 UTC
State Changed From-To: open->closed Committed the patch in ports/143099 to fix this problem, thank you for the report!