SiaFoundation / SiaFoundation/linux

Option to ask/not overwrite previous hostd.service

Open
#179 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
3
Forks
1
Avg merge
58m
Merged PRs (30d)
11

Description

Hi, currently everytime hostd upgrade, it will overwrite hostd.service file in /etc/systemd/system/hostd.service file.

I believe there are better options:

  1. Show user the diff / ask user what to do with it.
  2. When upgrade in non interactive mode - it should left previous hostd.service version untouch and maybe create hostd.service-dpkg file (for newer version - I'm not sure what is the best practice on debian).

Contributor guide

No contributing guide indexed for this repository

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 by reviewing how the Debian package installs and upgrades /etc/systemd/system/hostd.service, including behavior in interactive and non-interactive upgrades. Compare Debian's handling of locally modified configuration files with the requested alternatives. Done means the upgrade behavior is defined for both modes and avoids silently overwriting a customized service file.

Written by the indexing model from the issue text.

Assessment

Tech stack
debian
Domain
infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.