mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #7079] [MERGED] bugfix: add localhost lines to /etc/hosts #6307
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#6307
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?
📋 Pull Request Information
Original PR: https://github.com/netblue30/firejail/pull/7079
Author: @kmk3
Created: 2/25/2026
Status: ✅ Merged
Merged: 2/26/2026
Merged by: @kmk3
Base:
master← Head:hosts-add-localhost📝 Commits (1)
6f69d92bugfix: add localhost lines to /etc/hosts📊 Changes
1 file changed (+2 additions, -0 deletions)
View changed files
📝
src/firejail/fs_hostname.c(+2 -0)📄 Description
Currently only the sandbox hostname is mapped to the default IP
addresses in /etc/hosts.
Default hosts file:
Before:
After:
This is a follow-up to #7077.
Fixes #7048.
Reported-by: @liloman
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.