A previous fix broke install when running from inside a DMG
Categories
(Toolkit :: Application Update, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr140 | --- | unaffected |
| firefox-esr153 | --- | fixed |
| firefox150 | --- | unaffected |
| firefox151 | + | wontfix |
| firefox152 | + | wontfix |
| firefox153 | + | wontfix |
| firefox154 | --- | fixed |
People
(Reporter: iholmes, Assigned: iholmes)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [FIDEDI])
Attachments
(12 external files, 1 obsolete file)
The fix for another bug broke the Install from DMG functionality when Firefox runs from inside a DMG and installing requires elevation.
The functionality should be restored and there are a few ways to do it.
- Create a new elevated XPC helper binary that does the install
- Reintroduce the functionality into the elevated updater
Updated•7 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Comment 1•6 months ago
|
||
The bug is marked as tracked for firefox151 (beta) and tracked for firefox152 (nightly). However, the bug still has low severity.
:Amir, could you please increase the severity for this tracked bug? If you disagree with the tracking decision, please talk with the release managers.
For more information, please visit BugBot documentation.
Comment 2•6 months ago
|
||
Next week is the last full week of beta for Fx151.
Iain, is this on track for a fix in time for Fx151?
| Assignee | ||
Comment 3•6 months ago
|
||
No, I can't see this making Fx151, sorry
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
| Assignee | ||
Comment 4•6 months ago
|
||
Creates an XPC based helper that is used when installing from DMG requires elevation.
| Assignee | ||
Comment 5•6 months ago
|
||
The updater no longer handles DMG installation, so use the dmg install helper instead
| Assignee | ||
Comment 6•6 months ago
|
||
Generate the SMPrivilegedExecutables plist dictionary for multiple executables. Also copy the DMGInstallHelper into place and have it signed.
| Assignee | ||
Comment 7•6 months ago
|
||
Previously the install from DMG functionality was only available in release builds which complicates development and debugging. Add --enable-dmg-install-helper-debug to uncomplicate things.
Comment 9•5 months ago
|
||
The severity field for this bug is set to S3. However, the following bug duplicate has higher severity:
- Bug 2039897: S2
:iholmes, could you consider increasing the severity of this bug to S2?
For more information, please visit BugBot documentation.
| Assignee | ||
Updated•5 months ago
|
Updated•5 months ago
|
| Assignee | ||
Comment 10•4 months ago
|
||
add some environment variables to force elevation to help with development
| Assignee | ||
Comment 11•4 months ago
|
||
We were never freeing the AuthorizationRef once we were done with it.
| Assignee | ||
Comment 12•4 months ago
|
||
Add documentation explaining how to debug the DMG Install Helper
Updated•4 months ago
|
Comment 13•4 months ago
|
||
Comment 14•4 months ago
|
||
Comment 15•4 months ago
|
||
Backed out for causing build bustages at config/recurse.mk
Backout Link
Push with failures
Failure Log
Failure line gmake[3]: *** [/builds/worker/checkouts/gecko/config/recurse.mk:101: browser/app/tools] Error 2
Comment 16•4 months ago
|
||
Comment 17•4 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/dc3e9a55e5f6
https://hg.mozilla.org/mozilla-central/rev/f1e023cb7028
https://hg.mozilla.org/mozilla-central/rev/c1f2b67413f8
https://hg.mozilla.org/mozilla-central/rev/1b26de0116f1
https://hg.mozilla.org/mozilla-central/rev/e1032e66ca81
https://hg.mozilla.org/mozilla-central/rev/75edd6e3bf8a
| Assignee | ||
Updated•3 months ago
|
Comment 18•3 months ago
|
||
The patch landed in nightly and beta is affected.
:iholmes, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- See https://wiki.mozilla.org/Release_Management/Requesting_an_Uplift for documentation on how to request an uplift.
- If no, please set
status-firefox153towontfix.
For more information, please visit BugBot documentation.
| Assignee | ||
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Comment 19•2 months ago
|
||
Iain, could you consider adding an uplift request for ESR153?
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 21•24 days ago
|
||
Creates an XPC based helper that is used when installing from DMG requires elevation.
Original Revision: https://phabricator.services.mozilla.com/D300313
Updated•24 days ago
|
| Assignee | ||
Comment 22•24 days ago
|
||
The updater no longer handles DMG installation, so use the dmg install helper instead
Original Revision: https://phabricator.services.mozilla.com/D300314
Updated•24 days ago
|
| Assignee | ||
Comment 23•24 days ago
|
||
Generate the SMPrivilegedExecutables plist dictionary for multiple executables. Also copy the DMGInstallHelper into place and have it signed.
Original Revision: https://phabricator.services.mozilla.com/D300315
Updated•24 days ago
|
| Assignee | ||
Comment 24•24 days ago
|
||
Previously the install from DMG functionality was only available in release builds which complicates development and debugging. Add --enable-dmg-install-helper-debug to uncomplicate things.
Original Revision: https://phabricator.services.mozilla.com/D300316
Updated•24 days ago
|
| Assignee | ||
Comment 25•24 days ago
|
||
We were never freeing the AuthorizationRef once we were done with it.
Original Revision: https://phabricator.services.mozilla.com/D307516
Updated•24 days ago
|
Comment 26•24 days ago
|
||
firefox-esr153 Uplift Approval Request
- User impact if declined/Reason for urgency: Users on ESR 153 won't be able to install into a privileged location by double clicking on the Firefox icon in the DMG
- Code covered by automated testing?: no
- Fix verified in Nightly?: yes
- Needs manual QE testing?: yes
- Steps to reproduce for manual QE testing: 1: Remove Firefox.app from /Applications
2: Log in as a user that does not have write permissions to /Applications
3: Open Firefox.dmg
4: Double click the Firefox icon in the DMG folder. Do not drag it to the Applications icon.
5: A dialog should open asking if you want to install Firefox. Confirm that you want to install it.
6: A system permissions dialog should open asking for admin credentials
7: Firefox.app should be copied into /Applications - Risk associated with taking this patch: low
- Explanation of risk level: The feature is already broken and can't be broken further.
- String changes made/needed?: No
- Is Android affected?: no
| Assignee | ||
Comment 27•24 days ago
|
||
Add documentation explaining how to debug the DMG Install Helper
Original Revision: https://phabricator.services.mozilla.com/D307517
| Assignee | ||
Updated•24 days ago
|
Updated•24 days ago
|
Updated•24 days ago
|
Updated•24 days ago
|
Updated•24 days ago
|
Updated•24 days ago
|
Updated•24 days ago
|
Updated•24 days ago
|
Comment 28•24 days ago
|
||
| uplift | ||
Description
•