Xfce xinitrc script runs gpg-agent when it is installed (security/gnupg), but when the user uses csh as shell gpg-agent returns csh commands which of course cannot be executed from an sh script like xinitrc. The attached patch passes --sh to gpg-agent so it always returns sh commands. Fix: Patch to put in sysutils/xfce4-utils/files. How-To-Repeat: Install security/gnupg and run startxfce4. You'll see errors about setenv at startup and about kill at shutdown.
Responsible Changed From-To: freebsd-ports-bugs->freebsd-xfce Over to maintainer (via the GNATS Auto Assign Tool)
I cannot find entries containing gpg, gnupg, or setenv in /var/log/messages* (or maybe they got expunged). According to gpg-agent(1), --sh forces the use of sh to format the output instead of using the value of $SHELL, is this what you intend?
On 07-05-2012 22:49, Rene Ladan wrote: > I cannot find entries containing gpg, gnupg, or setenv in > /var/log/messages* (or maybe they got expunged). According to > gpg-agent(1), --sh forces the use of sh to format the output instead of > using the value of $SHELL, is this what you intend? Yes, it's similar to the --sh-syntax flag of dbus-launch and the -s flag of ssh-agent, both of which the script already uses. FYI, I reported the problem upstream and they said 4.10 should be ok because it no longer uses a shell script: https://bugzilla.xfce.org/show_bug.cgi?id=8718
Responsible Changed From-To: freebsd-xfce->rene Grab
State Changed From-To: open->closed Committed, thanks