[Bug 1839156] Re: TCP/IP connection stuck when called from UDEV rule
Nick Rosbrook
1839156 at bugs.launchpad.net
Wed Jul 5 20:02:00 UTC 2023
udev restricts this sort of thing for security reasons, so this is
working as expected.
** Changed in: systemd (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1839156
Title:
TCP/IP connection stuck when called from UDEV rule
Status in systemd package in Ubuntu:
Invalid
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1839156/+subscriptions
More information about the foundations-bugs
mailing list