Public bug reported:

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: udev (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "apport.udev.4i7ad2c3.apport"
   
https://bugs.launchpad.net/bugs/1839156/+attachment/5281235/+files/apport.udev.4i7ad2c3.apport

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839156

Title:
  TCP/IP connection stuck when called from UDEV rule

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1839156/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to