[GH-ISSUE #5608] private-etc rework broke profiles without resolv.conf in private-etc #3044

Closed
opened 2026-05-05 09:41:24 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @ghost on GitHub (Jan 21, 2023).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5608

After the private-etc rework from c2b6b6b1a3 I noticed a few profiles are now in a broken state. When private-etc is enabled without including resolv.conf firejail exits with the below error:

Error mount: fs_etc.c:58 fs_resolvconf: No such file or directory
Error: proc xxxx cannot sync with peer: unexpected EOF
Peer yyyy unexpectedly exited with status 1

The fix is to add resolv.conf to private-etc. Relates to #5607.

Originally created by @ghost on GitHub (Jan 21, 2023). Original GitHub issue: https://github.com/netblue30/firejail/issues/5608 After the private-etc rework from https://github.com/netblue30/firejail/commit/c2b6b6b1a348d70b776983051851e42ba66ab271 I noticed a few profiles are now in a broken state. When private-etc is enabled without including `resolv.conf` firejail exits with the below error: ``` Error mount: fs_etc.c:58 fs_resolvconf: No such file or directory Error: proc xxxx cannot sync with peer: unexpected EOF Peer yyyy unexpectedly exited with status 1 ``` The fix is to add resolv.conf to private-etc. Relates to #5607.
gitea-mirror 2026-05-05 09:41:24 -06:00
Author
Owner

@rusty-snake commented on GitHub (Jan 21, 2023):

8377c54b1d

<!-- gh-comment-id:1399284737 --> @rusty-snake commented on GitHub (Jan 21, 2023): 8377c54b1d803e2d4a282751652d824376fb371d
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#3044
No description provided.