Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 489754 - net-analyzer/munin-2.0.11.1 - TLS connection errors
Summary: net-analyzer/munin-2.0.11.1 - TLS connection errors
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sysadmin Bugs
URL: http://munin-monitoring.org/changeset...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-10-29 12:34 UTC by Seraphim Mellos
Modified: 2015-07-31 09:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
munin-cron debug log (munin_cron.log,7.99 KB, text/plain)
2013-10-29 12:38 UTC, Seraphim Mellos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Seraphim Mellos 2013-10-29 12:34:00 UTC
After recently upgrading my munin machines to 2.0.11 from 2.0.4 I noticed that munin no longer updates stats when connecting over TLS and instead gives errors like:

...
[ERROR] Error in node communication with rama/127.0.0.1:4949: [FATAL] Socket read from rama failed.  Terminating process. at /usr/lib/perl5/vendor_perl/5.16.1/Munin/Master/UpdateWorker.pm line 394.
...

In order to reproduce simply create a pem cert in /etc/munin/server.pem, add the following in munin.conf and munin-node.conf:

tls enabled
tls_verify_certificate no
tls_private_key /etc/munin/server.pem
tls_certificate /etc/munin/server.pem

and run munin-cron --debug.

The bug seems to be the one reported here[1] and fixed[2] for version 2.0.12 so a version bump would solve this issue. I manually applied the fix and it is indeed working as expected.

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699803
[2] http://munin-monitoring.org/changeset/71d0a86c2b6f549e265be1718db8b20c227c9235/munin




Reproducible: Always




Portage 2.2.1 (default/linux/x86/13.0, gcc-4.5.4, glibc-2.15-r3, 3.3.0-gentoo i686)
=================================================================
System uname: Linux-3.3.0-gentoo-i686-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.2
KiB Mem:     8275708 total,   2938460 free
KiB Swap:    1975988 total,   1759636 free
Timestamp of tree: Tue, 29 Oct 2013 10:30:01 +0000
ld GNU ld (GNU Binutils) 2.22.90.20120727
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.5-r2
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.3
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.4.5, 4.5.4, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo sunrise docker x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA PUEL skype-eula dlj-1.1 AdobeFlash-10.3 Nero-EULA-US skype-4.0.0.7-copyright"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/bind /var/lib/redmine/config /var/rancid/.cloginrc /var/spool/munin-async/.ssh"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /var/lib/redmine/config/locales /var/lib/redmine/config/settings.yml"
CXXFLAGS="-O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=8 --load-average=10.0"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/docker /usr/local/portage"
USE="X acl berkdb bzip2 cairo cli cracklib crypt cxx dbus dri fortran gdbm iconv ipv6 jpeg modules mudflap ncurses nls nptl openmp pam pcre png readline session ssl tcpd truetype unicode vim-syntax x86 zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en el" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Seraphim Mellos 2013-10-29 12:38:26 UTC
Created attachment 362228 [details]
munin-cron debug log
Comment 2 Michael Weber (RETIRED) gentoo-dev 2015-07-31 09:24:13 UTC
Oldest version in tree is now 2.0.19, which should include the fix, as you stated.