-
-
Notifications
You must be signed in to change notification settings - Fork 334
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
upsdrvctl start no longer works (insufficient permissions on everything) #2447
Comments
Just in case, did you make sure to stop any driver instances that could be running wrapped as a systemd service instance (could be created by NDE - see https://github.com/networkupstools/nut/wiki/nut%E2%80%90driver%E2%80%90enumerator-(NDE) and block the defvs node by actually working)? Also check if the |
yeah, i stopped everything. that log is triggered by a manual execution, but without touching anything i have the usual crash loop:
as for the last comment, maybe i wasn't clear, but by "no longer works" i meant that i had no issues for a while, didn't touch anything and at some point it just stopped working, so yes, udev has no issues and the rules are there. |
Well, at face value - the error is that when your copy of the NUT driver tries talking to the device, the OS says it is busy talking to someone else (if the basic devfs ownership/permissions are not the reason). There may be a lot of reasons, including e.g.:
Thinking of it, maybe |
thanks for the help so far. we can remove the last two points since it's a bare metal machine. it doesn't seem to be the second either as it seems that i should have been clearer from the start so let me know if you need other info :) |
You can also try to go deeper into OS-level tracing (with |
strace only adds this
|
Is that devfs node owned by this account? Maybe you ended up with some other udev rule that changes it elsewhere?.. |
as per the rules file, which i didn't edit, it's owned by root (ownership isn't changed) but group is
|
i've seen this reported elsewhere (e.g. #1983). in my case it plainly stopped working, but i don't know when.
briefly:
Bus 002 Device 005: ID 0764:0501 Cyber Power System, Inc. CP1500 AVR UPS
)nut-scanner
works as root/lib/nut/usbhid-ups -a ups -DD
fails with the followingThe text was updated successfully, but these errors were encountered: