You are not logged in.

#1 2013-02-26 07:46:42

STUART
Member
From: Seattle, WA
Registered: 2010-08-19
Posts: 52
Website

gpg-agent keeps starting scdaemon, crushing everything in its path

I keep waking up to find that the OOM killer (presumably) has killed my desktop session and, once I log back in, that scdaemon is running, taking somewhere around half a gigabyte of RAM with it.

I did a pstree and saw that this is being started by an instance of gpg-agent (and also spied one process terminating and being replaced by another, bigger process as I was doing it).

Rebooting doesn't fix it, it keeps popping up. I don't have any smartcard hardware on this machine, so scdaemon should never start.

What is going on?

Offline

#2 2013-03-08 00:17:20

STUART
Member
From: Seattle, WA
Registered: 2010-08-19
Posts: 52
Website

Re: gpg-agent keeps starting scdaemon, crushing everything in its path

Anybody? This is getting really frustrating.

Offline

#3 2013-03-08 02:05:21

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: gpg-agent keeps starting scdaemon, crushing everything in its path

I get the same process started but it isn't going crazy in my case. I don't see any obvious way to disable it in gpg's config file but it definitely is not essential since libusb-compat is required to use it and that's an optional dependency.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#4 2013-03-17 18:51:02

jesusangelm
Member
Registered: 2012-04-30
Posts: 29
Website

Re: gpg-agent keeps starting scdaemon, crushing everything in its path

i have same problems here when I connect to a remote computer using ssh or mosh, I get these lines of logs:


mar 17 14:12:33 JamPC systemd[1]: Received SIGCHLD from PID 2982 (gnupg-pcsc-wrap).
mar 17 14:12:33 JamPC systemd[1]: Got SIGCHLD for process 2982 (gnupg-pcsc-wrap)
mar 17 14:12:33 JamPC systemd[1]: Child 2982 died (code=exited, status=1/FAILURE)
mar 17 14:12:34 JamPC systemd[1]: Received SIGCHLD from PID 2984 (gnupg-pcsc-wrap).
mar 17 14:12:34 JamPC systemd[1]: Got SIGCHLD for process 2984 (gnupg-pcsc-wrap)
mar 17 14:12:34 JamPC systemd[1]: Child 2984 died (code=exited, status=1/FAILURE)
mar 17 14:12:34 JamPC systemd[1]: Received SIGCHLD from PID 2976 (perl).
mar 17 14:12:34 JamPC systemd[1]: Got SIGCHLD for process 2976 (perl)
mar 17 14:12:34 JamPC systemd[1]: Child 2976 died (code=exited, status=0/SUCCESS)
mar 17 14:12:35 JamPC systemd[1]: Received SIGCHLD from PID 2986 (gnupg-pcsc-wrap).
mar 17 14:12:35 JamPC systemd[1]: Got SIGCHLD for process 2986 (gnupg-pcsc-wrap)
mar 17 14:12:35 JamPC systemd[1]: Child 2986 died (code=exited, status=1/FAILURE)
mar 17 14:12:36 JamPC systemd[1]: Received SIGCHLD from PID 2988 (gnupg-pcsc-wrap).
mar 17 14:12:36 JamPC systemd[1]: Got SIGCHLD for process 2988 (gnupg-pcsc-wrap)
mar 17 14:12:36 JamPC systemd[1]: Child 2988 died (code=exited, status=1/FAILURE)
mar 17 14:12:36 JamPC systemd[1]: Received SIGCHLD from PID 2990 (gnupg-pcsc-wrap).
mar 17 14:12:36 JamPC systemd[1]: Got SIGCHLD for process 2990 (gnupg-pcsc-wrap)
mar 17 14:12:36 JamPC systemd[1]: Child 2990 died (code=exited, status=1/FAILURE)
mar 17 14:12:37 JamPC systemd[1]: Received SIGCHLD from PID 2992 (gnupg-pcsc-wrap).
mar 17 14:12:37 JamPC systemd[1]: Got SIGCHLD for process 2992 (gnupg-pcsc-wrap)
mar 17 14:12:37 JamPC systemd[1]: Child 2992 died (code=exited, status=1/FAILURE)
mar 17 14:12:38 JamPC systemd[1]: Received SIGCHLD from PID 2994 (gnupg-pcsc-wrap).
mar 17 14:12:38 JamPC systemd[1]: Got SIGCHLD for process 2994 (gnupg-pcsc-wrap)
mar 17 14:12:38 JamPC systemd[1]: Child 2994 died (code=exited, status=1/FAILURE)
mar 17 14:12:39 JamPC systemd[1]: Received SIGCHLD from PID 2996 (gnupg-pcsc-wrap).
mar 17 14:12:39 JamPC systemd[1]: Got SIGCHLD for process 2996 (gnupg-pcsc-wrap)
mar 17 14:12:39 JamPC systemd[1]: Child 2996 died (code=exited, status=1/FAILURE)
mar 17 14:12:39 JamPC systemd[1]: Received SIGCHLD from PID 2998 (gnupg-pcsc-wrap).
mar 17 14:12:39 JamPC systemd[1]: Got SIGCHLD for process 2998 (gnupg-pcsc-wrap)
mar 17 14:12:39 JamPC systemd[1]: Child 2998 died (code=exited, status=1/FAILURE)
mar 17 14:12:40 JamPC systemd[1]: Received SIGCHLD from PID 3000 (gnupg-pcsc-wrap).
mar 17 14:12:40 JamPC systemd[1]: Got SIGCHLD for process 3000 (gnupg-pcsc-wrap)
mar 17 14:12:40 JamPC systemd[1]: Child 3000 died (code=exited, status=1/FAILURE)
mar 17 14:12:41 JamPC systemd[1]: Received SIGCHLD from PID 3002 (gnupg-pcsc-wrap).
mar 17 14:12:41 JamPC systemd[1]: Got SIGCHLD for process 3002 (gnupg-pcsc-wrap)
mar 17 14:12:41 JamPC systemd[1]: Child 3002 died (code=exited, status=1/FAILURE)
mar 17 14:12:42 JamPC systemd[1]: Received SIGCHLD from PID 3004 (gnupg-pcsc-wrap).
mar 17 14:12:42 JamPC systemd[1]: Got SIGCHLD for process 3004 (gnupg-pcsc-wrap)
mar 17 14:12:42 JamPC systemd[1]: Child 3004 died (code=exited, status=1/FAILURE)
mar 17 14:12:42 JamPC systemd[1]: Received SIGCHLD from PID 3006 (gnupg-pcsc-wrap).
mar 17 14:12:42 JamPC systemd[1]: Got SIGCHLD for process 3006 (gnupg-pcsc-wrap)
mar 17 14:12:42 JamPC systemd[1]: Child 3006 died (code=exited, status=1/FAILURE)
mar 17 14:12:43 JamPC systemd[1]: Received SIGCHLD from PID 3008 (gnupg-pcsc-wrap).
mar 17 14:12:43 JamPC systemd[1]: Got SIGCHLD for process 3008 (gnupg-pcsc-wrap)
mar 17 14:12:43 JamPC systemd[1]: Child 3008 died (code=exited, status=1/FAILURE)
mar 17 14:12:44 JamPC systemd[1]: Received SIGCHLD from PID 3010 (gnupg-pcsc-wrap).
mar 17 14:12:44 JamPC systemd[1]: Got SIGCHLD for process 3010 (gnupg-pcsc-wrap)
mar 17 14:12:44 JamPC systemd[1]: Child 3010 died (code=exited, status=1/FAILURE)
mar 17 14:12:45 JamPC systemd[1]: Received SIGCHLD from PID 3012 (gnupg-pcsc-wrap).
mar 17 14:12:45 JamPC systemd[1]: Got SIGCHLD for process 3012 (gnupg-pcsc-wrap)
mar 17 14:12:45 JamPC systemd[1]: Child 3012 died (code=exited, status=1/FAILURE)
mar 17 14:12:45 JamPC systemd[1]: Received SIGCHLD from PID 3014 (gnupg-pcsc-wrap).
mar 17 14:12:45 JamPC systemd[1]: Got SIGCHLD for process 3014 (gnupg-pcsc-wrap)
mar 17 14:12:45 JamPC systemd[1]: Child 3014 died (code=exited, status=1/FAILURE)
mar 17 14:12:46 JamPC systemd[1]: Received SIGCHLD from PID 3016 (gnupg-pcsc-wrap).
mar 17 14:12:46 JamPC systemd[1]: Got SIGCHLD for process 3016 (gnupg-pcsc-wrap)
mar 17 14:12:46 JamPC systemd[1]: Child 3016 died (code=exited, status=1/FAILURE)
mar 17 14:12:47 JamPC systemd[1]: Received SIGCHLD from PID 3018 (gnupg-pcsc-wrap).
mar 17 14:12:47 JamPC systemd[1]: Got SIGCHLD for process 3018 (gnupg-pcsc-wrap)
mar 17 14:12:47 JamPC systemd[1]: Child 3018 died (code=exited, status=1/FAILURE)
mar 17 14:12:48 JamPC systemd[1]: Received SIGCHLD from PID 3020 (gnupg-pcsc-wrap).
mar 17 14:12:48 JamPC systemd[1]: Got SIGCHLD for process 3020 (gnupg-pcsc-wrap)
mar 17 14:12:48 JamPC systemd[1]: Child 3020 died (code=exited, status=1/FAILURE)
mar 17 14:12:48 JamPC systemd[1]: Received SIGCHLD from PID 3022 (gnupg-pcsc-wrap).
mar 17 14:12:48 JamPC systemd[1]: Got SIGCHLD for process 3022 (gnupg-pcsc-wrap)
mar 17 14:12:48 JamPC systemd[1]: Child 3022 died (code=exited, status=1/FAILURE)
mar 17 14:12:49 JamPC systemd[1]: Received SIGCHLD from PID 3024 (gnupg-pcsc-wrap).
mar 17 14:12:49 JamPC systemd[1]: Got SIGCHLD for process 3024 (gnupg-pcsc-wrap)
mar 17 14:12:49 JamPC systemd[1]: Child 3024 died (code=exited, status=1/FAILURE)
mar 17 14:12:50 JamPC systemd[1]: Received SIGCHLD from PID 3026 (gnupg-pcsc-wrap).
mar 17 14:12:50 JamPC systemd[1]: Got SIGCHLD for process 3026 (gnupg-pcsc-wrap)
mar 17 14:12:50 JamPC systemd[1]: Child 3026 died (code=exited, status=1/FAILURE)
mar 17 14:12:51 JamPC systemd[1]: Received SIGCHLD from PID 3028 (gnupg-pcsc-wrap).
mar 17 14:12:51 JamPC systemd[1]: Got SIGCHLD for process 3028 (gnupg-pcsc-wrap)
mar 17 14:12:51 JamPC systemd[1]: Child 3028 died (code=exited, status=1/FAILURE)
mar 17 14:12:51 JamPC systemd[1]: Received SIGCHLD from PID 3030 (gnupg-pcsc-wrap).
mar 17 14:12:51 JamPC systemd[1]: Got SIGCHLD for process 3030 (gnupg-pcsc-wrap)
mar 17 14:12:51 JamPC systemd[1]: Child 3030 died (code=exited, status=1/FAILURE)
mar 17 14:12:52 JamPC systemd[1]: Received SIGCHLD from PID 3037 (gnupg-pcsc-wrap).
mar 17 14:12:52 JamPC systemd[1]: Got SIGCHLD for process 3037 (gnupg-pcsc-wrap)
mar 17 14:12:52 JamPC systemd[1]: Child 3037 died (code=exited, status=1/FAILURE)
mar 17 14:12:53 JamPC systemd[1]: Received SIGCHLD from PID 3039 (gnupg-pcsc-wrap).
mar 17 14:12:53 JamPC systemd[1]: Got SIGCHLD for process 3039 (gnupg-pcsc-wrap)
mar 17 14:12:53 JamPC systemd[1]: Child 3039 died (code=exited, status=1/FAILURE)
mar 17 14:12:54 JamPC systemd[1]: Received SIGCHLD from PID 3041 (gnupg-pcsc-wrap).
mar 17 14:12:54 JamPC systemd[1]: Got SIGCHLD for process 3041 (gnupg-pcsc-wrap)
mar 17 14:12:54 JamPC systemd[1]: Child 3041 died (code=exited, status=1/FAILURE)
mar 17 14:12:54 JamPC systemd[1]: Received SIGCHLD from PID 3043 (gnupg-pcsc-wrap).
mar 17 14:12:54 JamPC systemd[1]: Got SIGCHLD for process 3043 (gnupg-pcsc-wrap)
mar 17 14:12:54 JamPC systemd[1]: Child 3043 died (code=exited, status=1/FAILURE)
mar 17 14:12:55 JamPC systemd[1]: Received SIGCHLD from PID 3045 (gnupg-pcsc-wrap).
mar 17 14:12:55 JamPC systemd[1]: Got SIGCHLD for process 3045 (gnupg-pcsc-wrap)
mar 17 14:12:55 JamPC systemd[1]: Child 3045 died (code=exited, status=1/FAILURE)
mar 17 14:12:56 JamPC systemd[1]: Received SIGCHLD from PID 3047 (gnupg-pcsc-wrap).
mar 17 14:12:56 JamPC systemd[1]: Got SIGCHLD for process 3047 (gnupg-pcsc-wrap)
mar 17 14:12:56 JamPC systemd[1]: Child 3047 died (code=exited, status=1/FAILURE)
mar 17 14:12:57 JamPC systemd[1]: Received SIGCHLD from PID 3049 (gnupg-pcsc-wrap).
mar 17 14:12:57 JamPC systemd[1]: Got SIGCHLD for process 3049 (gnupg-pcsc-wrap)
mar 17 14:12:57 JamPC systemd[1]: Child 3049 died (code=exited, status=1/FAILURE)
mar 17 14:12:57 JamPC systemd[1]: Received SIGCHLD from PID 3051 (gnupg-pcsc-wrap).
mar 17 14:12:57 JamPC systemd[1]: Got SIGCHLD for process 3051 (gnupg-pcsc-wrap)
mar 17 14:12:57 JamPC systemd[1]: Child 3051 died (code=exited, status=1/FAILURE)
mar 17 14:12:58 JamPC systemd[1]: Received SIGCHLD from PID 3053 (gnupg-pcsc-wrap).
mar 17 14:12:58 JamPC systemd[1]: Got SIGCHLD for process 3053 (gnupg-pcsc-wrap)
mar 17 14:12:58 JamPC systemd[1]: Child 3053 died (code=exited, status=1/FAILURE)
mar 17 14:12:59 JamPC systemd[1]: Received SIGCHLD from PID 3055 (gnupg-pcsc-wrap).
mar 17 14:12:59 JamPC systemd[1]: Got SIGCHLD for process 3055 (gnupg-pcsc-wrap)
mar 17 14:12:59 JamPC systemd[1]: Child 3055 died (code=exited, status=1/FAILURE)
mar 17 14:13:00 JamPC systemd[1]: Received SIGCHLD from PID 3057 (gnupg-pcsc-wrap).
mar 17 14:13:00 JamPC systemd[1]: Got SIGCHLD for process 3057 (gnupg-pcsc-wrap)
mar 17 14:13:00 JamPC systemd[1]: Child 3057 died (code=exited, status=1/FAILURE)
mar 17 14:13:00 JamPC systemd[1]: Received SIGCHLD from PID 3059 (gnupg-pcsc-wrap).
mar 17 14:13:00 JamPC systemd[1]: Got SIGCHLD for process 3059 (gnupg-pcsc-wrap)
mar 17 14:13:00 JamPC systemd[1]: Child 3059 died (code=exited, status=1/FAILURE)
mar 17 14:13:01 JamPC systemd[1]: Received SIGCHLD from PID 3061 (gnupg-pcsc-wrap).
mar 17 14:13:01 JamPC systemd[1]: Got SIGCHLD for process 3061 (gnupg-pcsc-wrap)
mar 17 14:13:01 JamPC systemd[1]: Child 3061 died (code=exited, status=1/FAILURE)
mar 17 14:13:02 JamPC systemd[1]: Received SIGCHLD from PID 3063 (gnupg-pcsc-wrap).
mar 17 14:13:02 JamPC systemd[1]: Got SIGCHLD for process 3063 (gnupg-pcsc-wrap)
mar 17 14:13:02 JamPC systemd[1]: Child 3063 died (code=exited, status=1/FAILURE)
mar 17 14:13:03 JamPC systemd[1]: Received SIGCHLD from PID 3065 (gnupg-pcsc-wrap).
mar 17 14:13:03 JamPC systemd[1]: Got SIGCHLD for process 3065 (gnupg-pcsc-wrap)
mar 17 14:13:03 JamPC systemd[1]: Child 3065 died (code=exited, status=1/FAILURE)
mar 17 14:13:03 JamPC systemd[1]: Received SIGCHLD from PID 3067 (gnupg-pcsc-wrap).
mar 17 14:13:03 JamPC systemd[1]: Got SIGCHLD for process 3067 (gnupg-pcsc-wrap)
mar 17 14:13:03 JamPC systemd[1]: Child 3067 died (code=exited, status=1/FAILURE)
mar 17 14:13:04 JamPC systemd[1]: Received SIGCHLD from PID 3069 (gnupg-pcsc-wrap).
mar 17 14:13:04 JamPC systemd[1]: Got SIGCHLD for process 3069 (gnupg-pcsc-wrap)
mar 17 14:13:04 JamPC systemd[1]: Child 3069 died (code=exited, status=1/FAILURE)
mar 17 14:13:05 JamPC systemd[1]: Received SIGCHLD from PID 3071 (gnupg-pcsc-wrap).
mar 17 14:13:05 JamPC systemd[1]: Got SIGCHLD for process 3071 (gnupg-pcsc-wrap)
mar 17 14:13:05 JamPC systemd[1]: Child 3071 died (code=exited, status=1/FAILURE)
mar 17 14:13:06 JamPC systemd[1]: Received SIGCHLD from PID 3073 (gnupg-pcsc-wrap).
mar 17 14:13:06 JamPC systemd[1]: Got SIGCHLD for process 3073 (gnupg-pcsc-wrap)
mar 17 14:13:06 JamPC systemd[1]: Child 3073 died (code=exited, status=1/FAILURE)
mar 17 14:13:06 JamPC systemd[1]: Received SIGCHLD from PID 3075 (gnupg-pcsc-wrap).
mar 17 14:13:06 JamPC systemd[1]: Got SIGCHLD for process 3075 (gnupg-pcsc-wrap)
mar 17 14:13:06 JamPC systemd[1]: Child 3075 died (code=exited, status=1/FAILURE)
mar 17 14:13:07 JamPC systemd[1]: Received SIGCHLD from PID 3077 (gnupg-pcsc-wrap).
mar 17 14:13:07 JamPC systemd[1]: Got SIGCHLD for process 3077 (gnupg-pcsc-wrap)
mar 17 14:13:07 JamPC systemd[1]: Child 3077 died (code=exited, status=1/FAILURE)
mar 17 14:13:08 JamPC systemd[1]: Received SIGCHLD from PID 3079 (gnupg-pcsc-wrap).
mar 17 14:13:08 JamPC systemd[1]: Got SIGCHLD for process 3079 (gnupg-pcsc-wrap)
mar 17 14:13:08 JamPC systemd[1]: Child 3079 died (code=exited, status=1/FAILURE)
mar 17 14:13:09 JamPC systemd[1]: Received SIGCHLD from PID 3081 (gnupg-pcsc-wrap).
mar 17 14:13:09 JamPC systemd[1]: Got SIGCHLD for process 3081 (gnupg-pcsc-wrap)
mar 17 14:13:09 JamPC systemd[1]: Child 3081 died (code=exited, status=1/FAILURE)
mar 17 14:13:09 JamPC systemd[1]: Received SIGCHLD from PID 3083 (gnupg-pcsc-wrap).
mar 17 14:13:09 JamPC systemd[1]: Got SIGCHLD for process 3083 (gnupg-pcsc-wrap)

and never stops!!!  /o\  unless I do kill -9 PID of scdaemon

Offline

#5 2013-03-18 03:07:40

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: gpg-agent keeps starting scdaemon, crushing everything in its path

What is gnupg-pcsc-wrap? I don't find that on my system. (I do have a gnupg-pcsc-wrapper but that doesn't appear in my journal files.)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB