with no flat file store and no gnome-keyring ui breaks gss-server

Bug #1235678 reported by Sam Hartman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Moonshot ID Selector
Fix Released
Critical
Kevin Wasserman
Project Moonshot
Fix Released
Critical
Unassigned

Bug Description

I created a .gss_eap_id and started gss-server
gss-client times out before getting a response from gss-server.
If I run dbus-launch bash and run
moonshot --FlatFileStore
then in a while I get an error about a dbus error with the secret service
after that point, gss-client will work to a gss-server using that dbus

My guess as to what's happening is that
1) gnome-keyring is not starting without DISPLAY
2) it takes a while for libsecret to give up
3) by this point dbus has given up on moonshot actually claiming the bus interface
4) So dbus has failed the request to start the service and probably killed moonshot
5) As a result of 4, next time around we start a new moonshot rather than using the one that ideally would have registered by now

We need to use a much more rapid approach for deciding whether to use gnome-keyring especially in the headless case.

Also, command-line options don't seem to be being parsed at all without DISPLAY

Sam Hartman (hartmans)
Changed in moonshot:
milestone: none → pilot5
importance: Undecided → Critical
Revision history for this message
Sam Hartman (hartmans) wrote :

It turns out that gnome-keyring was unable to start because ~/.cache didn't exist.
We make sure that exists in moonshot-dbus-launch.
We're also proposing moving away from ~/.gss_eap_id to an xml file loaded with moonshot-webp. Such a default identity will be included

Changed in moonshot-ui:
status: Confirmed → Fix Released
Changed in moonshot:
status: New → Fix Committed
Changed in moonshot:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.