Package: smokeping Version: 2.6.9-1 Severity: normal Hi!
In the postinst the following commands are executed: ,---- | chown smokeping:smokeping /var/lib/smokeping | chown smokeping:smokeping /etc/smokeping/smokeping_secrets | chmod 640 /etc/smokeping/smokeping_secrets `---- This unconditionally destroys any custom permissions the admin may have set. Overwriting the permissions for /etc/smokeping/smokeping_secrets is especially desastrous because this file needs to be read by the www-data user (or group) to allow slaves to connect correctly. Right now the only option is to use POSIX-ACLs to allow www-data to read that file because if you just use "chgrp www-data" this change will get overwritten the next time the package is updated. Also the directory /var/lib/smokeping needs to be writable by www-data to allow the data submitted by the slaves to be written to the RRD files or you will get errors like this in the Apache error log: smokeping.cgi [client 10.1.1.32]: Could not update /var/lib/smokeping//Remote/Campus_Remote/swXXX-remote-v1.smoke-slave.slave_cache, giving up for now. at /usr/share/perl5/Smokeping/Master.pm line 156. Grüße, Sven. -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (200, 'experimental') Architecture: i386 (x86_64) Foreign Architectures: amd64 Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages smokeping depends on: ii adduser 3.113+nmu3 ii debianutils 4.4 ii fping 3.10-2 ii libcgi-fast-perl 1:2.02-1 ii libconfig-grammar-perl 1.10-2 ii libdigest-hmac-perl 1.03+dfsg-1 ii libjs-cropper 1.2.2-1 ii libjs-prototype 1.7.1-3 ii libjs-scriptaculous 1.9.0-2 ii librrds-perl 1.4.8-1.1+b1 ii libsnmp-session-perl 1.13-1.1 ii liburi-perl 1.64-1 ii libwww-perl 6.08-1 ii lsb-base 4.1+Debian13 ii perl 5.20.0-6 ii ucf 3.0030 Versions of packages smokeping recommends: ii apache2 2.4.10-1+b1 ii apache2-bin [httpd-cgi] 2.4.10-1+b1 ii apache2-mpm-prefork [httpd-cgi] 2.4.10-1+b1 ii apache2-mpm-worker [httpd-cgi] 2.4.10-1+b1 ii dnsutils 1:9.9.5.dfsg-4 ii echoping 6.0.2-8 ii libsocket6-perl 0.25-1+b1 Versions of packages smokeping suggests: ii curl 7.37.1-1 ii exim4 4.84-2 ii exim4-daemon-light [mail-transport-agent] 4.84-2 pn libauthen-radius-perl <none> ii libio-socket-ssl-perl 1.998-1 ii libnet-dns-perl 0.79-2 pn libnet-ldap-perl <none> ii libnet-telnet-perl 3.04-1 ii openssh-client 1:6.6p1-7 -- Configuration Files: /etc/smokeping/apache2.conf changed [not included] /etc/smokeping/config.d/General changed [not included] /etc/smokeping/config.d/Probes changed [not included] /etc/smokeping/config.d/Slaves changed [not included] /etc/smokeping/config.d/Targets changed [not included] /etc/smokeping/config.d/pathnames changed [not included] /etc/smokeping/smokeping_secrets [Errno 13] Permission denied: u'/etc/smokeping/smokeping_secrets' -- debconf-show failed -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org