Description of problem: Ganglia gmond daemon fails to start. 1) systemctl command returns : # systemctl status gmond.service gmond.service - SYSV: gmond startup script Loaded: loaded (/etc/rc.d/init.d/gmond) Active: active (exited) since Wed, 13 Jun 2012 09:00:08 +0200; 1 weeks and 0 days ago CGroup: name=systemd:/system/gmond.service Jun 13 09:00:08 gruber.oamp.fr gmond[1841]: Starting GANGLIA gmond: [ [ok] 2) starting gmond from the command line returns: # gmond -f *** stack smashing detected ***: gmond terminated ======= Backtrace: ========= /lib64/libc.so.6(__fortify_fail+0x37)[0x7f4fe488a927] /lib64/libc.so.6(__fortify_fail+0x0)[0x7f4fe488a8f0] /usr/lib64/ganglia/modcpu.so(disk_free_func+0x0)[0x7f4fe35084a0] /usr/lib64/ganglia/modcpu.so(disk_total_func+0x20)[0x7f4fe35084f0] /usr/lib64/ganglia/moddisk.so(+0x269a)[0x7f4fe32e569a] gmond(Ganglia_collection_group_collect+0xa2)[0x407f82] gmond(process_collection_groups+0x52)[0x4085b2] gmond(main+0x374)[0x4042a4] /lib64/libc.so.6(__libc_start_main+0xed)[0x7f4fe47bb32d] gmond[0x404609] ======= Memory map: ======== 00400000-0040e000 r-xp 00000000 08:07 11184 /usr/sbin/gmond 0060d000-0060e000 r--p 0000d000 08:07 11184 /usr/sbin/gmond 0060e000-0060f000 rw-p 0000e000 08:07 11184 /usr/sbin/gmond 0060f000-00610000 rw-p 00000000 00:00 0 01641000-01683000 rw-p 00000000 00:00 0 [heap] 7f4fe1df5000-7f4fe1e0a000 r-xp 00000000 08:07 261856 /lib64/libgcc_s-4.6.3.so.1 7f4fe1e0a000-7f4fe2009000 ---p 00015000 08:07 261856 /lib64/libgcc_s-4.6.3.so.1 7f4fe2009000-7f4fe200a000 rw-p 00014000 08:07 261856 /lib64/libgcc_s-4.6.3.so.1 7f4fe200a000-7f4fe2016000 r-xp 00000000 08:07 261907 /lib64/libnss_files-2.14.1.so 7f4fe2016000-7f4fe2215000 ---p 0000c000 08:07 261907 /lib64/libnss_files-2.14.1.so 7f4fe2215000-7f4fe2216000 r--p 0000b000 08:07 261907 /lib64/libnss_files-2.14.1.so 7f4fe2216000-7f4fe2217000 rw-p 0000c000 08:07 261907 /lib64/libnss_files-2.14.1.so 7f4fe2217000-7f4fe2221000 r-xp 00000000 08:07 261918 /lib64/libnss_nis-2.14.1.so 7f4fe2221000-7f4fe2420000 ---p 0000a000 08:07 261918 /lib64/libnss_nis-2.14.1.so 7f4fe2420000-7f4fe2421000 r--p 00009000 08:07 261918 /lib64/libnss_nis-2.14.1.so 7f4fe2421000-7f4fe2422000 rw-p 0000a000 08:07 261918 /lib64/libnss_nis-2.14.1.so 7f4fe2422000-7f4fe2437000 r-xp 00000000 08:07 261899 /lib64/libnsl-2.14.1.so 7f4fe2437000-7f4fe2636000 ---p 00015000 08:07 261899 /lib64/libnsl-2.14.1.so 7f4fe2636000-7f4fe2637000 r--p 00014000 08:07 261899 /lib64/libnsl-2.14.1.so 7f4fe2637000-7f4fe2638000 rw-p 00015000 08:07 261899 /lib64/libnsl-2.14.1.so 7f4fe2638000-7f4fe263a000 rw-p 00000000 00:00 0 ... ... ... Version-Release number of selected component (if applicable): rpm -qi ganglia-core Name : ganglia-core Version : 3.1.7 Release : 7.mga2 Architecture: x86_64 Install Date: Thu 10 May 2012 10:39:36 AM CEST Group : Monitoring Size : 478968 License : BSD Signature : RSA/SHA1, Sun 29 Apr 2012 08:05:10 PM CEST, Key ID b742fa8b80420f66 Source RPM : ganglia-3.1.7-7.mga2.src.rpm Build Date : Sun 29 Apr 2012 08:01:38 PM CEST Build Host : jonund.mageia.org Relocations : (not relocatable) Packager : colin <colin> Vendor : Mageia.Org URL : http://ganglia.sourceforge.net Summary : Cluster Core How reproducible: Steps to Reproduce: 1. urpmi ganglia-core 2. /usr/sbin/gmond -f 3.
CC: (none) => ennael1, misc, pterjanSource RPM: ganglia-core-3.1.7-7.mga2.src.rpm lib64ganglia1-3.1.7-7.mga2.src.rpm => ganglia
=> Gmond crashs if there are active NFS mounting points. It's a known bug also seen here: in debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666408 in ubuntu: https://bugs.launchpad.net/ubuntu/+source/ganglia/+bug/910678 in fedora 15: https://bugzilla.redhat.com/show_bug.cgi?id=689483 a) A workaround is to apply the following command: mv /usr/lib64/ganglia/moddisk.so /usr/lib64/ganglia/moddisk.so.broken then gmond will work but some infos will be lost. b) another solution which need a patch can bee seen here: https://bugs.launchpad.net/ubuntu/+source/ganglia/+bug/910678/comments/3 c) The best solution is to upgrade the package which contains a fix. JC
Keywords: (none) => PATCH, Triaged, UPSTREAM
I just upgraded the package in cauldron.
CC: (none) => guillomovitchAssignee: bugsquad => guillomovitch
I just submitted 3.1.7-7.1.mga2 in update_testing, fixing both #6520 and #6874 at once.
Depends on: (none) => 6874
update pushed
Status: NEW => RESOLVEDResolution: (none) => FIXED