tiny-pilot / tiny-pilot/tinypilot
Update Target / WantedBy in systemd service definitions
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.5k
- Forks
- 291
- PR merge metrics
- No merged PRs in 30d
Description
Running lintian on our Debian package after pulling in the service definitions results in lint errors about our Target and WantedBy values
W: tinypilot: ]8;;https://lintian.debian.org/tags/systemd-service-file-refers-to-obsolete-targetsystemd-service-file-refers-to-obsolete-target]8;; syslog.target [lib/systemd/system/update-tls-cert-common-name.service]
W: tinypilot: ]8;;https://lintian.debian.org/tags/systemd-service-file-refers-to-obsolete-targetsystemd-service-file-refers-to-obsolete-target]8;; syslog.target [lib/systemd/system/usb-gadget.service]
W: tinypilot: ]8;;https://lintian.debian.org/tags/systemd-service-file-refers-to-unusual-wantedby-targetsystemd-service-file-refers-to-unusual-wantedby-target]8;; local-fs.target [lib/systemd/system/update-tls-cert-common-name.service]
W: tinypilot: ]8;;https://lintian.debian.org/tags/systemd-service-file-refers-to-unusual-wantedby-targetsystemd-service-file-refers-to-unusual-wantedby-target]8;; local-fs.target [lib/systemd/system/usb-gadget.service]
Exited with code exit status 2
These have always been the values we've used, so this isn't urgent, but maybe we can find better ones.
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 lib/systemd/system/update-tls-cert-common-name.service and lib/systemd/system/usb-gadget.service, then review the linked lintian tags to understand acceptable Target and WantedBy values. Run lintian on the Debian package after updating both service definitions; done means the reported systemd target warnings are gone.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- debian, linux
- Domain
- devops, operating-systems
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100