dirmngr은 python-apt에서 사용되며 gnupg 및 gpgsm에서 권장됩니다. 맨페이지에서 공유 dirmngr을 끄려고 시도했지만 다음을 얻었습니다.
└─[$] dirmngr -vv --shutdown
dirmngr[9494]: error opening '/home/shirish/.gnupg/dirmngr_ldapservers.conf': No such file or directory
누군가 그것을 끄는 방법을 공유할 수 있습니까? 다른 트릭을 시도했지만 --debug-level
끌 수 없습니다. dirmngr을 끄는 방법은 무엇입니까?
갱신 -
[$] dpkg -l dirmngr
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============================-====================-====================-=================================================================
ii dirmngr 2.1.17-3 amd64 GNU privacy guard - network certificate management service
오류에도 불구하고 완벽하게 설치되었다고 생각했습니다.
[$] systemctl --user status dirmngr
● dirmngr.service - GnuPG network certificate management daemon
Loaded: loaded (/usr/lib/systemd/user/dirmngr.service; static; vendor preset: enabled)
Active: active (running) since Sun 2017-01-08 14:46:21 IST; 5h 47min ago
Docs: man:dirmngr(8)
Main PID: 1203 (dirmngr)
CGroup: /user.slice/user-1000.slice/[email protected]/dirmngr.service
└─1203 /usr/bin/dirmngr --supervised
Jan 08 14:46:40 debian dirmngr[1203]: DBG: chan_5 <- KEYSERVER --clear hkp://pgp.mit.edu
Jan 08 14:46:40 debian dirmngr[1203]: DBG: chan_5 -> OK
Jan 08 14:46:40 debian dirmngr[1203]: DBG: chan_5 <- KS_GET -- 0xDAD95197
Jan 08 14:46:40 debian dirmngr[1203]: DBG: dns: libdns initialized
Jan 08 14:46:50 debian dirmngr[1203]: DBG: dns: getsrv(_hkp._tcp.pgp.mit.edu): Server indicated a failure
Jan 08 14:46:50 debian dirmngr[1203]: command 'KS_GET' failed: Server indicated a failure <Unspecified source>
Jan 08 14:46:50 debian dirmngr[1203]: DBG: chan_5 -> ERR 219 Server indicated a failure <Unspecified source>
Jan 08 14:46:50 debian dirmngr[1203]: DBG: chan_5 <- BYE
Jan 08 14:46:50 debian dirmngr[1203]: DBG: chan_5 -> OK closing connection
Jan 08 14:46:50 debian dirmngr[1203]: handler for fd 5 terminate
답변1
현재 버전의 GnuPG에서는 다음 dirmngr
을 사용하여 종료 할 수 있습니다 gpgconf
.
gpgconf --kill dirmngr
답변2
systemctl --user stop dirmngr.socket
systemctl --user restart dirmngr.socket