[Bug 1839156] [NEW] TCP/IP connection stuck when called from UDEV rule

Launchpad Bug Tracker 1839156 at bugs.launchpad.net
Thu Aug 6 21:18:41 UTC 2020


You have been subscribed to a public bug:

It seems that in Eoan there is a lock/any other issue preventing
particular system calls to be executed by the triggered action handler.
I have an action executing wget when USB-serial adapter is plugged:

SUBSYSTEM=="tty", ACTION=="add", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="7523", MODE="0666", RUN+="/usr/bin/wget -v --method=POST http://127.0.0.1:4000/udev_trigger/add"
This action works perfectly in a prior versions - but in Eoan Ermine it hangs for ~30s and fails on a timeout. Analysis with strace shows that execution is stuck on connect() syscall - until it returns with ETIMEDOUT.

Same Wget command, being run from a command line, works perfectly.

The issue doesn't seem to be related to a particular IP
(localhost/remote) and/or the status of a listener process - execution
hangs also when listener is not running and port is free.

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
TCP/IP connection stuck when called from UDEV rule
https://bugs.launchpad.net/bugs/1839156
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to systemd in Ubuntu.



More information about the foundations-bugs mailing list