After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 171399 - gnome-keyring-daemon should be installed to libexec
gnome-keyring-daemon should be installed to libexec
Status: RESOLVED WONTFIX
Product: gnome-keyring
Classification: Core
Component: general
git master
Other opensolaris
: Normal normal
: ---
Assigned To: GNOME keyring maintainer(s)
GNOME keyring maintainer(s)
: 149815 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-03-23 19:33 UTC by Brian Cameron
Modified: 2009-03-01 23:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gnome-keyring goes to libexec (549 bytes, patch)
2005-08-23 09:43 UTC, Glynn Foster
none Details | Review

Description Brian Cameron 2005-03-23 19:33:21 UTC
gnome-keyring-daemon is a daemon not intended to be run by the user, so it
should be installed to libexec and not to bin.
Comment 1 James Bowes 2005-04-24 20:59:19 UTC
*** Bug 149815 has been marked as a duplicate of this bug. ***
Comment 2 Glynn Foster 2005-08-23 09:43:50 UTC
Created attachment 51175 [details] [review]
gnome-keyring goes to libexec

No changes to gnome-session should be necessary - this should probably be
tested though.
Comment 3 Alexander Larsson 2005-10-26 08:08:51 UTC
Why do you think no changes to gnome-session are needed? Gnome-session tries to
find gnome-keyring-daemon in the path at build-time. At the very least you have
to rebuild gnome-session (making the patched gnome-keyring incompatible with
current gnome-session packages), but even then its unlikely to find
gnome-keyring since libexec isn't in the path.

Did you try this?
Comment 4 Brian Cameron 2005-10-28 19:23:17 UTC
Oh sorry, yes obviously it will be necessary to also patch programs that launch
gnome-keyring so it knows to look it libexec.  However that should be a trivial
change to make.  Do you want me to provide you with a patch for gnome-session to
fix its configure file to first look for gnome-keyring-daemon in libexec?
Comment 5 Alexander Larsson 2005-10-31 08:07:57 UTC
What I'm worried about is releasing a new version of gnome-keyring that is
totally broken with all previous releases of Gnome. 

Maybe we should finally sync the gnome-keyring version with gnome, that would
make it obvious that you can only use the current gnome-keyring with Gnome 2.13.x.

Anyway, could you provide patches for gnome-session too?
Comment 6 Baptiste Mille-Mathias 2006-01-28 23:39:17 UTC
Any news on this bug ?
somebody works  on the patch for gnome-session ?
Comment 7 Alexander Larsson 2006-04-19 14:12:08 UTC
Also, other apps that launch gnome-keyring, like the pam work needs to be changed.
Comment 8 Jon Nettleton 2006-04-19 16:46:22 UTC
I am neutral on this subject.  I would spend the time to change pam_keyring to look in libexec if that is the overall decision.  I will leave this up to the gnome-keyring maintainers, but if it is going to be changed please email me.
Comment 9 Stef Walter 2007-01-04 03:42:26 UTC
The Debian guys seem to dislike libexec: bug #366749
Comment 10 Tom Tromey 2007-01-04 15:44:17 UTC
Debian can always configure with --libexecdir=something
Comment 11 Brian Cameron 2007-01-04 17:37:02 UTC
Right, and libexec makes more sense than /usr/bin for installing programs that users are never intended to run.  It clutters the user's PATH to install things into directories that are in the default PATH when they are programs that are only started programmatically.
Comment 12 Stef Walter 2007-05-10 21:52:25 UTC
BTW, the next version of GNOME Keyring will be 2.19.2 (ie: synced up with GNOME). 
Comment 13 codejodler 2007-10-24 23:45:24 UTC
Why do you think it's not intendet to be launched by user ? It's a user process,  and although there is session auto-launch now there's the possibility, after all, some different session likes to use it, in which case it would be either called by gk-manager or even just inserted into some autostart setup. I launch gkd and gnome-setting-deamon manually, for example.

As for 'cluttering' /usr/bin, personally i like to see what's basically available to be a user process, and i guess that's how Debian tends to see it.

Is ssh intendet to be launched by a user ? "Yes, sometimes" - here we are.

Comment 14 Brian Cameron 2007-10-25 00:23:58 UTC
I think in the common case, it is not intended to be run by the user directly, but instead from various programs.  If a user really wants to run such a program directly, putting it in libexec doesn't prevent them from doing so.

On Solaris, more effort is placed to move things that are not commonly used by normal users into libexec.  I am just requesting that it should be possible to specify the directory where gnome-keyring-daemon is installed when you run configure.  
Comment 15 Stef Walter 2009-03-01 23:45:43 UTC
gnome-keyring-daemon is run from all sorts of scripts and strange setups, especially for users of alternate desktops like KDE. These scripts and uses will break if we move it. 

I personally think it'll be easier to just leave it in bin. 

Closing this bug, but if that's simply unaceptable please feel free to reopen it.