mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #5746] php-fpm: no internet access (--noprofile) (resolv.conf) #3080
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#3080
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 (Mar 21, 2023).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5746
Im running in my test environment php-fpm inside my favourite fj container. Everything works great, except internet functionality of cms software like wordpress.
Even when i run with --noprofile flag internet connections for searching directory like for plugins didnt work.
Outside container everything works - even internet connection.
So i dunno what is wrong.
Apparmor ofc for this profile disabled, but i havent internet connection for both: with --noprofile flag AND with profile.
Hope someone can check this up.
Other containers have internet.
Thanks and
Best regards
@kmk3 commented on GitHub (Mar 21, 2023):
Basic debugging information is missing; please follow the bug report template:
@osevan commented on GitHub (Mar 21, 2023):
Debian bullseye
Firejail master branch from 30 days ago.
Application startpath /opt/php8.2/bin/php-fpm -nodaemonize and config file in as arguments
Both tested: with --noprofile and with profile. ..
Aplication starts well, but, no internet connection to outside - egress and ingres - traffic.
Outside container, with php-fpm apps accessing internet, works well.
Container running inside vps
@osevan commented on GitHub (Mar 23, 2023):
I see now, etc/resolv.conf is flagged as default as blacklist.
I did whitelist resolv.conf and added new dns inside config and my Problem gone.
Thanks and
Best regards
@kmk3 commented on GitHub (Mar 23, 2023):
(Re-closing as "not planned" since nothing was changed in firejail)
@osevan commented on GitHub (Mar 23, 2023):
I see now, etc/resolv.conf is flagged as default as blacklist.
I did whitelist resolv.conf and added new dns inside config and my Problem gone.
Thanks and
Best regards