가능한 오류 - /usr/sbin/dnsmasq

가능한 오류 - /usr/sbin/dnsmasq

내가 보고 있는 것이 오류인지 아닌지 확인해 줄 수 있는 사람이 있나요? htop을 사용하여 실행 중인 프로세스를 보는 동안 오류를 발견했을 수 있습니다. 특히 NetworkManager 서비스에 연결되어 있습니다.

PID    USER        PRI    NI    VIRT    RES    SHR    CPU%    MEM%    TIME+    Command
12927  nobody      20     0     31024   1536   1288   0.0     0.0     0:00.06  /usr/sbin/dnsmasq --no-resolv --keep-in-foreground --no-hosts --bind-interfaces --pid-file=/run/sendsigs.omit.d/network-manager.dnsmasq.pid --listen-address=127.0.1.1 --conf-file=/var/run/NetworkManager/dnsmasq.conf --cache-size=0 --proxy-dnssec --enable-dbus=org.freedesktop.NetworkManager.dnsmasq --conf-dir=/etc/NetworkManager/dnsmasq.d

쿼리되는 부분은 다음과 같습니다.

  1. 주소: 127.0.1.1 ... 이 주소가 그대로 있어야 합니까, 아니면 실제로 127.0.0.1이어야 합니까? ... 그러므로 주소가 127.0.0.1이어야 한다면 ... 변경하고 수정할 수 있도록 이 줄은 어디에서 왔습니까?

  2. 이 서비스와 연결된 사용자는 "nobody"이지만 다른 NetworkManager 서비스와 연결된 사용자는 "root"입니다. 이 서비스에 대한 올바른/일반 사용자입니까?

건배.

답변1

네, 바로 이것이어야 할 것입니다.

내 컴퓨터에서 실행한 몇 가지 명령은 다음과 같습니다.

발췌 ps auxf:

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root      1025  0.0  0.2 345752  9428 ?        Ssl  Dec17   0:12 NetworkManager
nobody    2294  0.0  0.0  35236  3036 ?        S    Dec17   0:05  \_ /usr/sbin/dnsmasq --no-resolv --keep-in-foreground --no-hosts --bind-interfaces --pid-file=/run/sendsigs.omit.d/network-manager.dnsmasq.pid --listen-address=127.0.1.1 --conf-file=/var/run/NetworkManager/dnsmasq.conf --cache-size=0 --proxy-dnssec --enable-dbus=org.freedesktop.NetworkManager.dnsmasq --conf-dir=/etc/NetworkManager/dnsmasq.d

발췌 sudo netstat -tulnp:

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.1.1:53            0.0.0.0:*               LISTEN      2294/dnsmasq    
udp        0      0 127.0.1.1:53            0.0.0.0:*                           2294/dnsmasq    

보시다시피 dnsmasq에 전달된 명령줄 인수는 동일합니다. 또한 127.0.1.1에서 수신 대기 중입니다.

관련 정보