Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upImprovement request regarding /etc/hosts file in Qubes OS R3.2 #2979
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
marmarek
Aug 5, 2017
Member
No, unless adopted by upstream (Fedora here). See https://www.qubes-os.org/doc/devel-faq/#what-is-qubes-attitude-toward-changing-guest-distros
|
No, unless adopted by upstream (Fedora here). See https://www.qubes-os.org/doc/devel-faq/#what-is-qubes-attitude-toward-changing-guest-distros |
marmarek
closed this
Aug 5, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
MarkRijckenberg commentedAug 5, 2017
•
edited
Edited 1 time
-
MarkRijckenberg
edited Aug 5, 2017 (most recent)
Qubes OS version (e.g.,
R3.2):R3.2
Affected TemplateVMs (e.g.,
fedora-23, if applicable):fedora-25
Affected NetVM :
sys-net
Expected behavior:
Expect to see 1 MB /etc/hosts file in sys-net NetVM and fedora-25 templateVM to block malware sites.
Actual behavior:
Almost empty /etc/hosts file in sys-net NetVM and fedora-25 templateVM
Steps to reproduce the behavior:
General notes:
I suggest adding the following bash script into the Fedora template builder scripts:
#################################################################
install new secure /etc/hosts file to block malware websites
#################################################################
LogDay=
date -Icd
sudo rm -rf hosts
sudo cp /etc/hosts /etc/hosts.$LogDay.backup
git clone https://github.com/StevenBlack/hosts.git
cd hosts
sudo python3 updateHostsFile.py -a -r
sudo chmod 444 /etc/hosts
Related issues:
None