Nut_server wrong driver option
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
Maintainer: common packages maintainers
Environment: ARMv8 Processor rev 0, Bananapi BPI-R4, OpenWrt 24.10.0-rc2 r28161-ea17e958b9
Description:
Use luci nut panel to create /etc/config/nut_server file. Try to start nut-server without success.
After some investigation, found that the driver option in config file nut_server was not properly written.
Luci give this driver option /lib/nut/usbhid-ups and send this to the file.
After change the config file manualy from
option driver '/lib/nut/usbhid-ups'
to
option driver 'usbhid-ups'
erverything work as expected.
Salutations.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the LuCI NUT panel and the generated /etc/config/nut_server file; compare the driver value it writes with the value accepted by nut-server. Reproduce the failure by starting nut-server, then verify that the generated configuration uses usbhid-ups and the service starts successfully.
Written by the indexing model from the issue text.
Assessment
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100