Bug#889073: Permission denied on /run/munin/munin-node.pid

2018-02-05 Thread Sven Hartge
Hello!

Just for your information:

This is https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=889144 and
https://github.com/systemd/systemd/issues/8085

Grüße,
Sven.



signature.asc
Description: OpenPGP digital signature


Bug#889073: Permission denied on /run/munin/munin-node.pid

2018-02-01 Thread Jörg Frings-Fürst
Hello,

I think systemd sets the pid file with root:root, but requested is
munin:root.


:/run/munin$ ls -l
insgesamt 4
-rw-r--r-- 1 root root 6 Feb  2 07:49 munin-node.pid



CU 
Jörg

-- 
New:
GPG Fingerprint: 63E0 075F C8D4 3ABB 35AB  30EE 09F8 9F3C 8CA1 D25D
GPG key (long) : 09F89F3C8CA1D25D
GPG Key: 8CA1D25D
CAcert Key S/N : 0E:D4:56

Old pgp Key: BE581B6E (revoked since 2014-12-31).

Jörg Frings-Fürst
D-54470 Lieser

Threema:  SYR8SJXB
Wire: @joergfringsfuerst
Skype:joergpenguin
Ring: jff
Telegram: @joergfringsfuerst

IRC: j_...@freenode.net
 j_...@oftc.net

My wish list: 
 - Please send me a picture from the nature at your home.



Bug#889073: Permission denied on /run/munin/munin-node.pid

2018-02-01 Thread Jörg Frings-Fürst
Package: munin-node
Version: 2.0.34-3
Severity: grave

Hello,

on a fresh installed buster I get the message

[quote]
Initializing plugins..done.
Restarting munin-node..Created symlink /etc/systemd/system/multi-
user.target.wants/munin-node.service → /lib/systemd/system/munin-node.service.

Job for munin-node.service failed because a timeout was exceeded.
See "systemctl status munin-node.service" and "journalctl -xe" for details.
invoke-rc.d: initscript munin-node, action "start" failed.
● munin-node.service - Munin Node
   Loaded: loaded (/lib/systemd/system/munin-node.service; enabled; vendor
preset: enabled)
   Active: activating (auto-restart) (Result: timeout) since Thu 2018-02-01
18:59:58 CET; 11ms ago
 Docs: man:munin-node(1)
   http://munin.readthedocs.org/en/stable-2.0/reference/munin-node.html
  Process: 4460 ExecStart=/usr/sbin/munin-node $DAEMON_ARGS (code=exited,
status=0/SUCCESS)
dpkg: Fehler beim Bearbeiten des Paketes munin-node (--configure):
 installed munin-node package post-installation script subprocess returned
error exit status 1
Trigger für systemd (237-1) werden verarbeitet ...
Fehler traten auf beim Bearbeiten von:
 munin-node
E: Sub-process /usr/bin/dpkg returned an error code (1)
[/quote]

Journalctl give this output:
[quote]
$ journalctl -xe
Hint: You are currently not seeing messages from other users and the system.
  Users in the 'systemd-journal' group can see all messages. Pass -q to
  turn off this notice.
No journal files were opened due to insufficient permissions.
jff@merkur:/data/entwicklung/linux/debian$ sudo journalctl -xe
Feb 01 18:58:21 merkur chfn[3897]: changed user 'munin' information
Feb 01 18:58:21 merkur systemd[1]: Reloading.
Feb 01 18:58:25 merkur kernel: ip6_tables: (C) 2000-2006 Netfilter Core Team
Feb 01 18:58:27 merkur systemd[1]: Reloading.
Feb 01 18:58:27 merkur systemd[1]: Reloading.
Feb 01 18:58:28 merkur systemd[1]: Reloading.
Feb 01 18:58:28 merkur systemd[1]: Starting Munin Node...
-- Subject: Unit munin-node.service has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit munin-node.service has begun starting up.
Feb 01 18:58:28 merkur systemd[1]: munin-node.service: Permission denied while
opening PID file or unsafe symlink chain: /run/munin/munin-node.pid
Feb 01 18:59:58 merkur systemd[1]: munin-node.service: Start operation timed
out. Terminating.
Feb 01 18:59:58 merkur systemd[1]: munin-node.service: Failed with result
'timeout'.
Feb 01 18:59:58 merkur systemd[1]: Failed to start Munin Node.
-- Subject: Unit munin-node.service has failed
[/quote]

Output of ls -l /run
[quote]
$ ls -l /run
insgesamt 32
[...]
drwxr-xr-x  2 rootroot  60 Feb  1 18:37 mount
drwxr-xr-x  2 munin   root  60 Feb  1 19:15 munin
drwxr-xr-x  2 rootroot 100 Feb  1 18:37 network
[...]
[/quote]


CU
Jörg



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

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

Versions of packages munin-node depends on:
ii  gawk1:4.1.4+dfsg-1+b1
ii  libnet-server-perl  2.008-4
ii  lsb-base9.20170808
ii  munin-common2.0.34-3
ii  munin-plugins-core  2.0.34-3
ii  perl5.26.1-4
ii  procps  2:3.3.12-3

Versions of packages munin-node recommends:
ii  libnet-snmp-perl 6.0.1-3
ii  munin-plugins-extra  2.0.34-3

Versions of packages munin-node suggests:
pn  default-mysql-client  
pn  ethtool   
ii  hdparm9.53+ds-1
pn  libcrypt-ssleay-perl  
pn  libdbd-pg-perl
pn  liblwp-useragent-determined-perl  
pn  libnet-irc-perl   
pn  libtext-csv-xs-perl   
ii  libwww-perl   6.31-1
ii  libxml-simple-perl2.24-1
ii  lm-sensors1:3.4.0-4
ii  logtail   1.3.18
pn  munin 
pn  munin-plugins-java
pn  net-tools 
ii  python2.7.14-4
pn  ruby  
ii  smartmontools 6.5+svn4324-1

-- no debconf information