You are not logged in.
Pages: 1
Hi,
Whenever I log into my system (tty, ssh, etc) I receive a warning message similar to:
gpg-agent: WARNING "--write-env-file" is an obsolete option - it has no effectI know it's nothing critical, but I'd like to resolve the warning.
I immediately assume that this is a bad setting I have created in a file like .profile because of the time of it's appearance. But I've reviewed my .bashrc, .profile, .bash_profile, .xinitrc (I use startx) files and haven't found this argument. I tried the gpg-agent.conf file, but it also doesn't mention the given flag. I don't have a gpg-agent.service systemd file anywhere, so I both don't know where gpg-agent is being started from, or where this flag is set.
Where else should I look?
Last edited by CTAG (2016-02-01 06:31:34)
Offline
Does it happen only once when you login or for every new shell instance you launch?
Offline
Does it happen only once when you login or for every new shell instance you launch?
Only for every new login. I checked the .bashrc file because I recalled setting GNUPGHOME environment variable there at one point.
Offline
I am guessing you start keychain in your shell profile?
Offline
I am guessing you start keychain in your shell profile?
Well, I didn't actually know where the daemon was starting, which was another reason for sorting this warning out.
I gave a last stab at it since replying here with "I don't know where my gpg-agent is starting" seemed silly. Turns out I've been starting the agent from /etc/profile.d, and totally forgot setting that up. I found the line containing --write-env-file and modified it. All is well.
Thanks!
Offline
Pages: 1