刚特意试了一下,别说打开`/etc/hosts`了,你连程序都没法打开:
```
ubuntu@VM-0-7-ubuntu:~$ sudo strace -f -e open -y -yy ping test 2>&1
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3</etc/ld.so.cache>
open("/lib/x86_64-linux-gnu/libcap.so.2", O_RDONLY|O_CLOEXEC) = 3</lib/x86_64-linux-gnu/libcap.so.2.24>
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3</lib/x86_64-linux-gnu/
libc-2.23.so>
open("/etc/resolv.conf", O_RDONLY|O_CLOEXEC) = 4</run/resolvconf/resolv.conf>
open("/etc/resolv.conf", O_RDONLY|O_CLOEXEC) = 4</run/resolvconf/resolv.conf>
open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 4</etc/nsswitch.conf>
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4</etc/ld.so.cache>
open("/lib/x86_64-linux-gnu/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 4</lib/x86_64-linux-gnu/
libnss_files-2.23.so>
open("/etc/host.conf", O_RDONLY|O_CLOEXEC) = 4</etc/host.conf>
open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 4</etc/hosts>
```