as shown by : Mar 11 00:55:35 dell /usr/sbin/gmond[1274]: [PYTHON] Can't open the python module path /usr/lib64/ganglia/python_modules. Mar 11 00:55:35 dell /usr/sbin/gmond[1274]: Module python_module failed to initialize. but which still leaves a not working python module and python library loaded in memory which won't be of any use. since modpython.conf is included would make more sense to also include the /usr/lib/ganglia/python_modules directory as part of the package so that this error could be avoided. if the intention is not to have python support enabled by default (most other modules are only available as examples anyway) then would be better to also not include modpython.conf IMHO Reproducible: Always Steps to Reproduce: 1. emerge -DNvu ganglia (for ~amd64) 2. /etc/init.d/gmond start 3. tail -2 /var/log/daemon.log Actual Results: errors reported at startup Expected Results: clean logs
an alternative to consider (if you would like to keep the modpython.conf configuration file as part of the package) would be to mark this module as disabled by using the "enabled = no" setting as shown by : # cat /etc/ganglia/conf.d/modpython.conf /* params - path to the directory where mod_python should look for python metric modules the "pyconf" files in the include directory below will be scanned for configurations for those modules */ modules { module { name = "python_module" enabled = no path = "modpython.so" params = "/usr/lib64/ganglia/python_modules" } } include ('/etc/ganglia/conf.d/*.pyconf')
Please add your emerge --info as a comment and attach the complete build.log to this bug report.
+ 06 May 2011; Justin Bronder <jsbronder@gentoo.org> ganglia-3.1.7-r2.ebuild: + Disable modpython by default, add python module directory (#358359). Remove + unnecessary postrm cleanup. Thanks for reporting.