From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MNPiMoFUwV/NGgAA0tVLHw (envelope-from ) for ; Fri, 27 Nov 2020 19:33:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id yP+pLoFUwV8ZVwAAbx9fmQ (envelope-from ) for ; Fri, 27 Nov 2020 19:33:21 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 21AFD9404CF for ; Fri, 27 Nov 2020 19:33:21 +0000 (UTC) Received: from localhost ([::1]:36636 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kijUd-00064o-DJ for larch@yhetil.org; Fri, 27 Nov 2020 14:33:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42584) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kijUP-000622-3g for bug-guix@gnu.org; Fri, 27 Nov 2020 14:33:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34690) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kijUM-0002lM-29 for bug-guix@gnu.org; Fri, 27 Nov 2020 14:33:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kijUL-00023P-VO for bug-guix@gnu.org; Fri, 27 Nov 2020 14:33:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#44820: MPD fails after respawning too often Resent-From: Simon Streit Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 27 Nov 2020 19:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44820 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 44820@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16065055257823 (code B ref -1); Fri, 27 Nov 2020 19:33:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Nov 2020 19:32:05 +0000 Received: from localhost ([127.0.0.1]:46236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kijTQ-000226-6B for submit@debbugs.gnu.org; Fri, 27 Nov 2020 14:32:04 -0500 Received: from lists.gnu.org ([209.51.188.17]:34384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kijR6-0001wr-Py for submit@debbugs.gnu.org; Fri, 27 Nov 2020 14:29:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40060) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kijR3-0004xH-4M for bug-guix@gnu.org; Fri, 27 Nov 2020 14:29:39 -0500 Received: from smtprelay08.ispgateway.de ([134.119.228.98]:50207) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kijQs-0001QN-C5 for bug-guix@gnu.org; Fri, 27 Nov 2020 14:29:34 -0500 Received: from [92.195.120.160] (helo=milk) by smtprelay08.ispgateway.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) (envelope-from ) id 1kijQm-0007kg-IH for bug-guix@gnu.org; Fri, 27 Nov 2020 20:29:20 +0100 References: <87mtz3um48.fsf@gnu.org> <84307412-1cbe-79dd-bebd-b272a3732665@riseup.net> User-agent: mu4e 1.4.13; emacs 27.1 From: Simon Streit Message-ID: In-reply-to: <84307412-1cbe-79dd-bebd-b272a3732665@riseup.net> Date: Fri, 27 Nov 2020 20:29:19 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Df-Sender: bGlzdHNAbmV0cGFuaWMub3Jn Received-SPF: none client-ip=134.119.228.98; envelope-from=lists@netpanic.org; helo=smtprelay08.ispgateway.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Mailman-Approved-At: Fri, 27 Nov 2020 14:32:02 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.27 X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-TUID: 2fBu4gOfFb9l Martin Becze writes: > I also ran into this problem. Here is the relevnat part of > /var/run/mpd//log > >> exception: Failed to create pid file "/var/run/mpd//pid": Perm= ission denied > > A quick dirty fix is just to chown the /var/run/mpd folder so that mpd > can create its pid file. I have the the same error message in my log file too, and chowning ownership of directories helps too. > > On 11/27/20 4:31 AM, Ludovic Court=C3=A8s wrote: >> Hi, >> Simon skribis: >> >>> On a recent pull, MPD will not start any more. >>> >>> Herd status reports: >>> >>> Status of mpd: >>> It is stopped. >>> It is disabled. >>> Provides (mpd). >>> Requires (user-processes). >>> Conflicts with (). >>> Will be respawned. >>> Last respawned on Mon Nov 23 10:22:07+0100 2020. >>> >>> >>> Reading my messages, I find: >>> >>> Nov 23 10:22:07 localhost shepherd[1]: Respawning mpd. >>> Nov 23 10:22:07 localhost shepherd[1]: Service mpd has been started. >>> Nov 23 10:22:07 localhost shepherd[1]: Respawning mpd. >>> Nov 23 10:22:07 localhost shepherd[1]: Service mpd has been started. >>> Nov 23 10:22:07 localhost shepherd[1]: Respawning mpd. >>> Nov 23 10:22:07 localhost shepherd[1]: Service mpd has been started. >>> Nov 23 10:22:07 localhost shepherd[1]: Respawning mpd. >>> Nov 23 10:22:07 localhost shepherd[1]: Service mpd has been started. >>> Nov 23 10:22:07 localhost shepherd[1]: Respawning mpd. >>> Nov 23 10:22:07 localhost shepherd[1]: Service mpd has been started. >>> Nov 23 10:22:07 localhost shepherd[1]: Respawning mpd. >>> Nov 23 10:22:07 localhost shepherd[1]: Service mpd has been started. >>> Nov 23 10:22:07 localhost shepherd[1]: Service mpd has been disabled. >>> Nov 23 10:22:07 localhost shepherd[1]: (Respawning too fast.) >>> >>> >>> Unfortunately, there are no further messages as to why the service is >>> disabled, or why the daemon is respawning too often. >> Does /var/log/mpd/mpd.log or similar contain useful info? >> Could you share your =E2=80=98mpd-configuration=E2=80=99? >> There have been two changes recently, which fixed the mpd system >> test, >> but perhaps they introduced other issues: >> https://git.savannah.gnu.org/cgit/guix.git/log?id=3Dbb124f6e9c0af0a23= 736f233c2ea2c9c9b4a40a6 >> Thanks for reporting the issue, >> Ludo=E2=80=99. If I read it correctly in the changes made above, ownership of the directory should be changed, but it is not. I just deleted the directory in /run/mpd and did a reboot. The user directory is recreated, and .mpd too, but only ownership is changed in .mpd. Too bad that my knowledge in guile is too limited at the moment to provide a solution. But I'd really love too at the moment. :) But I believe ownership of the parent directory should be changed according to the user. Sorry that I can't provide any better solution at the moment. Cheers, Simon