Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue installing Udev rules on Fedora #330

Open
heredia21 opened this issue Nov 29, 2021 · 9 comments
Open

Issue installing Udev rules on Fedora #330

heredia21 opened this issue Nov 29, 2021 · 9 comments

Comments

@heredia21
Copy link

heredia21 commented Nov 29, 2021

When running the cmd from the tools menu, receive the following:

{"error": "installudevrules failed: Command '['/usr/sbin/udevadm', 'trigger']' returned non-zero exit status 1.", "code": -13}

Posted to Telegram, will look into installing rules manually for now.

@craigraw
Copy link
Collaborator

craigraw commented Dec 2, 2021

Can you try running

sudo udevadm trigger

Although this is an HWI issue, I'd like to try understand the cause better before reporting it there.

@heredia21
Copy link
Author

Sure. Just ran it, there was no output.

@heredia21
Copy link
Author

For additional context, I was able to connect a hardware wallet via USB without adding the rules using the command in the tools menu or manually adding any rules.

@craigraw
Copy link
Collaborator

craigraw commented Dec 2, 2021

Thanks - I have an idea why this is failing - can you run:

which udevadm

@heredia21
Copy link
Author

/usr/bin/udevadm

@craigraw
Copy link
Collaborator

craigraw commented Dec 2, 2021

Thanks. This bug should have been fixed by bitcoin-core/HWI@09a747a#diff-8f45a7bfeefe87cef7c8e7b568f82e0124383ca86a3a57e686134eee1e86e909

What is strange though is where the incorrect /usr/sbin/udevadm in the error message is arrived at - do you get the same result from

sudo which udevadm

FWIW my udevadm is in the same location and the installudevrules command works fine.

@heredia21
Copy link
Author

When running using sudo I get:

/usr/sbin/udevadm

@craigraw
Copy link
Collaborator

craigraw commented Dec 2, 2021

Aha - does that exist? Or perhaps a symlink? What does this output?

sudo ls -al /usr/sbin/udevadm

@heredia21
Copy link
Author

lrwxrwxrwx. 1 root root 14 Nov 15 07:21 /usr/sbin/udevadm -> ../bin/udevadm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants