Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

profiles: fix librewolf #4838

Merged
merged 1 commit into from
Jan 7, 2022
Merged

profiles: fix librewolf #4838

merged 1 commit into from
Jan 7, 2022

Conversation

reinerh
Copy link
Collaborator

@reinerh reinerh commented Jan 7, 2022

The librewolf upstream package has data in /usr/share/librewolf, which needed to be whitelisted.
Additionally it did not start with apparmor enabled (via firefox-common.profile), therefore I added the ignore.

@reinerh
Copy link
Collaborator Author

reinerh commented Jan 7, 2022

@rusty-snake wow, that was quick. thanks. :)

Copy link
Collaborator

@glitsj16 glitsj16 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

I always wondered who was faster, the wolf or the snake. I guess now we know heh.

@reinerh reinerh merged commit ddfa554 into master Jan 7, 2022
@reinerh reinerh deleted the librewolf branch January 7, 2022 14:48
@mYnDstrEAm
Copy link

This solved https://gitlab.com/librewolf-community/browser/debian/-/issues/10

I still get these firejail errors with firejail 0.9.66 in case this useful for improving the profile at some point:

Warning: networking feature is disabled in Firejail configuration file
Seccomp list in: !chroot, check list: @default-keep, prelist: unknown,
Parent pid id, child pid id
Warning: An abstract unix socket for session D-BUS might still be available. Use --net or remove unix from --protocol set.
Seccomp list in: !chroot, check list: @default-keep, prelist: unknown,
Child process initialized in ... ms
console.warn: SearchSettings: "get: No settings file exists, new profile?" (new NotFoundError("Could not open the file at /home/username/.librewolf/id.default-default/search.json.mozlz4", (void 0)))
JavaScript error: resource:https://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.
JavaScript error: resource:https://gre/modules/PromiseWorker.jsm, line 106: Error: Could not get children of file(/home/username/.librewolf/id.default-default/thumbnails) because it does not exist

@kmk3
Copy link
Collaborator

kmk3 commented Feb 4, 2022

@mYnDstrEAm commented on Feb 3:

This solved https://gitlab.com/librewolf-community/browser/debian/-/issues/10

I still get these firejail errors with firejail 0.9.66 in case this useful
for improving the profile at some point:

Warning: networking feature is disabled in Firejail configuration file
Seccomp list in: !chroot, check list: @default-keep, prelist: unknown,
Parent pid id, child pid id
Warning: An abstract unix socket for session D-BUS might still be available. Use --net or remove unix from --protocol set.
Seccomp list in: !chroot, check list: @default-keep, prelist: unknown,
Child process initialized in ... ms
console.warn: SearchSettings: "get: No settings file exists, new profile?" (new NotFoundError("Could not open the file at /home/username/.librewolf/id.default-default/search.json.mozlz4", (void 0)))
JavaScript error: resource:https://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.
JavaScript error: resource:https://gre/modules/PromiseWorker.jsm, line 106: Error: Could not get children of file(/home/username/.librewolf/id.default-default/thumbnails) because it does not exist

Please open a new issue for this.

@mYnDstrEAm
Copy link

Done: #4899 It hasn't caused any problems so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants