Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#42867 - [dhcpcd] outputs several million lines of logging to journald. (received signal PIPE)
Attached to Project:
Arch Linux
Opened by Felix Esch (Araeos) - Friday, 21 November 2014, 18:13 GMT
Last edited by Anatol Pomozov (anatolik) - Saturday, 31 October 2015, 05:31 GMT
Opened by Felix Esch (Araeos) - Friday, 21 November 2014, 18:13 GMT
Last edited by Anatol Pomozov (anatolik) - Saturday, 31 October 2015, 05:31 GMT
|
DetailsDescription:
dhcpcd (managed by NetworkManager) outputs several million lines per minute of logging to the journal, all of the form: ... Nov 21 17:12:55 Caeros dhcpcd[5329]: received signal PIPE Nov 21 17:12:55 Caeros dhcpcd[5329]: received signal PIPE Nov 21 17:12:55 Caeros dhcpcd[5329]: received signal PIPE Nov 21 17:12:55 Caeros dhcpcd[5329]: received signal PIPE Nov 21 17:12:55 Caeros dhcpcd[5329]: received signal PIPE Nov 21 17:12:55 Caeros dhcpcd[5329]: received signal PIPE ... Details: As you can see in the attached journal log, the spamming starts after systemd-journald spontaneously restarted (it wasn't me ^^). The processes dhcpcd and systemd-journal each take up almost 100% cpu in top (100% systemd-journal and ~60% dhcpcd). After the continuous logging starts I can only stop it by killing dhcpcd directly ("systemctl restart NetworkManager" alone did not work). Additional info: dhcpcd version 6.6.2-1 networkmanager version 0.9.10.0-4 The dhcpcd process is invoked by NetworkManager with "/usr/bin/dhcpcd -B -K -L -G -c /usr/lib/networkmanager/nm-dhcp-helper enp2s0". This bug occured on my laptop 2 times during seemingly normal browsing activity in the last week. Steps to reproduce: 1. Start dhcpcd (maybe only via NetworkManager, untested as standalone). 2. Execute "systemctl restart systemd-journald" 3. wait for a while until dhcpcd starts outputting several million lines of logging. (This may take several minutes). 4. Only way to stop this is by killing "dhcpcd" (with SIGKILL). |
This task depends upon
Closed by Anatol Pomozov (anatolik)
Saturday, 31 October 2015, 05:31 GMT
Reason for closing: Won't fix
Saturday, 31 October 2015, 05:31 GMT
Reason for closing: Won't fix
Here is an excerpt from my journal when I try to connect to wifi after this bug occurs:
...
NetworkManager[245]: <info> (wlp1s0): supplicant interface state: completed -> disconnected
NetworkManager[245]: <info> (wlp1s0): deactivating device (reason 'none') [0]
NetworkManager[245]: <info> (wlp1s0): device state change: failed -> disconnected (reason 'none') [120 30 0]
NetworkManager[245]: <info> Activation (wlp1s0) Stage 4 of 5 (IPv6 Configure Timeout) complete.
NetworkManager[245]: <info> NetworkManager state is now DISCONNECTED
NetworkManager[245]: <info> (wlp1s0): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
NetworkManager[245]: <info> Activation (wlp1s0) Stage 4 of 5 (IPv6 Configure Timeout) started...
NetworkManager[245]: <info> Activation (wlp1s0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
NetworkManager[245]: <info> Activation (wlp1s0) Stage 4 of 5 (IPv4 Configure Timeout) complete.
NetworkManager[245]: <info> Activation (wlp1s0) Stage 4 of 5 (IPv4 Configure Timeout) started...
NetworkManager[245]: <info> Activation (wlp1s0) Stage 4 of 5 (IPv4 Configure Timeout) scheduled...
NetworkManager[245]: <info> (wlp1s0): DHCPv4 client pid 3960 exited with status -1
NetworkManager[245]: <info> Activation (wlp1s0) Stage 3 of 5 (IP Configure Start) complete.
NetworkManager[245]: <info> dhcpcd started with pid 3960
NetworkManager[245]: <info> Activation (wlp1s0) Beginning DHCPv4 transaction (timeout in 45 seconds)
NetworkManager[245]: <info> (wlp1s0): device state change: config -> ip-config (reason 'none') [50 70 0]
NetworkManager[245]: <info> Activation (wlp1s0) Stage 3 of 5 (IP Configure Start) started...
NetworkManager[245]: <info> Activation (wlp1s0) Stage 3 of 5 (IP Configure Start) scheduled.
NetworkManager[245]: <info> Activation (wlp1s0/wireless) Stage 2 of 5 (Device Configure) successful. Connected to wireless network 'mersd_guest'.
NetworkManager[245]: <info> (wlp1s0): supplicant interface state: authenticating -> completed
NetworkManager[245]: <info> (wlp1s0): supplicant interface state: inactive -> authenticating
...
Using the OP, the command line would be /usr/bin/dhcpcd -B -K -L -G enp2s0
Obviously change the interface if needed.
There is an issue when running >1 instance of dhcpcd which is fixed in the newly released dhcpcd-6.6.5 which *may* be related.
It seems NetworkManager switched to dhclient because dhcpcd is not started anymore by default.
I also tried the suggested command manually "/usr/bin/dhcpcd -B -K -L -G enp2s0" using dhcpcd version 6.6.7 to no avail.
In conclusion this might sort of fixed itself as long as NetworkManager uses dhclient.