Description
Installation to locations requiring additional privileges reproducably fails with "Error while elevating rights" on at least Mac, Linux.
The issue is a race condition: Since change https://codereview.qt-project.org/#change,38167 the UI process doesn't wait any more infinitely for the fs process to come up, but tries to connect to the given port 3 times ... if that fails it gives up and shows above error message. The 'socket->waitForConnected(10000)' in FSEngineClientHandler::connect seems to indicate that it tries to connect for at least 30 seconds, but actually waitForConnected() returns immediately for ConnectionRefused - the error when the port isn't (yet) open.
Attachments
Issue Links
- is required for
-
QTBUG-32220 I can`t install
- Closed
- relates to
-
QTIFW-321 authentication as root fails
- Closed
- resulted from
-
QTIFW-435 Can't install to /Developer on OSX
- Closed
For Gerrit Dashboard: QTIFW-316 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
60890,1 | Fix race condition when connecting to fs process | 1.4 | installer-framework/installer-framework | Status: MERGED | +2 | 0 |