mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #6665] dovecot: errors with disable-exec.inc #3332
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#3332
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 @osevan on GitHub (Feb 25, 2025).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6665
im starting dovecot server rootless and works very well, but, when i include disable-exec i receive errors
even when apparmor not in profile, and journalctl doesnt spits any apparmor errors only this:
Child process initialized in 29.67 ms
Installing /run/firejail/mnt/seccomp/seccomp seccomp filter
Installing /run/firejail/mnt/seccomp/seccomp.block_secondary seccomp filter
/usr/sbin/dovecot: error while loading shared libraries: libdovecot.so.0: failed to map segment from shared object
i did already chown -R dovecot:dovecot /usr/lib/dovecot and noblacklist inside config - before including disable-exec.in - , still not working.
my profile
noblacklist /etc/resolv.conf
noblacklist /etc/dovecot/*
noblacklist /usr/lib/dovecot
noblacklist /usr/bin/doveadm
noblacklist /sbin
noblacklist /usr/sbin
#noblacklist /usr/sbin/*
noblacklist /usr/bin/doveconf
noblacklist /etc/ssl/
include disable-common.inc
include disable-devel.inc
#when i comment out it works else not below .
include disable-exec.inc
include disable-interpreters.inc
include disable-programs.inc
include disable-write-mnt.inc
include disable-xdg.inc
include disable-proc.inc
include disable-X11.inc
thanks and
best regards
@kmk3 commented on GitHub (Feb 25, 2025):
Then don't include it.
Also, dovecot is not supported by firejail.
@rusty-snake commented on GitHub (Feb 25, 2025):
Furthermore
noblacklistis documented to ignoreblacklistnotnoexec.@osevan commented on GitHub (Feb 25, 2025):
@rusty-snake
How i can ignore noexec?
@rusty-snake commented on GitHub (Feb 25, 2025):
ignore noexec@osevan commented on GitHub (Feb 26, 2025):
@rusty-snake ,Can I do
ignore noexec /dev/shm?
For more fine granulated profile?
Update
I tested now it works.
Thanks