mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #7077] [MERGED] bugfix: map sandbox hostname to ipv6 in /etc/hosts #6306
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#6306
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/7077
Author: @kmk3
Created: 2/24/2026
Status: ✅ Merged
Merged: 2/25/2026
Merged by: @kmk3
Base:
master← Head:hostname-map-ipv6📝 Commits (1)
95bbdf8bugfix: map sandbox hostname to ipv6 in /etc/hosts📊 Changes
1 file changed (+8 additions, -3 deletions)
View changed files
📝
src/firejail/fs_hostname.c(+8 -3)📄 Description
Currently it is only mapped to ipv4, so add an ipv6 line.
Default hosts file:
Before:
After:
Related commits:
6f164f415("--keep-hostname part 2 (#7048)", 2026-02-03)Relates to #7048.
Reported-by: @liloman
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.