---
** [tickets:#1129] LOG: Incorrect syslog if fail to close files when closing
log stream**
**Status:** unassigned
**Milestone:** 4.6.FC
**Created:** Tue Sep 23, 2014 11:02 AM UTC by elunlen
**Last Updated:** Tue Sep 23, 2014 11:02 AM UTC
**Owner:** nobody
In lgs_stream.c:
/* Close the log file */
rc = fileclose_h(*stream->p_fd);
*stream->p_fd = -1;
if (rc == -1) {
LOG_ER("Could not close log files: %s",
strerror(errno));
goto done_files;
}
This syslog incorrectly logs strerror(errno) which is wrong since errno is
irrelevant if fileclose_h() fails because of timeout or busy.
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets