aws / aws/aws-codedeploy-agent
Debian package installs systemd service to /etc/init.d instead of a valid unit directory
- Vorherrschende Sprache
- Rust
- Sterne
- 337
- Forks
- 195
- Ø Merge
- 10 Std. 54 Min.
- Gemergte PRs (30 T.)
- 4
Beschreibung
Just installed the agent on an Ubuntu 16.04 machine (version 1.0-1.1231 according to apt), and I noticed there is a `/etc/init.d/codedeploy-agent.service` file, which makes no sense, since there is already an init script there (`/etc/init.d/codedeploy-agent`), and the correct location for the systemd service is `/lib/systemd/system` or `/etc/systemd/system`.
I can confirm the issue by downloading the deb file and listing it`s files:
```bash
$ dpkg -c codedeploy-agent_1.0-1.1231_all.deb | grep init.d
drwxr-xr-x awsadmin/amazon 0 2017-07-05 18:42 etc/init.d/
-rw-r--r-- awsadmin/amazon 460 2017-07-05 18:42 etc/init.d/codedeploy-agent.service
-rwxr-xr-x awsadmin/amazon 3022 2017-07-05 18:42 etc/init.d/codedeploy-agent
```
Beitragsleitfaden
Rechercherichtung
Untersuche das Debian-Paketmanifest, das codedeploy-agent.service unter etc/init.d/ platziert, und vergleiche anschließend den Paketinhalt mit dem im Issue gezeigten Befehl dpkg -c. Erledigt bedeutet, dass die Servicedatei in einem gültigen systemd-Unit-Verzeichnis paketiert ist, während das vorhandene Init-Skript unter /etc/init.d/ verbleibt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- debian, linux, ubuntu
- Bereich
- devops, operating-systems, release
- Issue-Typ
- Bug
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 38/100