Re: networkmanager spawned dhcpcd and kill it consistantly?



On Mon, Jun 11, 2012 at 1:23 PM, Dan Williams <dcbw redhat com> wrote:
> On Fri, 2012-06-08 at 23:58 -0700, cheng renquan wrote:
>> recently after my Arch Linux desktop update, I found with home
>> internet, the networkmanager
>> seems constantly kills dhcpcd, then spawn it again, then kill it, with this loop
>> for 10 minutes or longer time it may not kill dhcpcd and get wifi
>> stably working;
>
> Any chance you can stop NM, and then run it manually with --no-daemon
> --log-level=debug for us?  The logs below don't provide enough
> information to figure out if NM is terminating the dhcpcd process or
> not, and if it is, for what reason.  But the debug logs would:
>
> NetworkManager --no-daemon --log-level=debug

it seems the same, log-level debug didn't give more logs, the dhcpcd
is still "received SIGTERM, stopping" and "wlan0: removing interface",
then NetworkManager[2658] may have detected that, then spawned a new
dhcpcd but a few seconds later that received SIGTERM again;

till I open another terminal, `kill -KILL 2658`; then the dhcpcd could
run for long time;

# /usr/sbin/NetworkManager --no-daemon --log-level=debug
NetworkManager[2658]:    keyfile: parsing 自动 GoogleWiFi ...
NetworkManager[2658]:    keyfile:     read connection '自动 GoogleWiFi'
NetworkManager[2658]:    keyfile: parsing 自动 linksys ...
NetworkManager[2658]:    keyfile:     read connection '自动 linksys'
[...]
NetworkManager[2658]:    keyfile: parsing SCCL ...
NetworkManager[2658]:    keyfile:     read connection 'SCCL'
NetworkManager[2658]:    keyfile: parsing 自动以太网 ...
NetworkManager[2658]:    keyfile:     read connection '自动以太网'
NetworkManager[2658]:    keyfile: parsing ATT448 ...
NetworkManager[2658]:    keyfile:     read connection 'ATT448'
dhcpcd[2660]: version 5.5.6 starting
dhcpcd[2660]: all: not configured to accept IPv6 RAs
dhcpcd[2660]: wlan0: rebinding lease of 192.168.1.121
dhcpcd[2660]: wlan0: acknowledged 192.168.1.121 from 192.168.1.254
dhcpcd[2660]: wlan0: checking for 192.168.1.121
dhcpcd[2660]: wlan0: leased 192.168.1.121 for 86400 seconds
dhcpcd[2660]: received SIGTERM, stopping
dhcpcd[2660]: wlan0: removing interface
dhcpcd[2676]: version 5.5.6 starting
dhcpcd[2676]: all: not configured to accept IPv6 RAs
dhcpcd[2676]: wlan0: rebinding lease of 192.168.1.121
dhcpcd[2676]: wlan0: acknowledged 192.168.1.121 from 192.168.1.254
dhcpcd[2676]: wlan0: checking for 192.168.1.121
dhcpcd[2676]: wlan0: leased 192.168.1.121 for 86400 seconds
dhcpcd[2676]: received SIGTERM, stopping
dhcpcd[2676]: wlan0: removing interface
dhcpcd[2701]: version 5.5.6 starting
dhcpcd[2701]: all: not configured to accept IPv6 RAs
dhcpcd[2701]: wlan0: rebinding lease of 192.168.1.121
dhcpcd[2701]: wlan0: acknowledged 192.168.1.121 from 192.168.1.254
dhcpcd[2701]: wlan0: checking for 192.168.1.121
dhcpcd[2701]: wlan0: leased 192.168.1.121 for 86400 seconds
dhcpcd[2701]: received SIGTERM, stopping
dhcpcd[2701]: wlan0: removing interface


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]