tiny-pilot / tiny-pilot/tinypilot

Update Target / WantedBy in systemd service definitions

Open
#1,207 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.