GNU bug report logs - #45202
pcscd service doesn't respond to SIGTERM

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Raffael Stocker <r.stocker@HIDDEN>; dated Sat, 12 Dec 2020 19:24:01 UTC; Maintainer for guix is bug-guix@HIDDEN.
Changed bug title to 'pcscd service doesn't respond to SIGTERM' from 'pcscd service (pcsc-lite) doesn't handle run directory properly' Request was from Tobias Geerinckx-Rice <me@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs@HIDDEN> to internal_control <at> debbugs.gnu.org. Full text available.

Message received at 45202 <at> debbugs.gnu.org:


Received: (at 45202) by debbugs.gnu.org; 13 Dec 2020 11:49:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 13 06:49:31 2020
Received: from localhost ([127.0.0.1]:47575 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1koPsY-00059k-Mr
	for submit <at> debbugs.gnu.org; Sun, 13 Dec 2020 06:49:31 -0500
Received: from tobias.gr ([80.241.217.52]:54218)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <me@HIDDEN>) id 1koPsX-00059P-0I
 for 45202 <at> debbugs.gnu.org; Sun, 13 Dec 2020 06:49:29 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018;
 bh=lVWrL7jAc1yn3Ggwr0rBCwTMjWN36RWpXUD0aon1w00=; h=date:in-reply-to:
 references:subject:cc:to:from; b=DxMmlEYf0W4xbD4ibz+vz81pbePGjn41cu8Zn
 2kGrWV9raerAXZQKgWHuNqGCz+uLgUCn5R9bgMeXfnwhj+n28UmuBj45eCcxqEywXH2Fc/
 v6XoJ5Gjh82Wg0om9Lk4feaylkyKgw912O1gvUMgfaqeGsDhFTyOV2lCFsJSnfvgapxSr3
 E4ceOhba4n73BRsfmClk8d7SJB75QXIN/tICVPzF2bUzKvhpxJ40cB6tTcQcfXcFwUBgDM
 ph8j83/BISA5TTT3cN1S3pyYU2w/2MWXMupQ3m4SnINU35tZ8o4LTboLX2MvzyZJfJMbBa
 w4RIac8rc11Gvksrjq4ss1W7g==
Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id d81c36fa
 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); 
 Sun, 13 Dec 2020 11:49:47 +0000 (UTC)
BIMI-Selector: v=BIMI1; s=default;
From: Tobias Geerinckx-Rice <me@HIDDEN>
To: Raffael Stocker <r.stocker@HIDDEN>
Subject: Re: bug#45202: pcscd service (pcsc-lite) doesn't handle run
 directory properly
References: <87o8izhz9h.fsf@HIDDEN> <87ft4ak6rr.fsf@nckx>
 <87im96o881.fsf@HIDDEN>
In-reply-to: <87im96o881.fsf@HIDDEN>
Date: Sun, 13 Dec 2020 12:49:27 +0100
Message-ID: <87a6uij588.fsf@nckx>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 45202
Cc: bug-guix@HIDDEN, 45202 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

--=-=-=
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Raffael,

Raffael Stocker =E5=86=99=E9=81=93=EF=BC=9A
> However, I now noticed a new one: pcscd doesn't seem to be=20
> killable
> easily (at least not by a TERM signal), so "herd stop pcscd" has
> no effect.  Sending a KILL signal and starting with "herd start=20
> pcscd"
> works without problems, though.

I can reproduce this.  Interestingly(?) it only affects the pcscd=20
started by Shepherd.

Manual $(guix build pcsc-lite)/sbin/pcscd invocations, both with=20
and without --foreground, are eminently killable with TERM alone.

The Shepherd's instance hangs at

  strace: Process 11441 attached
  select(7, [6], NULL, NULL, NULL

with no activity at all when signal 15 is delivered.  I don't know=20
any tricks to attach faster to get more leading context.

Kind regards,

T G-R

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCX9X/xw0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW15VOkBANbRK0WXxwKz9mBueibIv0wW8cMd4xM1qC6oy1iB
JMLhAQCnfBC22wsL4uhzaGlXTx2tnQ//vasY5usm7QyTntcvAw==
=PKsC
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#45202; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 13 Dec 2020 11:49:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 13 06:49:39 2020
Received: from localhost ([127.0.0.1]:47578 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1koPsh-0005Ai-1v
	for submit <at> debbugs.gnu.org; Sun, 13 Dec 2020 06:49:39 -0500
Received: from lists.gnu.org ([209.51.188.17]:46370)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <me@HIDDEN>) id 1koPsc-0005AH-ON
 for submit <at> debbugs.gnu.org; Sun, 13 Dec 2020 06:49:35 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:32906)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <me@HIDDEN>) id 1koPsc-0005uR-44
 for bug-guix@HIDDEN; Sun, 13 Dec 2020 06:49:34 -0500
Received: from tobias.gr ([2a02:c205:2020:6054::1]:36036)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <me@HIDDEN>) id 1koPsa-0002dd-3V
 for bug-guix@HIDDEN; Sun, 13 Dec 2020 06:49:33 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018;
 bh=lVWrL7jAc1yn3Ggwr0rBCwTMjWN36RWpXUD0aon1w00=; h=date:in-reply-to:
 references:subject:cc:to:from; b=DxMmlEYf0W4xbD4ibz+vz81pbePGjn41cu8Zn
 2kGrWV9raerAXZQKgWHuNqGCz+uLgUCn5R9bgMeXfnwhj+n28UmuBj45eCcxqEywXH2Fc/
 v6XoJ5Gjh82Wg0om9Lk4feaylkyKgw912O1gvUMgfaqeGsDhFTyOV2lCFsJSnfvgapxSr3
 E4ceOhba4n73BRsfmClk8d7SJB75QXIN/tICVPzF2bUzKvhpxJ40cB6tTcQcfXcFwUBgDM
 ph8j83/BISA5TTT3cN1S3pyYU2w/2MWXMupQ3m4SnINU35tZ8o4LTboLX2MvzyZJfJMbBa
 w4RIac8rc11Gvksrjq4ss1W7g==
Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id d81c36fa
 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); 
 Sun, 13 Dec 2020 11:49:47 +0000 (UTC)
BIMI-Selector: v=BIMI1; s=default;
From: Tobias Geerinckx-Rice <me@HIDDEN>
To: Raffael Stocker <r.stocker@HIDDEN>
Subject: Re: bug#45202: pcscd service (pcsc-lite) doesn't handle run
 directory properly
References: <87o8izhz9h.fsf@HIDDEN> <87ft4ak6rr.fsf@nckx>
 <87im96o881.fsf@HIDDEN>
In-reply-to: <87im96o881.fsf@HIDDEN>
Date: Sun, 13 Dec 2020 12:49:27 +0100
Message-ID: <87a6uij588.fsf@nckx>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@HIDDEN;
 helo=tobias.gr
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
Cc: bug-guix@HIDDEN, 45202 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

--=-=-=
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Raffael,

Raffael Stocker =E5=86=99=E9=81=93=EF=BC=9A
> However, I now noticed a new one: pcscd doesn't seem to be=20
> killable
> easily (at least not by a TERM signal), so "herd stop pcscd" has
> no effect.  Sending a KILL signal and starting with "herd start=20
> pcscd"
> works without problems, though.

I can reproduce this.  Interestingly(?) it only affects the pcscd=20
started by Shepherd.

Manual $(guix build pcsc-lite)/sbin/pcscd invocations, both with=20
and without --foreground, are eminently killable with TERM alone.

The Shepherd's instance hangs at

  strace: Process 11441 attached
  select(7, [6], NULL, NULL, NULL

with no activity at all when signal 15 is delivered.  I don't know=20
any tricks to attach faster to get more leading context.

Kind regards,

T G-R

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCX9X/xw0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW15VOkBANbRK0WXxwKz9mBueibIv0wW8cMd4xM1qC6oy1iB
JMLhAQCnfBC22wsL4uhzaGlXTx2tnQ//vasY5usm7QyTntcvAw==
=PKsC
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#45202; Package guix. Full text available.

Message received at 45202-done <at> debbugs.gnu.org:


Received: (at 45202-done) by debbugs.gnu.org; 13 Dec 2020 00:33:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 12 19:33:45 2020
Received: from localhost ([127.0.0.1]:47136 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1koFKb-00044U-9r
	for submit <at> debbugs.gnu.org; Sat, 12 Dec 2020 19:33:45 -0500
Received: from mail-out.m-online.net ([212.18.0.9]:40038)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <r.stocker@HIDDEN>) id 1koFKY-00044L-VJ
 for 45202-done <at> debbugs.gnu.org; Sat, 12 Dec 2020 19:33:43 -0500
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 4Ctlr54bH6z1qrfx;
 Sun, 13 Dec 2020 01:33:41 +0100 (CET)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 4Ctlr54DLyz1tF6d;
 Sun, 13 Dec 2020 01:33:41 +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 x9E-UuR-mpCE; Sun, 13 Dec 2020 01:33:40 +0100 (CET)
X-Auth-Info: DR75nZ/63xIfcKdl7YDlYFBf0UTe+0FlZVF5wiupaTaznNEnlnaS3dX5+7JalPIz
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;
 Sun, 13 Dec 2020 01:33:40 +0100 (CET)
References: <87o8izhz9h.fsf@HIDDEN> <87ft4ak6rr.fsf@nckx>
User-agent: mu4e 1.4.13; emacs 27.1
From: Raffael Stocker <r.stocker@HIDDEN>
To: Tobias Geerinckx-Rice <me@HIDDEN>
Subject: Re: bug#45202: pcscd service (pcsc-lite) doesn't handle run
 directory properly
In-reply-to: <87ft4ak6rr.fsf@nckx>
Date: Sun, 13 Dec 2020 01:33:34 +0100
Message-ID: <87im96o881.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 45202-done
Cc: bug-guix@HIDDEN, 45202-done <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)


Tobias Geerinckx-Rice writes:

> Thanks for the report!  I'm closing this bug because I believe to've fixed it
> on master.  Pull it and see.
>
> /var/run has no place on modern GNU/Linux.  We should strive to migrate all
> remaining users to /run, but there's no rush.

Thanks, that seems to solve this problem.

However, I now noticed a new one: pcscd doesn't seem to be killable
easily (at least not by a TERM signal), so "herd stop pcscd" has
no effect.  Sending a KILL signal and starting with "herd start pcscd"
works without problems, though.

Regards,
Raffael





Information forwarded to bug-guix@HIDDEN:
bug#45202; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 13 Dec 2020 00:33:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 12 19:33:48 2020
Received: from localhost ([127.0.0.1]:47139 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1koFKe-00044l-GU
	for submit <at> debbugs.gnu.org; Sat, 12 Dec 2020 19:33:48 -0500
Received: from lists.gnu.org ([209.51.188.17]:58336)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <r.stocker@HIDDEN>) id 1koFKc-00044d-Ci
 for submit <at> debbugs.gnu.org; Sat, 12 Dec 2020 19:33:46 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:39184)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <r.stocker@HIDDEN>)
 id 1koFKc-0002yA-5U
 for bug-guix@HIDDEN; Sat, 12 Dec 2020 19:33:46 -0500
Received: from mail-out.m-online.net ([212.18.0.9]:44996)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <r.stocker@HIDDEN>)
 id 1koFKa-0002RR-4l
 for bug-guix@HIDDEN; Sat, 12 Dec 2020 19:33:45 -0500
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 4Ctlr54bH6z1qrfx;
 Sun, 13 Dec 2020 01:33:41 +0100 (CET)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 4Ctlr54DLyz1tF6d;
 Sun, 13 Dec 2020 01:33:41 +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 x9E-UuR-mpCE; Sun, 13 Dec 2020 01:33:40 +0100 (CET)
X-Auth-Info: DR75nZ/63xIfcKdl7YDlYFBf0UTe+0FlZVF5wiupaTaznNEnlnaS3dX5+7JalPIz
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;
 Sun, 13 Dec 2020 01:33:40 +0100 (CET)
References: <87o8izhz9h.fsf@HIDDEN> <87ft4ak6rr.fsf@nckx>
User-agent: mu4e 1.4.13; emacs 27.1
From: Raffael Stocker <r.stocker@HIDDEN>
To: Tobias Geerinckx-Rice <me@HIDDEN>
Subject: Re: bug#45202: pcscd service (pcsc-lite) doesn't handle run
 directory properly
In-reply-to: <87ft4ak6rr.fsf@nckx>
Date: Sun, 13 Dec 2020 01:33:34 +0100
Message-ID: <87im96o881.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=212.18.0.9; envelope-from=r.stocker@HIDDEN;
 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,
 RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: bug-guix@HIDDEN, 45202-done <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


Tobias Geerinckx-Rice writes:

> Thanks for the report!  I'm closing this bug because I believe to've fixed it
> on master.  Pull it and see.
>
> /var/run has no place on modern GNU/Linux.  We should strive to migrate all
> remaining users to /run, but there's no rush.

Thanks, that seems to solve this problem.

However, I now noticed a new one: pcscd doesn't seem to be killable
easily (at least not by a TERM signal), so "herd stop pcscd" has
no effect.  Sending a KILL signal and starting with "herd start pcscd"
works without problems, though.

Regards,
Raffael





Information forwarded to bug-guix@HIDDEN:
bug#45202; Package guix. Full text available.

Message received at 45202-done <at> debbugs.gnu.org:


Received: (at 45202-done) by debbugs.gnu.org; 12 Dec 2020 22:18:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 12 17:18:38 2020
Received: from localhost ([127.0.0.1]:47026 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1koDDq-0000SF-22
	for submit <at> debbugs.gnu.org; Sat, 12 Dec 2020 17:18:38 -0500
Received: from tobias.gr ([80.241.217.52]:55028)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <me@HIDDEN>) id 1koDDn-0000S5-H9
 for 45202-done <at> debbugs.gnu.org; Sat, 12 Dec 2020 17:18:36 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018;
 bh=7O8k0Wd5jFSzA5QJ8OjcXxyLLCylHAP/LgWQ4xd1K8w=; h=date:in-reply-to:
 references:subject:cc:to:from; b=LGAwwuPafL1G+fzgrJ/o7TMPsXhatxkNX/nYI
 AQHMAZqn0usNedjhHAPX9NXshTn8YUIgU0d6Uu4CoISVisMpyuS64yacQ1iOpNLYqYwx90
 +Bw54F177pucp2OeXN0jVF0FJlhSfyX5PvC5hxWdM4l/UamSKOkEVOIpu7TJ5o8aGu8SPB
 S9kXcYyookpcSwJ2FjIMxKn7lFldinz6V86zDgeoDhPgQAs/w2f9aUvcp0DhZ9ZuZbPi7Q
 Wu2aF5CngVMJ9zYjSUjvv+ggNk0I2rMH3ReeXNEoEKF3L3QNoSwm+8ClngVUXUml8RMZ/8
 Wjy2PKZbrSY6+HGGjASmQJvaw==
Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 9619f7e5
 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); 
 Sat, 12 Dec 2020 22:18:52 +0000 (UTC)
BIMI-Selector: v=BIMI1; s=default;
From: Tobias Geerinckx-Rice <me@HIDDEN>
To: Raffael Stocker <r.stocker@HIDDEN>
Subject: Re: bug#45202: pcscd service (pcsc-lite) doesn't handle run
 directory properly
References: <87o8izhz9h.fsf@HIDDEN>
In-reply-to: <87o8izhz9h.fsf@HIDDEN>
Date: Sat, 12 Dec 2020 23:18:32 +0100
Message-ID: <87ft4ak6rr.fsf@nckx>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 45202-done
Cc: bug-guix@HIDDEN, 45202-done <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

--=-=-=
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Raffael,

Raffael Stocker =E5=86=99=E9=81=93=EF=BC=9A
> The reason seems to be that pcsc-lite creates its pid file in
> "/run/pcscd/", but herd expects it in "/var/run/pcscd/".

Thanks for the report!  I'm closing this bug because I believe=20
to've fixed it on master.  Pull it and see.

/var/run has no place on modern GNU/Linux.  We should strive to=20
migrate all remaining users to /run, but there's no rush.

Kind regards,

T G-R

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCX9VBuA0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW15tOMBAIPfrMtqGSHG9aZRTd9dzU4QkMLppa3PgPYSLrk4
PuHDAQCqR/SzDAsUvvureV43khKv2xDiv5Wr1zq3noHBHwC/BA==
=4zvL
-----END PGP SIGNATURE-----
--=-=-=--




Notification sent to Raffael Stocker <r.stocker@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Tobias Geerinckx-Rice <me@HIDDEN>:
You have taken responsibility. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 12 Dec 2020 22:18:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 12 17:18:42 2020
Received: from localhost ([127.0.0.1]:47030 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1koDDu-0000SX-93
	for submit <at> debbugs.gnu.org; Sat, 12 Dec 2020 17:18:42 -0500
Received: from lists.gnu.org ([209.51.188.17]:59622)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <me@HIDDEN>) id 1koDDs-0000SP-6h
 for submit <at> debbugs.gnu.org; Sat, 12 Dec 2020 17:18:40 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:46756)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <me@HIDDEN>) id 1koDDs-0003ST-1W
 for bug-guix@HIDDEN; Sat, 12 Dec 2020 17:18:40 -0500
Received: from tobias.gr ([2a02:c205:2020:6054::1]:36842)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <me@HIDDEN>) id 1koDDp-000890-Vd
 for bug-guix@HIDDEN; Sat, 12 Dec 2020 17:18:39 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018;
 bh=7O8k0Wd5jFSzA5QJ8OjcXxyLLCylHAP/LgWQ4xd1K8w=; h=date:in-reply-to:
 references:subject:cc:to:from; b=LGAwwuPafL1G+fzgrJ/o7TMPsXhatxkNX/nYI
 AQHMAZqn0usNedjhHAPX9NXshTn8YUIgU0d6Uu4CoISVisMpyuS64yacQ1iOpNLYqYwx90
 +Bw54F177pucp2OeXN0jVF0FJlhSfyX5PvC5hxWdM4l/UamSKOkEVOIpu7TJ5o8aGu8SPB
 S9kXcYyookpcSwJ2FjIMxKn7lFldinz6V86zDgeoDhPgQAs/w2f9aUvcp0DhZ9ZuZbPi7Q
 Wu2aF5CngVMJ9zYjSUjvv+ggNk0I2rMH3ReeXNEoEKF3L3QNoSwm+8ClngVUXUml8RMZ/8
 Wjy2PKZbrSY6+HGGjASmQJvaw==
Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 9619f7e5
 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); 
 Sat, 12 Dec 2020 22:18:52 +0000 (UTC)
BIMI-Selector: v=BIMI1; s=default;
From: Tobias Geerinckx-Rice <me@HIDDEN>
To: Raffael Stocker <r.stocker@HIDDEN>
Subject: Re: bug#45202: pcscd service (pcsc-lite) doesn't handle run
 directory properly
References: <87o8izhz9h.fsf@HIDDEN>
In-reply-to: <87o8izhz9h.fsf@HIDDEN>
Date: Sat, 12 Dec 2020 23:18:32 +0100
Message-ID: <87ft4ak6rr.fsf@nckx>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@HIDDEN;
 helo=tobias.gr
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
Cc: bug-guix@HIDDEN, 45202-done <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

--=-=-=
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Raffael,

Raffael Stocker =E5=86=99=E9=81=93=EF=BC=9A
> The reason seems to be that pcsc-lite creates its pid file in
> "/run/pcscd/", but herd expects it in "/var/run/pcscd/".

Thanks for the report!  I'm closing this bug because I believe=20
to've fixed it on master.  Pull it and see.

/var/run has no place on modern GNU/Linux.  We should strive to=20
migrate all remaining users to /run, but there's no rush.

Kind regards,

T G-R

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCX9VBuA0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW15tOMBAIPfrMtqGSHG9aZRTd9dzU4QkMLppa3PgPYSLrk4
PuHDAQCqR/SzDAsUvvureV43khKv2xDiv5Wr1zq3noHBHwC/BA==
=4zvL
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#45202; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 12 Dec 2020 19:23:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 12 14:23:12 2020
Received: from localhost ([127.0.0.1]:46586 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1koAU4-000430-DV
	for submit <at> 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 <r.stocker@HIDDEN>) id 1koAU3-00042t-H0
 for submit <at> 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 <r.stocker@HIDDEN>)
 id 1koAU3-0001Ap-AI
 for bug-guix@HIDDEN; 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 <r.stocker@HIDDEN>)
 id 1koAU0-0000YL-4d
 for bug-guix@HIDDEN; 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 <bug-guix@HIDDEN>; 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 <bug-guix@HIDDEN>; 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 <bug-guix@HIDDEN>;
 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 <bug-guix@HIDDEN>; Sat, 12 Dec 2020 15:31:23 +0100 (CET)
User-agent: mu4e 1.4.13; emacs 27.1
From: Raffael Stocker <r.stocker@HIDDEN>
To: bug-guix@HIDDEN
Subject: pcscd service (pcsc-lite) doesn't handle run directory properly
Date: Sat, 12 Dec 2020 15:31:22 +0100
Message-ID: <87o8izhz9h.fsf@HIDDEN>
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@HIDDEN; 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-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

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




Acknowledgement sent to Raffael Stocker <r.stocker@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#45202; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 13 Dec 2020 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.