Open Bug 2070470 Opened 2 months ago Updated 7 days ago

Updates are forced regardless of settings, can't get rid of maintenance service

Categories

(Toolkit :: Application Update, defect)

Firefox 155
defect

Tracking

()

UNCONFIRMED

People

(Reporter: VasVadum, Unassigned, NeedInfo)

References

Details

Attachments

(6 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:155.0) Gecko/20100101 Firefox/155.0

Steps to reproduce:

I've uninstalled Maintenance Service 6 times now.
-- I have no idea how it keeps coming back.
I've moved my policy settings to the GPO system.
-- The settings expressly forbid automatic updating or even checking for updates. I've done everything possible to disable Firefox updates until you guys respect my consent.

Actual results:

Firefox routinely shuts down my ability to continue using it when an update is suddenly forced against my consent and against my will. Violating my computer with a program I don't want as it somehow installs the maintenance service on its own without my knowledge which then suddenly forcefully downloads and installs an update while the browser is up locking me out of usage until I close the browser, which breaks certain web pages that I have open long term for diagnosing game issues and mod issues in those games.

Expected results:

I should be notified of an update once per allowed period. E.G. if I set it to once per week, or once per month. I should be notified only once, and be able to choose when to install said update.

To further explain my issue. This computer is mine. I am the owner of it, not Mozilla. I choose what gets installed, when and how. Not you. I do not consent to you forcefully installing updates whenever you feel like at inconvenient times in the middle of my diagnosing things, while I'm playing games, or any other time. If I want an update, I will click the check for updates button. If I allow you to check for updates, you are forbidden from installing them unless I explicitly click install update. It is my choice when I update, not yours. You have violated my computer repeatedly.

Especially considering, I keep uninstalling mozilla maintenance service and it keeps coming back. I keep reporting it to the antivirus company as malware because it keeps returning. I will continue to report it as malware every time because it does not get installed with consent which is the exact behavior of malware.

My policy shows;
AppAutoUpdate=false
BackgroundAppUpdate=false
ManualAppUpdateOnly=true

Among several other unrelated things. This confirms that your system completely ignores policies, which is very bad. This is why I classified this as a bug, because a policy is meant to be honored. Not ignored.

The Bugbug bot thinks this bug should belong to the 'Toolkit::Application Update' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Application Update
Product: Firefox → Toolkit

The severity field is not set for this bug.
:Amir, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(ahabibi)
Blocks: 2072720

With ManualAppUpdateOnly, Firefox itself shouldn't download or install updates on its own. The "Restart to Keep Using Firefox" page appears when the Firefox files on disk were replaced while Firefox was running, so it looks like something is updating your installation from outside the Firefox window you're using. As far as I can tell, the Firefox updater also shouldn't reinstall the Maintenance Service once it has been uninstalled, but the full Firefox installer does install it by default. Both would fit something on your machine running the Firefox installer.

Could you help us find out what it is?

  1. Which antivirus or other security software do you use, and does it (or any other tool, such as winget or a "software updater" feature) update installed programs?
  2. Open about:preferences, type "update history" into "Find in Settings", click "Show update history", and attach a screenshot of the list.
  3. Type about:support in the address bar, click "Open Folder" next to "Update Folder", open the updates folder inside it, and attach last-update.log and backup-update.log to this bug (whichever of the two exist).
  4. Open "Task Scheduler", go to "Task Scheduler Library" > "Mozilla", and let us know which tasks are listed there.
Severity: -- → S3
Flags: needinfo?(ahabibi) → needinfo?(VasVadum)
See Also: → 2054046

AVG, and no it does not do updates to my stuff.

The other day I permanently disabled updates entirely because the update setting for manual updates is broken so keep in mind that this setting change is recent and doesn't reflect what it was, it is the only setting changed since this incident.

Bizarre though, my update history shows ancient stuff, and not the update that was installed literally the other day, Version 160.0.1...

The update log also shows way back then too. Which doesn't make sense, unless Mozilla Maintenance Service is the one that took over. I also have Thunderbird, but I'm pretty sure I also have it set to not allow Maintenance Service. Maybe I need to go into its installation folder and hard-disable it too.

After all these forced updates, I did some pretty extreme stuff to try and stop Mozilla Maintenance Service from coming back.

I created a blank file with the same folder name as Mozilla Maintenance Service's install folder in the program files, with no file extension, and restricted file permissions on it using;

  • icacls "C:\Program Files (x86)\Mozilla Maintenance Service" /deny "Everyone":(OI)(CI)(F) "SYSTEM":(OI)(CI)(F)

I also did the same to the file inside Firefox's folder;

  • icacls "C:\Program Files\Mozilla Firefox\maintenanceservice_installer.exe" /deny "Everyone":(F) "SYSTEM":(F)

Only in that one's case it was a text file with the same name as that file. Yet, somehow, Maintenance Service keeps coming back. I don't know how. I keep uninstalling it in Control Panel though and I have no idea where its been installed to that time. If its Thunderbird doing it this time, I guess I need to go in and fix it there too. I would like to not have to do this but, yea....

It looks like I'll have to attach the files after I post this comment, I don't see a way to attach anything with this specific message so please be patient as I grab everything to attach after I post this.

As per your last thing, task scheduler, the only thing in there is a check for default browsing agent. I'll go ahead and delete that task now since I don't need it. In fact, that task should have been disabled by one of my policies.

Firefox Default Browser Agent 308046B0AF4A39CB
The Default Browser Agent task checks when the default changes from Firefox to another browser. If the change happens under suspicious circumstances, it will prompt users to change back to Firefox no more than two times. This task is installed automatically by Firefox, and is reinstalled when Firefox updates. To disable this task, update the “default-browser-agent.enabled” preference on the about:config page or the Firefox enterprise policy setting “DisableDefaultBrowserAgent”.

Flags: needinfo?(VasVadum)

Policy Settings at current. DisableAppUpdate was not set before this bug report.

Strange update history that's inaccurate.

Current Version

Attached file last-update.log —

Update Log, inaccurate, shows update from half a year ago. Possibly due to Mozilla Maintenance Service taking over.

Attached file backup-update.log —

Second update log.

Sorry about that. I couldn't attach all the files in one go either. :| If I had known that, I'd have explained everything per file instead of one big post before them.

The logs help a lot. Both of them are from Firefox's own updater, and the newer one is from March 10, when it installed 148.0.2. It also didn't use the Maintenance Service for that (sUsingService=false). It asked for administrator rights through a Windows prompt instead. Since then, your Firefox has gone from 148.0.2 to 160.0.1 without Firefox's updater running at all, which is also why the update history stops in March. So it doesn't look like the Maintenance Service or the update settings are doing this. The service only runs when Firefox's updater asks it to. It looks like something on your machine is running the full Firefox installer, which also installs the Maintenance Service by default. Thunderbird uses the same Maintenance Service, and its installer installs it by default as well.

The file permission changes in comment 5 will most likely make future installs and updates fail partway through, which can leave Firefox in a broken state. Let's get your installation back to a normal state first:

  1. Attach C:\Program Files\Mozilla Firefox\install.log to this bug. The full installer writes the time it ran at the top of that file, so it should show when 160.0.1 was installed.
  2. Open a Command Prompt as administrator and run these commands, which undo the permission changes and remove the placeholder file:
takeown /f "C:\Program Files (x86)\Mozilla Maintenance Service"
icacls "C:\Program Files (x86)\Mozilla Maintenance Service" /reset
del "C:\Program Files (x86)\Mozilla Maintenance Service"
takeown /f "C:\Program Files\Mozilla Firefox\maintenanceservice_installer.exe"
icacls "C:\Program Files\Mozilla Firefox\maintenanceservice_installer.exe" /reset
  1. Download the full Firefox installer for Windows from https://www.mozilla.org/firefox/all/ and run it. Your bookmarks, passwords and settings are kept. Choose "Custom", and on the "Set Up Optional Components" page uncheck "Install Maintenance Service".
  2. Pick one update policy instead of several. If you want Firefox to update only when you click "Check for updates", keep ManualAppUpdateOnly and remove DisableAppUpdate, AppAutoUpdate and BackgroundAppUpdate. If you don't want Firefox to update at all, keep only DisableAppUpdate. Both are described here: https://firefox-source-docs.mozilla.org/toolkit/mozapps/update/docs/HowToDisable.html

After that, could you keep an eye on it? The next time Firefox's version changes without you updating it, please attach install.log again and let us know what else was running on your machine around the time it shows.

Flags: needinfo?(VasVadum)
No longer blocks: 2072720
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: