Trying to set up firefox-local for apparmor.d in Ubuntu

I am using Tor browser, which is based on Firefox. The 'About' tab says this: 14.5.6 (based on Mozilla Firefox 128.14.0esr) When I sign in, it tells me that: "Some of … (read more)

I am using Tor browser, which is based on Firefox. The 'About' tab says this: 14.5.6 (based on Mozilla Firefox 128.14.0esr)

When I sign in, it tells me that: "Some of Tor Browser's security features may offer less protection on your current operating system."

And it directs me to the following page: https://support.mozilla.org/en-US/kb/linux-security-warning?as=u&utm_source=inproduct

-- which directs me to set up a file called 'firefox-local' with specific contents. I have created this file; and pasted the recommended contents into it, and saved it.

I am then directed to issue the following command: sudo systemctl restart apparmor.service

-- which I have done. But that returns the following error: Job for apparmor.service failed because the control process exited with error code. See "systemctl status apparmor.service" and "journalctl -xeu apparmor.service" for details.

systemctl status apparmor.service gives the following output: × apparmor.service - Load AppArmor profiles

    Loaded: loaded (/usr/lib/systemd/system/apparmor.service; enabled; preset: enabled)
    Active: failed (Result: exit-code) since Thu 2025-08-28 19:51:42 CDT; 22min ago
      Docs: man:apparmor(7)
            https://gitlab.com/apparmor/apparmor/wikis/home/
   Process: 12278 ExecStart=/lib/apparmor/apparmor.systemd reload (code=exited, status=1/FAIL

URE)

  Main PID: 12278 (code=exited, status=1/FAILURE)
       CPU: 218ms

Aug 28 19:51:41 joe-Z390-AORUS-ULTRA systemd[1]: Starting apparmor.service - Load AppArmor pro files... Aug 28 19:51:41 joe-Z390-AORUS-ULTRA apparmor.systemd[12278]: Restarting AppArmor Aug 28 19:51:41 joe-Z390-AORUS-ULTRA apparmor.systemd[12278]: /lib/apparmor/apparmor.systemd: 148: [: Illegal number: yes Aug 28 19:51:41 joe-Z390-AORUS-ULTRA apparmor.systemd[12278]: Reloading AppArmor profiles Aug 28 19:51:42 joe-Z390-AORUS-ULTRA apparmor.systemd[12309]: AppArmor parser error for /etc/a pparmor.d in profile /etc/apparmor.d/foliate at line 11: syntax error, unexpected TOK_ABI, exp ecting end of file Aug 28 19:51:42 joe-Z390-AORUS-ULTRA apparmor.systemd[12278]: Error: At least one profile fail ed to load Aug 28 19:51:42 joe-Z390-AORUS-ULTRA systemd[1]: apparmor.service: Main process exited, code=e xited, status=1/FAILURE Aug 28 19:51:42 joe-Z390-AORUS-ULTRA systemd[1]: apparmor.service: Failed with result 'exit-co de'. Aug 28 19:51:42 joe-Z390-AORUS-ULTRA systemd[1]: Failed to start apparmor.service - Load AppAr mor profiles.

journalctl -xeu apparmor.service gives the following output:

Aug 28 16:28:26 joe-Z390-AORUS-ULTRA apparmor.systemd[1445]: Restarting AppArmor Aug 28 16:28:26 joe-Z390-AORUS-ULTRA apparmor.systemd[1445]: /lib/apparmor/apparmor.systemd: 1 48: [: Illegal number: yes Aug 28 16:28:26 joe-Z390-AORUS-ULTRA apparmor.systemd[1445]: Reloading AppArmor profiles Aug 28 16:28:26 joe-Z390-AORUS-ULTRA apparmor.systemd[1506]: AppArmor parser error for /etc/ap parmor.d in profile /etc/apparmor.d/foliate at line 11: syntax error, unexpected TOK_ABI, expe cting end of file Aug 28 16:28:26 joe-Z390-AORUS-ULTRA apparmor.systemd[1445]: Error: At least one profile faile d to load Aug 28 16:28:23 joe-Z390-AORUS-ULTRA systemd[1]: Starting apparmor.service - Load AppArmor pro files... ░░ Subject: A start job for unit apparmor.service has begun execution ░░ Defined-By: systemd ░░ Support: http://www.ubuntu.com/support ░░ ░░ A start job for unit apparmor.service has begun execution. ░░ ░░ The job identifier is 45. Aug 28 16:28:24 joe-Z390-AORUS-ULTRA systemd[1]: apparmor.service: Main process exited, code=e xited, status=1/FAILURE ░░ Subject: Unit process exited ░░ Defined-By: systemd ░░ Support: http://www.ubuntu.com/support ░░ ░░ An ExecStart= process belonging to unit apparmor.service has exited. ░░ ░░ The process' exit code is 'exited' and its exit status is 1. Aug 28 16:28:24 joe-Z390-AORUS-ULTRA systemd[1]: apparmor.service: Failed with result 'exit-co de'. ░░ Subject: Unit failed ░░ Defined-By: systemd ░░ Support: http://www.ubuntu.com/support ░░ ░░ The unit apparmor.service has entered the 'failed' state with result 'exit-code'. Aug 28 16:28:24 joe-Z390-AORUS-ULTRA systemd[1]: Failed to start apparmor.service - Load AppAr mor profiles. ░░ Subject: A start job for unit apparmor.service has failed ░░ Defined-By: systemd ░░ Support: http://www.ubuntu.com/support ░░ ░░ A start job for unit apparmor.service has finished with a failure. ░░ ░░ The job identifier is 45 and the job result is failed. Aug 28 19:51:41 joe-Z390-AORUS-ULTRA systemd[1]: Starting apparmor.service - Load AppArmor pro files... ░░ Subject: A start job for unit apparmor.service has begun execution ░░ Defined-By: systemd ░░ Support: http://www.ubuntu.com/support ░░ ░░ A start job for unit apparmor.service has begun execution. ░░ ░░ The job identifier is 5272. Aug 28 19:51:41 joe-Z390-AORUS-ULTRA apparmor.systemd[12278]: Restarting AppArmor Aug 28 19:51:41 joe-Z390-AORUS-ULTRA apparmor.systemd[12278]: /lib/apparmor/apparmor.systemd: 148: [: Illegal number: yes Aug 28 19:51:41 joe-Z390-AORUS-ULTRA apparmor.systemd[12278]: Reloading AppArmor profiles Aug 28 19:51:42 joe-Z390-AORUS-ULTRA apparmor.systemd[12309]: AppArmor parser error for /etc/a pparmor.d in profile /etc/apparmor.d/foliate at line 11: syntax error, unexpected TOK_ABI, exp ecting end of file Aug 28 19:51:42 joe-Z390-AORUS-ULTRA apparmor.systemd[12278]: Error: At least one profile fail ed to load Aug 28 19:51:42 joe-Z390-AORUS-ULTRA systemd[1]: apparmor.service: Main process exited, code=e xited, status=1/FAILURE ░░ Subject: Unit process exited ░░ Defined-By: systemd ░░ Support: http://www.ubuntu.com/support ░░ ░░ An ExecStart= process belonging to unit apparmor.service has exited. ░░ ░░ The process' exit code is 'exited' and its exit status is 1. Aug 28 19:51:42 joe-Z390-AORUS-ULTRA systemd[1]: apparmor.service: Failed with result 'exit-co de'. ░░ Subject: Unit failed ░░ Defined-By: systemd ░░ Support: http://www.ubuntu.com/support ░░ ░░ The unit apparmor.service has entered the 'failed' state with result 'exit-code'. Aug 28 19:51:42 joe-Z390-AORUS-ULTRA systemd[1]: Failed to start apparmor.service - Load AppAr mor profiles. ░░ Subject: A start job for unit apparmor.service has failed ░░ Defined-By: systemd ░░ Support: http://www.ubuntu.com/support ░░ ░░ A start job for unit apparmor.service has finished with a failure. ░░ ░░ The job identifier is 5272 and the job result is failed.


I don't know how to make heads or tails of this. Apparently the profile failed to load. According to the file documentation, it expects firefox to be located in '/home/<USER>/bin/firefox/' but I am running a version through Snap. and I think it is installed in '/snap/firefox/6700/usr/lib/firefox/firefox'

Is that the trouble; and how do I fix it? Grateful for any assistance; sorry for the data dump.

Asked by J L Brown 7 hours ago

I have not been able to see all of the emails in the trash folder in order to delete the latest or access ones

Fix the problem; how can I see all that are in the trash folder? I need to be able to delete the oldest ones and access those sent there recently in error. The display s… (read more)

Fix the problem; how can I see all that are in the trash folder? I need to be able to delete the oldest ones and access those sent there recently in error. The display says there are over 900, but I can only see nine and the dates are not the most recent nor the least recent nor consecutive.

Asked by jodeepreston 13 hours ago

Last reply by jodeepreston 8 hours ago

All new mail going to All Mall instead of Inbox

This was working ok until today. Now, only ONE of my mail accounts is sending mail to the "All Mail" folder as "Unread" and NOTHING is going to my Inbox. Anyone have an i… (read more)

This was working ok until today. Now, only ONE of my mail accounts is sending mail to the "All Mail" folder as "Unread" and NOTHING is going to my Inbox. Anyone have an idea what could be causing this?

Asked by DallasDaveVegas 8 hours ago

Ciao - I HAVE TO LEAVE FIREFOX

I AM SENDING TWO SCREENSHOTS IN ORDER FOR YOU TO SEE WHY I AM SAYING GOOD BYE TO FIREFOX OVER 4000 OF RESOURCES AS YOU CAN SEE AND FIREFOX HAD 4 TABS OPEN ALL OF THEN JUS… (read more)

I AM SENDING TWO SCREENSHOTS IN ORDER FOR YOU TO SEE WHY I AM SAYING GOOD BYE TO FIREFOX OVER 4000 OF RESOURCES AS YOU CAN SEE AND FIREFOX HAD 4 TABS OPEN ALL OF THEN JUST OPENED UP SO THEY WERE NOT YET CONNECTED TO ANY WEBPAGE.

I CANNOT SPEND HOURS TRYING TO FIX THIS

SO I AM MOVING TO ANOTHER BROWSER

I JUST WANTED TO SAY CIAO

Asked by DA Mozilla 11 hours ago

Last reply by DA Mozilla 8 hours ago

Wrong association in Correspondent column

Hello. I have been managing events through Humanitix for several years. Copies of notifications of purchased tickets are always sent to my Thunderbird account (via GMai… (read more)

Hello. I have been managing events through Humanitix for several years. Copies of notifications of purchased tickets are always sent to my Thunderbird account (via GMail). For reasons not understood the Correspondent Column for these emails always displays an address that should have no association with my events. Humanitix have had a look and says the 'link-up' is not happening at their end. Has anyone out there had a similar problem, or at least understand something about this kind of thing?

Asked by cruxmusic 9 hours ago

Firefox v142.0.1 (64-bit) has crippled my browser!!!!

This morning (08/28/25), I updated my browser to v142.0.1 (64-bit), and Facebook as well as other sites have been affected to the point that I can't even see contents now… (read more)

This morning (08/28/25), I updated my browser to v142.0.1 (64-bit), and Facebook as well as other sites have been affected to the point that I can't even see contents now!!!!!!!

I (God forbid) opened the same sites in Edge, and there's no problem viewing them on Edge.

Is there a way that I can roll back this latest update, because I had no problems until this morning. I'm running a Win 10 Pro OS.

Asked by tgt1234 10 hours ago

Last reply by tgt1234 9 hours ago

Sending Email.

Hi, It seems that the last upgrade has broken something with sending emails. With my desktop version, I have no trouble sending and receiving emails. I am using version… (read more)

Hi,

It seems that the last upgrade has broken something with sending emails. With my desktop version, I have no trouble sending and receiving emails. I am using version 142.0 (64-bit) of Thunderbird, and the desktop computer is Windows 10.

I have 2 issues sending emails.

First issue, my Pixel 9 Pro XL does not send emails anymore. It was working fine until recently. The email is stalled in the outbox. I tried reloading the outgoing server settings, I get an error message; see attached error message. My Android receives emails fine, but will not send them. My phone syncs well with my desktop. However, the outbox doesn't sync, so I can't send the stalled emails from the desktop when I'm back in my office.

Second issue is my POS program (Windward Software System 5) stopped sending out emails as well. I worked with the tech department at the software company, and they said it isn't an issue with them, nothing has changed with them, no upgrades or changes on their end. Some of our older machines here, that haven't received the recent upgrade with Thunderbird, are still sending emails fine. Just a couple of computers are having this trouble of not sending emails from out POS software, it's the ones that have received the Thunderbird upgrade. For the outgoing settings, we are using the default port 465, and the connection security is SSL/TLS. Authentication method: is a normal password. I am hoping you have an answer for me. Please don't share the attachment with the community forums. Everything else will be fine.

Thank you,

Kathi McNally

Asked by kathi15 11 hours ago

Last reply by kathi15 10 hours ago

Why does Incognito/private browsing store cookies and history?

Recently transferred from Chrome. My understanding was Firefox private browsing was supposed to work similarly to chrome incognito mode; once you close the browser, all l… (read more)

Recently transferred from Chrome. My understanding was Firefox private browsing was supposed to work similarly to chrome incognito mode; once you close the browser, all local files are deleted and cookies are cleared.

However, with Firefox it maintains my logins. If I log into an account while private browsing and the close the browser, I’ll still be logged in next time I go to the website even if it’s days later (and I have never logged into this account in a non-private browsing window!)

I never had this issue using chrome incognito, so it seems to be a Firefox problem.

Is this just not something Firefox supports? Is there any way to prevent storage of cookies and private data?

Asked by tim153 1 week ago

Last reply by tim153 11 hours ago

cannot connect to Zoom with an email link

cannot connect to Zoom with an email link I receive links through yahoo email...the links don't work. I get odd popup...(triangle with exclamation point) telling me to ge… (read more)

cannot connect to Zoom with an email link I receive links through yahoo email...the links don't work. I get odd popup...(triangle with exclamation point) telling me to get the app - which I have. I've shut down - uninstalled/reinstalled both firefox and zoom...a couple of times

Asked by empresseden 11 hours ago

made to get a code to sign in to web sites

After i sign on to Amazon & some other sites it wants to send me a verification code before I can get on. It says this is Firefox that is demanding this. I am fed up … (read more)

After i sign on to Amazon & some other sites it wants to send me a verification code before I can get on. It says this is Firefox that is demanding this. I am fed up with having to do this. I signed in to my account and the 2nd verification app isn't even downloaded or enabled.

Asked by hoovermaneuver 12 hours ago

Firefox upplying insecure password

I was trying to register with a new website. Firefox suggested dG@5 as the securely generated password, which being only four characters is obviously insecure. Not surpri… (read more)

I was trying to register with a new website. Firefox suggested dG@5 as the securely generated password, which being only four characters is obviously insecure. Not surprisingly, it wasn't acceptable, as the website required at least eight characters. I tried deleting the password in both fields and trying again, but Firefox kept suggesting the same insecure password. Even after restarting the registration process I was offered the same password. I have used this feature many times previously, and have never had this happen before. Why has this happened? Is there anything that I can do to stop it happening again? Is there anyway that I can force Firefox to come up with a different password if I don't like its first suggestion? And, is Firefox's system really secure, if it does this?

Asked by bhardy1954 18 hours ago

Last reply by bhardy1954 12 hours ago

Firefox with newest update not working

Early this morning, the Play Store notified me there was an update for Firefox. I went to my Play Store account and downloaded the new update. After the download, I tri… (read more)

Early this morning, the Play Store notified me there was an update for Firefox. I went to my Play Store account and downloaded the new update. After the download, I tried opening Firefox by tapping on the icon. Firefox tried to open but immediately closed. This keeps happening, even now. I did get one message from my phone saying "this version of Firefox is not compatible with your phone". Never had any problems like this before.

Asked by stevecripe57 14 hours ago

Last reply by stevecripe57 12 hours ago

Account setup

Have 3 machines with Tbird, and 3 email accounts. During a password change for one account, TBird hammered the server enough times to get my IP blocked. I removed all 3 … (read more)

Have 3 machines with Tbird, and 3 email accounts. During a password change for one account, TBird hammered the server enough times to get my IP blocked. I removed all 3 acco8nts and started over. In the middle of this, Bird updated and the new version makes it very difficult to stay in manual config, as the auto config continues to hammer the server. Have been unable to complete the 3 setups without the ip getting blocked, have contacted the server support 4 times for unblocking. Why has Tbird made this so difficult? Used to be very easy! I want to do setup manually, and limit the number of times the setup tests the config.

Asked by erikfjer 16 hours ago

Last reply by erikfjer 12 hours ago