Bug 57025 - main: request name unconditionally at startup
Summary: main: request name unconditionally at startup
Status: RESOLVED FIXED
Alias: None
Product: libfprint
Classification: Unclassified
Component: fprintd (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: libfprint-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-12 18:19 UTC by Ray Strode [halfline]
Modified: 2012-11-13 16:20 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
main: request name unconditionally at startup (2.70 KB, patch)
2012-11-12 18:19 UTC, Ray Strode [halfline]
Details | Splinter Review

Description Ray Strode [halfline] 2012-11-12 18:19:03 UTC
Created attachment 69954 [details] [review]
main: request name unconditionally at startup

the dbus activation machinery depends on daemons taking a name on
the bus to complete activation without timeouts.
    
fprintd fails prematurely if there is USB bus (as found in some
virtual machine setups).
    
This commit moves the bus-name-acquisition code to happen before
the fail-from-no-usb-bus code to keep callers from timing out
when activating fprintd.
Comment 1 Bastien Nocera 2012-11-13 16:20:27 UTC
Attachment 69954 [details] pushed as 9577b6d - main: request name unconditionally at startup


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.