<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi,</p>
<p>If I understand correctly, this mailing list can be used for
questions about udev as well as about systemd. If that's not
correct, somebody please let me know and I will go elsewhere (and
if you know where that "elsewhere" should be, please let me know,
that would be helpful!); I don't mean to use the list incorrectly.</p>
<p>I want to call a webhook inside a script run via a RUN directive
in a udev rule.</p>
<p>When I try to do this, curl says it's unable to resolve the host
name of the URL I am asking it to fetch.</p>
<p>To collect more data about the cause of this issue, I also tried
doing a "ping -c 1 8.8.8.8" inside the script, and it gets,
"sendmsg: Operation not permitted."</p>
<p>I assume this means udev scripts are running inside some sort of
restricted environment or something, but I can't figure out what
controls the restrictions on that environment, whether I can
loosen them, or how.</p>
<p>I'm on Ubuntu 18.04.</p>
<p>Any advice?</p>
<p>Thank you,</p>
<p>Jonathan Kamens<br>
</p>
</body>
</html>