Menu

#388 udev rule breaks operating systems

0.10.3
closed
None
fixed
2026-02-06
2025-12-26
No

When inserting some devices I get critical error "udevd[n]: failed to execute '/usr/bin/sh' '/usr/bin/sh -c '/usr/bin/setfacl -m g:lirc:rw /dev/bus/usb/001/009 2>/dev/null || :'': No such file or directory" so then the devices don't work; their drivers entirely fail. It's not even infrared devices, but all kinds of non-infrared USB devices, etc. The standard shell location is /bin/sh. Use it! Maybe you program on some OS that did the stupid usr-merge, but many aren't doing that, so you should keep the software general for all sorts of GNU/Linux.

Related

Tickets: #388

Discussion

  • Sean Young

    Sean Young - 2026-01-06

    How do I reproduce this issue? What distribution do I use and how do install lirc?

    I'd like to make sure your fix actually works. This path has been in use way even before usr-merge became a thing, I think.

     
    • David Chmelik

      David Chmelik - 2026-01-08

      On 1/6/26 2:12 PM, Sean Young wrote:

      How do I reproduce this issue?
      Install on any GNU/Linux only using standard /bin/sh.  Insert USB
      devices such as small wi-fi, bluetooth adapters.

      What distribution do I use and how do install lirc?
      Slackware GNU/Linux, for example.  You can follow your own instructions
      or use (as root/sudo) SlackBuild package building script (which follows
      your instructions): http://slackbuilds.org/repository/15.0/system/lirc/
      .  Afterwards (as root) installpkg /tmp/lirc*z .  I recall this
      happening on Slackware 15-stable (which got updates recent days) but I
      use Slackware 15+current which has the problem.

      I'd like to make sure your fix actually works. This path has been in use way even before usr-merge became a thing, I think.
      Maybe there's a way you can use both?  If they did usr-merge, there's
      generally still /bin/sh; /bin or /usr/bin points to the other with
      everything (have /bin/sh, /usr/bin/sh, same).  If they didn't usr-merge,
      they typically only have /bin/sh.  If I was doing this I'd stick with
      the standard /bin/sh.

      I did 'ln -s /bin/sh /usr/bin/sh' and then could use USB devices, so I
      know keeping standard path works... one shouldn't need to do this
      non-standard thing though, and even some/many Slackware users won't know
      this.


      [tickets:#388] udev rule breaks operating systems

      Status: open
      Milestone: Future
      Created: Fri Dec 26, 2025 05:52 AM UTC by David Chmelik
      Last Updated: Fri Dec 26, 2025 05:52 AM UTC
      Owner: nobody

      When inserting some devices I get critical error "udevd[n]: failed to execute '/usr/bin/sh' '/usr/bin/sh -c '/usr/bin/setfacl -m g:lirc:rw /dev/bus/usb/001/009 2>/dev/null || :'': No such file or directory" so then the devices don't work; their drivers entirely fail. It's not even infrared devices, but all kinds of non-infrared USB devices, etc. The standard shell location is /bin/sh. Use it! Maybe you program on some OS that did the stupid usr-merge, but many aren't doing that, so you should keep the software general for all sorts of GNU/Linux.


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/lirc/tickets/388/

       

      Related

      Tickets: #388

  • Sean Young

    Sean Young - 2026-02-06
    • status: open --> closed
    • assigned_to: Sean Young
    • Resolution: na --> fixed
    • Milestone: Future --> 0.10.3
     

Log in to post a comment.