Debian Bug report logs - #776306
mpdscribble: Fails to start because of error in pidfile creation

version graph

Package: mpdscribble; Maintainer for mpdscribble is mpd maintainers <pkg-mpd-maintainers@lists.alioth.debian.org>; Source for mpdscribble is src:mpdscribble (PTS, buildd, popcon).

Reported by: Marco Solieri <soujak@xt3.it>

Date: Mon, 26 Jan 2015 14:21:01 UTC

Severity: grave

Found in version mpdscribble/0.22-5

Done: Andrey Rahmatullin <wrar@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, mpd maintainers <pkg-mpd-maintainers@lists.alioth.debian.org>:
Bug#776306; Package mpdscribble. (Mon, 26 Jan 2015 14:21:06 GMT) (full text, mbox, link).


Acknowledgement sent to Marco Solieri <soujak@xt3.it>:
New Bug report received and forwarded. Copy sent to mpd maintainers <pkg-mpd-maintainers@lists.alioth.debian.org>. (Mon, 26 Jan 2015 14:21:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Marco Solieri <soujak@xt3.it>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: mpdscribble: Fails to start because of error in pidfile creation
Date: Mon, 26 Jan 2015 15:03:08 +0100
[Message part 1 (text/plain, inline)]
Package: mpdscribble
Version: 0.22-5
Severity: grave
Justification: renders package unusable

With default configuration the service tries to create its pidfile in 
folder '/var/run/mpdscribble', but such a folder is not created by 
installation script, nor it persists to system reboot. This cause the 
system-wide service to fail to start with the following error.

mpdscribble[359]:
  Failed to create pidfile /var/run/mpdscribble/mpdscribble.pid:
  No such file or directory
mpdscribble.service: main process exited, code=killed, status=5/TRAP
systemd[1]: Unit mpdscribble.service entered failed state.

Obvious (and tested) workarounds include:

1. After each reboot, create the folder '/var/run/mpdscribble' owned by
   mpdscribble:mpdscribble with permissions ug+rwX (~default).
2. Disable pidfile creation, by commenting the corresponding line in
   /etc/mpdscribble.conf .

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (800, 'unstable'), (700, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages mpdscribble depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.55
ii  init-system-helpers    1.22
ii  libc6                  2.19-13
ii  libglib2.0-0           2.42.1-1
ii  libmpdclient2          2.9-1
ii  libsoup2.4-1           2.48.0-1
ii  lsb-base               4.1+Debian13+nmu1
ii  ucf                    3.0030

mpdscribble recommends no packages.

Versions of packages mpdscribble suggests:
pn  mpd  <none>

-- debconf information:
[signature.asc (application/pgp-signature, inline)]

Reply sent to Andrey Rahmatullin <wrar@debian.org>:
You have taken responsibility. (Sun, 01 Feb 2015 07:57:09 GMT) (full text, mbox, link).


Notification sent to Marco Solieri <soujak@xt3.it>:
Bug acknowledged by developer. (Sun, 01 Feb 2015 07:57:09 GMT) (full text, mbox, link).


Message #10 received at 776306-done@bugs.debian.org (full text, mbox, reply):

From: Andrey Rahmatullin <wrar@debian.org>
To: Marco Solieri <soujak@xt3.it>, 776306-done@bugs.debian.org
Subject: Re: Bug#776306: mpdscribble: Fails to start because of error in pidfile creation
Date: Sun, 1 Feb 2015 12:56:01 +0500
[Message part 1 (text/plain, inline)]
On Mon, Jan 26, 2015 at 03:03:08PM +0100, Marco Solieri wrote:
> With default configuration the service tries to create its pidfile in 
> folder '/var/run/mpdscribble', but such a folder is not created by 
> installation script, nor it persists to system reboot. This cause the 
> system-wide service to fail to start with the following error.
> 
> mpdscribble[359]:
>   Failed to create pidfile /var/run/mpdscribble/mpdscribble.pid:
>   No such file or directory
> mpdscribble.service: main process exited, code=killed, status=5/TRAP
> systemd[1]: Unit mpdscribble.service entered failed state.
> 
> Obvious (and tested) workarounds include:
> 
> 1. After each reboot, create the folder '/var/run/mpdscribble' owned by
>    mpdscribble:mpdscribble with permissions ug+rwX (~default).
> 2. Disable pidfile creation, by commenting the corresponding line in
>    /etc/mpdscribble.conf .
No, the default /etc/mpdscribble.conf already has this line commented out.

-- 
WBR, wRAR
[signature.asc (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 02 Mar 2015 07:25:29 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jan 10 01:18:31 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.