From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id IBNNGwkz1V+1cAAA0tVLHw (envelope-from ) for ; Sat, 12 Dec 2020 21:15:53 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id sAsPFwkz1V/regAAB5/wlQ (envelope-from ) for ; Sat, 12 Dec 2020 21:15:53 +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 012CF9403AC for ; Sat, 12 Dec 2020 21:15:53 +0000 (UTC) Received: from localhost ([::1]:41528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koCF5-0002ef-UL for larch@yhetil.org; Sat, 12 Dec 2020 16:15:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60692) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koAUs-0001iV-AK for bug-guix@gnu.org; Sat, 12 Dec 2020 14:24:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35052) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koAUs-0000oK-2t for bug-guix@gnu.org; Sat, 12 Dec 2020 14:24:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1koAUr-00044y-WA for bug-guix@gnu.org; Sat, 12 Dec 2020 14:24:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45202: pcscd service (pcsc-lite) doesn't handle run directory properly Resent-From: Raffael Stocker Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 12 Dec 2020 19:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45202 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 45202@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160780099215566 (code B ref -1); Sat, 12 Dec 2020 19:24:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Dec 2020 19:23:12 +0000 Received: from localhost ([127.0.0.1]:46586 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koAU4-000430-DV for submit@debbugs.gnu.org; Sat, 12 Dec 2020 14:23:12 -0500 Received: from lists.gnu.org ([209.51.188.17]:50550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koAU3-00042t-H0 for submit@debbugs.gnu.org; Sat, 12 Dec 2020 14:23:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60390) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koAU3-0001Ap-AI for bug-guix@gnu.org; Sat, 12 Dec 2020 14:23:11 -0500 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:49831) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koAU0-0000YL-4d for bug-guix@gnu.org; Sat, 12 Dec 2020 14:23:10 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4CtVT81Rykz1s1Jn for ; Sat, 12 Dec 2020 15:31:24 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4CtVT80dzLz1tD93 for ; Sat, 12 Dec 2020 15:31:24 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id G3v0INHkl3-o for ; Sat, 12 Dec 2020 15:31:23 +0100 (CET) X-Auth-Info: Y9ID7inNdlJWsUjR9CksXCHzCic7RwSaiuG3GKn+FpRCM7hUzTm2vD+ieyJ/KLT/ Received: from Black_Knight (ppp-93-104-77-206.dynamic.mnet-online.de [93.104.77.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA for ; Sat, 12 Dec 2020 15:31:23 +0100 (CET) User-agent: mu4e 1.4.13; emacs 27.1 From: Raffael Stocker Date: Sat, 12 Dec 2020 15:31:22 +0100 Message-ID: <87o8izhz9h.fsf@mnet-mail.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2001:a60:0:28:0:1:25:1; envelope-from=r.stocker@mnet-mail.de; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sat, 12 Dec 2020 15:57:38 -0500 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.30 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-Migadu-Queue-Id: 012CF9403AC X-Spam-Score: -2.30 X-Migadu-Scanner: scn1.migadu.com X-TUID: ZnbEQNIXUGgs Hi, I use the pcsc-lite package and noticed that the pcscd service is sometimes not started by shepherd/herd. If it is started, "herd start pcscd" gives me the following error message (sorry for the german part): > herd: Ausnahmefehler w=C3=A4hrend der Ausf=C3=BChrung von =C2=BBstart=C2= =AB mit dem Dienst =C2=BBpcscd=C2=AB: > In procedure open-file: No such file or directory: "/var/run/pcscd/pcscd.= pid" The reason seems to be that pcsc-lite creates its pid file in "/run/pcscd/", but herd expects it in "/var/run/pcscd/". This leads to the service not being started when the files in "/run/pcscd/" have not been cleaned up (or so my interpretation). In this case, I get the error message: > herd: Ausnahmefehler w=C3=A4hrend der Ausf=C3=BChrung von =C2=BBstart=C2= =AB mit dem Dienst =C2=BBpcscd=C2=AB: > Throw to key `%exception' with args `("#<&invoke-error program: > \"/gnu/store/r1yd6czv3r0is0a1gfsrix3gslkba80v-pcsc-lite-1.9.0/sbin/pcscd\" > arguments: () exit-status: 1 term-signal: #f stop-signal: #f>")'.=20 If I delete the "/run/pcscd" directory, the daemon will be started, although with the first error message from above. I have been using guix for only a week now and don't know how to edit service definitions etc., but maybe someone more competent could have a look at this. Regards, Raffael