Re: Strange gpg-agent processes with Fedora 32

2020-10-27 Thread Roberto Ragusa

On 2020-10-26 10:51, Richard Hughes wrote:

On Fri, 23 Oct 2020 at 14:24, Jonathan Billings  wrote:

I'm running f33beta, bu I have also seen these, they're owned by the
packagekit systemd service (confirm by running 'cat /proc/2512/cgroup'
in your example).


PackageKit doesn't use gpg itself, but it's highly likely libdnf is
doing something with GPG which PK does use.


Unfortunately gpg2 has been turned into a "desktop" tool and there is no sane 
way
to run it in batch jobs. It will spawn a background gpg-agent that will silently
learn, keep and use (!) your passphrase. After struggling a lot with options and
ENV variables the only solution for my use case was "dnf install gnupg1" and
using gpg1.

Maybe PackageKit is triggering things without realizing or being forced to do
strange things to achieve its objectives.

Best regards.

--
   Roberto Ragusamail at robertoragusa.it
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Strange gpg-agent processes with Fedora 32

2020-10-26 Thread Richard Hughes
On Fri, 23 Oct 2020 at 14:24, Jonathan Billings  wrote:
> I'm running f33beta, bu I have also seen these, they're owned by the
> packagekit systemd service (confirm by running 'cat /proc/2512/cgroup'
> in your example).

PackageKit doesn't use gpg itself, but it's highly likely libdnf is
doing something with GPG which PK does use.

Richard.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Strange gpg-agent processes with Fedora 32

2020-10-23 Thread Jonathan Billings
On Fri, Oct 23, 2020 at 11:30:05AM +0200, Michael Schwendt wrote:
>
> Has anyone seen the following before and possibly has found out what
> is going on? 
> 
> Fedora 32 shows a gpg-agent process for each repo but with a
> non-existant ".tmp" homedir. 
> Examples:
> 
> root2512  0.0  0.0 161028   900 ?Ss   11:20   0:00 gpg-agent 
> --homedir /var/cache/PackageKit/32/metadata/fedora-32-x86_64.tmp/gpgdir 
> --use-standard-socket --daemon
> root2527  0.0  0.0 161028   896 ?Ss   11:20   0:00
> gpg-agent --homedir
> /var/cache/PackageKit/32/metadata/updates-32-x86_64.tmp/gpgdir
> --use-standard-socket --daemon

I'm running f33beta, bu I have also seen these, they're owned by the
packagekit systemd service (confirm by running 'cat /proc/2512/cgroup'
in your example).

I disabled and masked the packagekit service since I don't want to use
it.  I don't see them anymore.

I see there was a bugzilla about this a while ago:

https://bugzilla.redhat.com/show_bug.cgi?id=1382335

I wonder if something returned?

-- 
Jonathan Billings 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Strange gpg-agent processes with Fedora 32

2020-10-23 Thread Michael Schwendt
Has anyone seen the following before and possibly has found out what is going 
on?

Fedora 32 shows a gpg-agent process for each repo but with a non-existant 
".tmp" homedir.
Examples:

root2512  0.0  0.0 161028   900 ?Ss   11:20   0:00 gpg-agent 
--homedir /var/cache/PackageKit/32/metadata/fedora-32-x86_64.tmp/gpgdir 
--use-standard-socket --daemon
root2527  0.0  0.0 161028   896 ?Ss   11:20   0:00 gpg-agent 
--homedir /var/cache/PackageKit/32/metadata/updates-32-x86_64.tmp/gpgdir 
--use-standard-socket --daemon
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org