p910nd default options fail to work
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
Maintainer: @danielfdickinson
Environment: (MIPS, TP-Link Archer C7 v2, 19.07.4 - OpenWrt 19.07.4 r11208-ce6496d796 / LuCI openwrt-19.07 branch git-20.247.75781-0d0ab01)
Description:
Default p910nd adds config file with option runas_root '0' but despite the p910nd user being added to /etc/passwd the service crashes when running with this option set. The service also tries to set the option port '0' by default which prevented my printer from working, I needed to remove the port statement for my HP DeskJet J510 series 2050 to print.
Service only runs successfully with:
option runas_root '1'
Also only connects to printer with:
# option port '0'
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 by locating the OpenWrt package definition and service configuration for p910nd, then inspect how the default runas_root and port options are generated. Reproduce the reported failure on the stated OpenWrt environment if possible; done means the default service runs and the printer connection works without manual configuration changes.
Written by the indexing model from the issue text.
Assessment
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100