Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • Hmm, I don't think that's the issue. touch resolves to /bin/touch according to the posted debug output. What's your source for "Your rule must give an absolute path for executable"? Commented Jan 4, 2016 at 18:36
  • 1
    freedesktop.org/software/systemd/man/udev.html "Execute an external program specified as the assigned value. If no absolute path is given, the program is expected to live in /usr/lib/udev; otherwise, the absolute path must be specified." Commented Jan 4, 2016 at 19:53
  • 1
    Ah. The man page you linked to appears to come from systemd, but the question specifically asks about RHEL 6, which does not have systemd. I checked the man page for udev on RHEL 6, and no dependency on an absolute path to a program is given there. Commented Jan 4, 2016 at 21:41
  • Thanks for pointing out the path and env issue. My script was missing the #!/bin/bash at the beginning of the same ant that was the issue. Commented May 20, 2019 at 15:39