https://bugzilla.novell.com/show_bug.cgi?id=387202
User robin.listas@telefonica.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c118
--- Comment #118 from Carlos Robinson 2009-03-25 17:16:06 MST ---
Of course.
Clearing an assert doesn't mean comment it out, just handle the error condition
cleanly.
Once an assert triggers, it means that a situation thought impossible by the
programmer has in fact happened, and thus, the code has to be changed to avoid
that situation happening.
On the other hand, an assert in such a daemon just kills the daemon silently,
without any message to the user/admin. An assert is intended as a message from
the dead to the creator of the program, so that the creator can reprogram the
cylon. This is not happening. Those asserts are useless.
Instead the assert message should be sent to syslog with "warn" or "critical"
level, and then the program halted - after logging the situation -. At best,
the assert could be used to restart or reinit the daemon (the idea of dividing
nscd into a parent and child is not so bad).
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.