Bug#895868: munin-cron: Fontconfig error: failed reading config file

2018-06-10 Thread Lars Kruse
Source: munin
Followup-For: Bug #895868

Hello,

I took a look at the bugs reported for fontconfig [1].  I did not find a
description of this problem.  Maybe someone could report it there?

Since munin is likely only affected indirectly by this problem, we
should probably solve it in fontconfig, instead of here.

Or is this only a local customization / configuration issue?

Cheers,
Lars

[1]
https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=fontconfig;dist=unstable



Bug#895868: munin-cron: Fontconfig error: failed reading config file

2018-04-24 Thread Stephen Monteith



The error appears to be coming from fontconfig as other programs are 
giving this error.  In the folder /etc/fonts/conf.d there are symbolic 
links to directories in /etc/fonts/conf.avail which is causing 
fontconfig to throw an error for each directory. Removing these 
directory symbolic links solve the problem for me.




Bug#895868: munin-cron: Fontconfig error: failed reading config file

2018-04-19 Thread Adrian Immanuel Kiess
Package: munin
Version: 2.0.37-1
Followup-For: Bug #895868

Dear Maintainer,

likewise having this issue since the last upgrade within Debian/testing.

Here the e-mail I get continously:

From:   Cron Daemon 
To: r...@kiess.onl
Subject:Cron  if [ -x /usr/bin/munin-cron ]; then
/usr/bin/munin-cron; fi
Date:   Fri, 20 Apr 2018 07:10:52 +0200

Fontconfig error: failed reading config file
Fontconfig error: failed reading config file
Fontconfig error: failed reading config file
Fontconfig error: failed reading config file
Fontconfig error: failed reading config file

Sincerely greets,

Adrian Immanuel Kieß



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages munin depends on:
ii  cron [cron-daemon]3.0pl1-130
ii  fonts-dejavu-core 2.37-1
ii  libdate-manip-perl6.70-1
pn  libdigest-md5-perl
ii  libfile-copy-recursive-perl   0.40-1
ii  libhtml-template-perl 2.97-1
ii  libio-socket-inet6-perl   2.72-2
ii  liblog-log4perl-perl  1.49-1
ii  libperl5.26 [libtime-hires-perl]  5.26.1-6
ii  librrds-perl  1.7.0-1+b1
pn  libstorable-perl  
ii  liburi-perl   1.73-1
ii  lsb-base  9.20170808
ii  munin-common  2.0.37-1
ii  perl  5.26.1-6
ii  rrdtool   1.7.0-1+b1
ii  systemd-sysv  238-4

Versions of packages munin recommends:
pn  libcgi-fast-perl  
ii  munin-doc 2.0.37-1
ii  munin-node2.0.37-1

Versions of packages munin suggests:
ii  apache2 [httpd]  2.4.29-2
ii  chromium [www-browser]   62.0.3202.89-1
ii  elinks [www-browser] 0.12~pre6-13
ii  firefox [www-browser]56.0-2
ii  konqueror [www-browser]  4:17.08.3-2
pn  libapache2-mod-fcgid 
ii  libnet-ssleay-perl   1.85-1
ii  links2 [www-browser] 2.14-5
ii  lynx [www-browser]   2.8.9dev17-1
ii  opera [www-browser]  12.16.1860
ii  w3m [www-browser]0.5.3-36

-- Configuration Files:
/etc/munin/apache.conf changed:
Alias /munin /var/cache/munin/www
Alias /munin-cgi/static /var/cache/munin/www/static
ScriptAlias /munin-cgi /usr/lib/cgi-bin/munin-cgi-html

Order allow,deny
Allow from 192.168.0.0/24 localhost 127.0.0.0/8 ::1
Options None
# This file can be used as a .htaccess file, or a part of your apache
# config file.
#
# For the .htaccess file option to work the munin www directory
# (/var/cache/munin/www) must have "AllowOverride all" or something 
# close to that set.
#
# AuthUserFile /etc/munin/munin-htpasswd
# AuthName "Munin"
# AuthType Basic
# require valid-user
# This next part requires mod_expires to be enabled.
#

# Set the default expiration time for files to 5 minutes 10 seconds from
# their creation (modification) time.  There are probably new files by
# that time. 
#

ExpiresActive On
ExpiresDefault M310

 

/etc/munin/munin.conf changed:
includedir /etc/munin/munin-conf.d
[g6.lan.dac]
   address 127.0.0.1
   use_node_name yes
[tdz2000.lan.dac]
address 192.168.0.2
use_node_name yes
[m2n.lan.dac]
address 192.168.0.7
use_node_name yes


-- no debconf information


Bug#895868: munin-cron: Fontconfig error: failed reading config file

2018-04-19 Thread BERTRAND Joël
Same bug here. I've only found a quick an dirty workaround:

*/5 * * * * munin if [ -x /usr/bin/munin-cron ]; then
/usr/bin/munin-cron; fi > /dev/null 2>&1

Regards,

JKB



Bug#895868: munin-cron: Fontconfig error: failed reading config file

2018-04-16 Thread Calum Mackay
Package: munin
Version: 2.0.37-1
Severity: important

I just upgraded munin from 2.0.34-3 to 2.0.37-1, amongst upgrading many
other pkgs too.

Since then, root is receiving emails from cron every 5 minutes:

Subject:

Cron  if [ -x /usr/bin/munin-cron ]; then 
/usr/bin/munin-cron; fi

Body:

Fontconfig error: failed reading config file
Fontconfig error: failed reading config file
Fontconfig error: failed reading config file
Fontconfig error: failed reading config file
Fontconfig error: failed reading config file


Although running it manually doesn't seem to:

$ sudo -u munin /usr/bin/munin-cron
$

thanks very much,
calum.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages munin depends on:
ii  cron [cron-daemon]3.0pl1-130
ii  fonts-dejavu-core 2.37-1
ii  libdate-manip-perl6.70-1
pn  libdigest-md5-perl
ii  libfile-copy-recursive-perl   0.40-1
ii  libhtml-template-perl 2.97-1
ii  libio-socket-inet6-perl   2.72-2
ii  liblog-log4perl-perl  1.49-1
ii  libperl5.24 [libtime-hires-perl]  5.24.1-7
ii  libperl5.26 [libtime-hires-perl]  5.26.1-6
ii  librrds-perl  1.7.0-1+b1
pn  libstorable-perl  
ii  liburi-perl   1.73-1
ii  lsb-base  9.20170808
ii  munin-common  2.0.37-1
ii  perl  5.26.1-6
ii  rrdtool   1.7.0-1+b1
ii  systemd-sysv  238-4

Versions of packages munin recommends:
ii  libcgi-fast-perl  1:2.13-1
ii  munin-doc 2.0.37-1
ii  munin-node2.0.37-1

Versions of packages munin suggests:
ii  apache2 [httpd]   2.4.33-1
ii  elinks [www-browser]  0.12~pre6-13
ii  firefox-esr [www-browser] 52.7.3esr-1
ii  google-chrome-unstable [www-browser]  50.0.2657.0-1
pn  libapache2-mod-fcgid  
ii  libnet-ssleay-perl1.85-1
ii  links [www-browser]   2.14-5
ii  lynx [www-browser]2.8.9dev17-1
ii  w3m [www-browser] 0.5.3-36

-- Configuration Files:
/etc/munin/apache.conf changed:
Alias /munin /var/cache/munin/www

Require local
Options None
# This file can be used as a .htaccess file, or a part of your apache
# config file.
#
# For the .htaccess file option to work the munin www directory
# (/var/cache/munin/www) must have "AllowOverride all" or something 
# close to that set.
#
# AuthUserFile /etc/munin/munin-htpasswd
# AuthName "Munin"
# AuthType Basic
# require valid-user
# This next part requires mod_expires to be enabled.
#

# Set the default expiration time for files to 5 minutes 10 seconds from
# their creation (modification) time.  There are probably new files by
# that time. 
#

ExpiresActive On
ExpiresDefault M310

 
ScriptAlias /munin-cgi/munin-cgi-graph /usr/lib/munin/cgi/munin-cgi-graph

Require local
# AuthUserFile /etc/munin/munin-htpasswd
# AuthName "Munin"
# AuthType Basic
# require valid-user

SetHandler fcgid-script


SetHandler cgi-script


ScriptAlias /munin-cgi/munin-cgi-html /usr/lib/munin/cgi/munin-cgi-html

Require local
# AuthUserFile /etc/munin/munin-htpasswd
# AuthName "Munin"
# AuthType Basic
# require valid-user

SetHandler fcgid-script


SetHandler cgi-script



/etc/munin/apache24.conf changed:
Alias /munin /var/cache/munin/www


Require local
Require ip 192.168.254.0/24

Options None

ScriptAlias /munin-cgi/munin-cgi-graph /usr/lib/munin/cgi/munin-cgi-graph

Require local

SetHandler fcgid-script


SetHandler cgi-script




-- no debconf information