mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #4480] can't lock mbox file with evolution #2680
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#2680
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @loveshack on GitHub (Aug 25, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4480
This is with firejail 0.9.66 on Debian 11 with apparmor.
evolution fails to read my mbox in /var/mail, saying it can't lock the file.
I followed the instructions in thunderbird.profile, so edited the apparmor file to contain
reloaded apparmor, and added the suggested snippet to evolution.local:
without luck.
Debugging suggestions welcome, of course, if I haven't missed something obvious.
@reinerh commented on GitHub (Aug 26, 2021):
In AppArmor you can allow locking files with mode
k. Does this work by chance?@loveshack commented on GitHub (Aug 26, 2021):
Thanks, but it doesn't help to use "wk" instead of "w" there.
I wonder if it's related to how locking is actually done. Debian has an
sgid helper "mail-lock" for locking the mail spool generally, and
evolution has an sgid /usr/libexec/camel-lock-helper-1.2 which I assume
does the same thing. Other than what mail-lock does, I don't know how
any of this works, unfortunately, but I can try any other ideas, or try
to debug with any hints there are, probably next week. I would feel
happier running evolution sandboxed when I need it.
@reinerh commented on GitHub (Aug 26, 2021):
When it relies on sgid helpers, it might be related to this:
(this is set in firefox-common.profile, included in thunderbird.profile)
@rusty-snake commented on GitHub (Aug 27, 2021):
seccomp (
seccomp*,protocol,memory-deny-write-execute) implies NNP.noroot/nogroupsmay also interfere sgid helpers.@rusty-snake commented on GitHub (Oct 9, 2021):
I'm closing here due to inactivity, please fell free to request to reopen if you still have this issue.