[Bug 1633754] Re: dirmngr is used as daemon

2018-09-17 Thread Julian Andres Klode
What I want to do is provide stable versioned CLI APIs that you can specify in scripts in an environment variable. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1633754 Title: dirmngr is used as

[Bug 1633754] Re: dirmngr is used as daemon

2018-09-17 Thread Laurent Declercq
@Julian So, if I understand well, you want remove the APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE environment variable but keep the warning when APT-KEY detect that its output is captured? That would be tedious for us.. We do not want such a warn in our case. We capture STDOUT for the purpose of

[Bug 1633754] Re: dirmngr is used as daemon

2018-09-17 Thread Julian Andres Klode
There's no way to distinguish between output being parsed and not, so that's the safest thing to do. Without it, scripts will parse it, regardless of what the manpage says; and they will break, and everyone will be unhappy. -- You received this bug notification because you are a member of Ubuntu

[Bug 1633754] Re: dirmngr is used as daemon

2018-09-17 Thread Laurent Declercq
@Julian Thank for your advise. So basically, putting keys into the trusted.gpg.d directory should be sufficient to make APT happy? I never tried that way, even worse (shame on me), I was not aware of that possibility... Regarding the environment variable, I really don't understand why we are

[Bug 1633754] Re: dirmngr is used as daemon

2018-07-12 Thread Julian Andres Klode
@Laurent you simply should not be using apt-key and key servers and key ids. You should use keyfiles that you drop in trusted.gpg.d. I think we should kill APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE. Anyhow, apt-key now tells dirmngr to exit in bionic and newer, bug 1773992. -- You received this bug

[Bug 1633754] Re: dirmngr is used as daemon

2018-07-12 Thread Laurent Declercq
We get identical problem in our software installer. It seem that dirmngr processes never goes away. We workaround the issue by terminating the process manually: {code} =item addRepositories( @repositories ) See iMSCP::DistPackageManager::Interface::addRepositories() Param list @repositories

[Bug 1633754] Re: dirmngr is used as daemon

2016-11-03 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gnupg2 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1633754 Title:

[Bug 1633754] Re: dirmngr is used as daemon

2016-10-15 Thread Julian Andres Klode
This is a gnupg issue. During should notice that we took its home away and shut itself down like the fog agent does. ** Changed in: apt (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1633754] Re: dirmngr is used as daemon

2016-10-15 Thread Dimitri John Ledkov
there are no commands in apt-key that use dirmngr, however user passed adv commands can trigger this. One option is for apt-key to proactively kill any outstanding daemons in the temp-keyrings, before exiting. ** Also affects: apt (Ubuntu) Importance: Undecided Status: New -- You