mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1476] What is the syntax for hosts-file in profiles ? #988
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#988
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 @ghost on GitHub (Aug 18, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1476
hosts-file ~/.tmp/hosts doesn't work.
@netblue30 commented on GitHub (Aug 19, 2017):
It has the default syntax for /etc/hosts file:
@ghost commented on GitHub (Aug 19, 2017):
I'm using this, I don't know what the default syntax for a hosts file is but if it works in /etc/hosts I thought it can also work in a firejail profile. https://github.com/StevenBlack/hosts
@netblue30 commented on GitHub (Aug 19, 2017):
I copied https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts in a file in my home directory and run it:
You need to grab the resulting hosts file created by the https://github.com/StevenBlack/hosts after you clone their git repository. I'm not sure how they generate the file.
@ghost commented on GitHub (Aug 19, 2017):
It works now, I have no idea why it didn't work before as I did exactly the same thing.Thanks. I've also realized the other issue of mine doesn't make sense at the momment, please take a look after I rephrase it.
https://github.com/netblue30/firejail/issues/1478