kev392
Crew Member
Posts: 356
Likes: 474
|
Post by kev392 on Jan 17, 2022 4:12:32 GMT
I started getting a boot error. Fortunately it did not stop my computer from booting, but it was annoying to see it, so I spent some time trying to find where it was and to get rid of it. Bugs need to be exterminated Failed to Start, Load Apparmor ProfilesI found the error was in /etc/apparmor.d/usr.bin.abrowser at line 309. The line in question was associated with: # Addons # Site-specific additions and overrides. See local/README for details. #include <abstractions/ubuntu-browsers.d/firefox> I had just removed Firefox and there was an instruction in this file to look for it. Abrowser was missing its daddy I had to remove the #include line. Basically tell the child that daddy was no longer here and to stop looking for him. This fixed the error message. Before this post, I looked at line 309 again and found this had been added: # #include <local/usr.bin.firefox> So there is something in the Abrowser code to look for Firefox, but at least this time the instruction is disabled. That .firefox file doesn't exist on my system.
|
|
kev392
Crew Member
Posts: 356
Likes: 474
|
Post by kev392 on Jan 19, 2022 20:32:53 GMT
Uh-oh. I just installed Abrowser 96 and it added the commands in /etc/apparmor.d/usr.bin.abrowser that I had previously disabled. It looks like this is going to be a thing for now. Maybe I should complain to Trisquel.
I just disable the 2 include instructions starting at line 309. Leaving either one active causes the Failed to Start, Load Apparmor Profiles error when booting.
# Addons # #include <abstractions/ubuntu-browsers.d/firefox>
# Site-specific additions and overrides. See local/README for details. # #include <local/usr.bin.firefox>
|
|
kev392
Crew Member
Posts: 356
Likes: 474
|
Post by kev392 on Jan 26, 2022 0:38:54 GMT
OK the results of my prior methods have been rather inconsistent. I've had the error appear on one boot, and then not be there the next boot with the same entry.
I finally decided to remove everything below line 306 and that seems to have got rid of the error completely. This appears necessary after each installation of a new Abrowser version.
I will put the line number before the entries as a point of reference.
cd /etc/apparmor.d/ && sudo nano usr.bin.abrowser
304 # file_inherit 305 deny /tmp/gtalkplugin.log w, 306 }
REMOVE EVERYTHING BELOW LINE 306: 307 308 # Addons 309 #include <abstractions/ubuntu-browsers.d/firefox> 310 311 # Site-specific additions and overrides. See local/README for details. 312 #include <local/usr.bin.firefox>
|
|