Your message dated Thu, 13 Jun 2024 09:49:08 +0000
with message-id <e1shh4u-00e9jo...@fasolo.debian.org>
and subject line Bug#950952: fixed in aprx 2.9.1-2
has caused the Debian Bug report #950952,
regarding aprx: missing-systemd-service-for-init.d-script
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
950952: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950952
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: aprx
Version: 2.9.0+dfsg-2
Severity: normal
Tags: bullseye sid

Dear Maintainer,

Please consider adding a native systemd service masking the already
shipped init script (fixes lintian tag[1] in subject).

I've attached my own attempt at writing a service file, based off
looking at what the init script does. Note that it is completely
untested (as I don't use aprx myself).
You can install the aprx.service file by simple dropping it into
the debian/ directory and debhelper will handle it for you (however
note that the current compat level 11 is discuraged, so you might want
to move to either 10 or 12).

Please note that the service file could be simplified. By adding
the aprx -i flag the program will run in the foreground and you
could use Type=simple. It is also recommended *not* to use
EnvironmentFile and setting options via /etc/default files, but instead
use 'systemctl edit aprx.service' so that systemd-delta will be able
to show any customizations. I however opted for the attached way
as the user might already have some important settings in DAEMON_OPTS
that I'm not aware of.

Additional improvements eg. using security hardening[2] could also be
added.

Regards,
Andreas Henriksson


[1]: 
https://lintian.debian.org/tags/missing-systemd-service-for-init.d-script.html
[2]: 
https://lintian.debian.org/tags/systemd-service-file-missing-hardening-features.html
[Unit]
Description=Monitor and gateway radio amateur APRS radio network datagrams
After=network.target

[Service]
Type=forking
PIDFile=/run/aprx.pid
EnvironmentFile=-/etc/default/aprx
ExecStart=/usr/sbin/aprx $DAEMON_OPTS
#TODO: security hardening

[Install]
WantedBy=multi-user.target

--- End Message ---
--- Begin Message ---
Source: aprx
Source-Version: 2.9.1-2
Done: Christoph Berg <m...@debian.org>

We believe that the bug you reported is fixed in the latest version of
aprx, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 950...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christoph Berg <m...@debian.org> (supplier of updated aprx package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 13 Jun 2024 11:03:51 +0200
Source: aprx
Architecture: source
Version: 2.9.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Hamradio Maintainers <debian-h...@lists.debian.org>
Changed-By: Christoph Berg <m...@debian.org>
Closes: 950952
Changes:
 aprx (2.9.1-2) unstable; urgency=medium
 .
   * Team upload.
   * Install aprx.service, thanks Andreas Henriksson. (Closes: #950952)
   * Drop lsb-base dependency.
Checksums-Sha1:
 a77bcbd6a70a33011654c24a7a3c4777f9e3834b 1922 aprx_2.9.1-2.dsc
 7d9e80d35c54f828fbc6d08b69ec872327bc6929 8888 aprx_2.9.1-2.debian.tar.xz
Checksums-Sha256:
 cfc5db6d7c129c0017349eb5fb9038d099d0282d5399b2005b29fc45fb7f5469 1922 
aprx_2.9.1-2.dsc
 5184e3a34c1f4c6dae9be6193122ed688a599c498da69942ae94378bd07db195 8888 
aprx_2.9.1-2.debian.tar.xz
Files:
 423a989b1e3203ddcdd1b231e590dd8c 1922 hamradio optional aprx_2.9.1-2.dsc
 c92503c3de5a6ece42cfe038d11ffca8 8888 hamradio optional 
aprx_2.9.1-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEXEj+YVf0kXlZcIfGTFprqxLSp64FAmZqwAoACgkQTFprqxLS
p67I+RAArWPfpHud2VRCy/6+8ruqRd33J1BQgV+otAviB5WFI0vip3+g87YCGd71
UPgN1iOQOjFr8Z+fV03XsAdgoPDf/ndZVxHiOn/cUBN4NdNIEd5NdCHHRXhMLUXI
PhNmB7G58HRqm6fOjSdEUcsT0DHd1x/6fuXUE6948UsF+ghRWnOV/MfxFs1RrrVp
zll6ARXnDmPNu954SAYy8m35Pc80AItjKzStPAIcVXqwZCChmCFqK8tIQEdhnIUq
3tNWaQ/UHRPN43JcbIopiqvFoDqynIC0rvLv748Mx7uTfY0FTGZel4wGCB2dVr53
jc1W/tptTv4Mtv6XQJ4iZws75U2/eTIF1bhZ7hXlHkKIiOjLCC/8+mo5N9pp+XMW
AfrnYgLSOgLk3z4vRuiHaZonuzDsQMCuIOdvH3jgju0Pl76xsgEXIH1a68Oa/XV/
aDYnsfbNyCiuL5aCV6hwAFIqXAwfMJb4ogmxpKfPlncnN+BADC8qNXxgrZWl6y1z
xUhf2unfHsoOtXpCXfcs1Z8SymtLmy2WefXryzpBExr+oP9At0bkf+uUHnOdGqOM
e0ZXx1dudPHYTaSINvHZ3IVEzZZFiQMe3ZE8XeY8V3Kcg1eVMNgTj/tSZ8GT6nRa
fc9+BiB4wNkiP5kmHOVOSepScgwEgBZo4mcpFR9pmpm8SRPtUvI=
=dOa2
-----END PGP SIGNATURE-----

Attachment: pgp04BBNrpZ3G.pgp
Description: PGP signature


--- End Message ---

Reply via email to