Red Hat Bugzilla – Bug 156156
cman uses deprecated initlog() function
Last modified: 2007-11-30 17:11:05 EST
Description of problem:
/sbin/service cman restart
Stopping cman: [ OK ]
Starting cman:WARNING: initlog is deprecated and will be removed in a future release
probably should try to replace the use of initlog before fc4 lands, since its
Note: rgmanager calls initlog in a "oracleas" script which currently is not
It's actually worse: starting cman within rhgb, you get an ugly error message
from glibc about free()ing an invalid address.
the reason that cman failed to start was because
"/etc/cluster/cluster.conf was not detected"
initlog has nothing to do with the failure here
changing initlog() to an echo for now.
Checking in cman;
/cvs/cluster/cluster/cman/init.d/cman,v <-- cman
new revision: 18.104.22.168.4.1; previous revision: 22.214.171.124
I think the problem this report was about was not such much that it failed to
start (it shouldn't even try to start by default), but rather that it uses
initlog, that not only was deprecated, but also triggered sanity checks in glibc.
The original summary was:
"cman service fails with warning message about initlog being deprecated"
The issue that I fixed, and what I believe the issue that was trying to be
addressed by the bug is reperestend by the new summary:
"cman uses deprecated initlog() function"
The cman init script no longer uses initlog(). This makes the deprecated
warning go away, hence why this bug is in the MODIFIED state.
cman failing to start is either a configuration error or some other issue that
may need to be looked into and given it's own bug.
The opinion that cman shouldn't start has nothing to do with this bug and has
already been addressed by bug #156410.
If starting cman still produces "an ugly error message" when starting from
within rhgb, then that is an issue that should be addressed in its own bug.
Yep, since the use of initlog is removed, the bug can probably be closed.
Oddly, logging into bugzilla with my non-Red Hat identity, I can't do anything
other than leaving the bug in MODIFIED state.
That said, I still see initlog in /etc/init.d/cman, as of yesterday's rawhide,
and there isn't any update to this package in today's rawhide. Maybe it needs
to be built, or moved to the dist that will make to FC4.
I'm closing this bug since cman has been removed from rawhide as of 2005-09-03