HWI
HWI copied to clipboard
Installudevrules command execution fails when symlinks are present
Although I haven't encountered the issue myself, I am getting regular reports (3 in the last week) that the installudevrules
command is failing. See one example here: https://github.com/sparrowwallet/sparrow/issues/330
The output on failure is:
{"error": "installudevrules failed: Command '['/usr/sbin/udevadm', 'trigger']' returned non-zero exit status 1.", "code": -13}
Running
> sudo which udevadm
/usr/sbin/udevadm
> sudo ls -al /usr/sbin/udevadm
lrwxrwxrwx. 1 root root 14 Nov 15 07:21 /usr/sbin/udevadm -> ../bin/udevadm
Installing the rules using the commands in https://github.com/bitcoin-core/HWI/tree/master/hwilib/udev however works fine. The only difference I can find between the users system and mine is the presence of the symlink.