[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#950943: marked as done (psad: missing-systemd-service-for-init.d-script)



Your message dated Fri, 15 Oct 2021 12:34:25 +0000
with message-id <E1mbMPp-000BNg-1L@fasolo.debian.org>
and subject line Bug#950943: fixed in psad 2.4.6-2
has caused the Debian Bug report #950943,
regarding psad: 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 owner@bugs.debian.org
immediately.)


-- 
950943: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950943
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: psad
Version: 2.4.3-1.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 psad myself).

You should be able to just drop the psad.service in the debian/
directory and then I would recommend bumping debhelper compat to >= 10
which will give you automatic handling of the service file (and also
note that debhelper 9 is now deprecated).

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=Port Scan Attack Detector (psad)
After=network.target
ConditionPathExists=/etc/psad/psad.conf
Wants=netfilter-persistent.service

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

[Install]
WantedBy=multi-user.target

--- End Message ---
--- Begin Message ---
Source: psad
Source-Version: 2.4.6-2
Done: Thiago Andrade Marques <andrade@debian.org>

We believe that the bug you reported is fixed in the latest version of
psad, 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 950943@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thiago Andrade Marques <andrade@debian.org> (supplier of updated psad 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 01 Oct 2021 19:41:53 -0300
Source: psad
Architecture: source
Version: 2.4.6-2
Distribution: unstable
Urgency: medium
Maintainer: Thiago Andrade Marques <andrade@debian.org>
Changed-By: Thiago Andrade Marques <andrade@debian.org>
Closes: 950943 993745
Changes:
 psad (2.4.6-2) unstable; urgency=medium
 .
   * New maintainer. (Closes: #993745)
   * Using new DH level format. Consequently:
       - debian/compat: removed.
       - debian/control: changed from 'debhelper' to 'debhelper-compat' in
         Build-Depends field and bumped level to 13.
   * debian/control:
       - Added Pre-Depends field.
       - Updated the Architecture field.
       - Updated the Maintainer field.
       - Updated to Standards-Version 4.6.0.1.
   * debian/copyright:
       - Rearranged all license fields.
       - Updated packaging copyright field.
       - Updated upstream and upstream package year.
       - Updated upstream license field.
   * debian/patches/*:
       - 10_cross.patch: added Forwarded field.
       - Renamed cross.patch to 10_cross.patch and fixes_build.diff
         to 20_fixes_build.patch
   * debian/psad.install: added.
   * debian/psad.service: added. Thanks to Andreas Henriksson <andreas@fatal.se>.
       (Closes: #950943)
   * debian/README.debian: removed, no loonger needed.
   * debian/rules: full updated.
   * debian/salsa-ci.yml: updated.
Checksums-Sha1:
 36bb5229639dc2feba47aed4b4a0da77e7429fa4 2026 psad_2.4.6-2.dsc
 ee3ce36430cbb9cfaa67d37e5d193a0c3845048b 15880 psad_2.4.6-2.debian.tar.xz
 f212a84cacc181c3ac5d12db1f228e046c665726 5601 psad_2.4.6-2_source.buildinfo
Checksums-Sha256:
 9f2cb2e54673497b2c14983f09abca2293aea885273cd6caac478c8e8cce6d1a 2026 psad_2.4.6-2.dsc
 8cf7413e51f50b8d93f5a242389a97452e958225f789e3c039873a2f5df6a6da 15880 psad_2.4.6-2.debian.tar.xz
 3250d8eeffb1b5592cdcf3bd5c6e85abc14114e7e0e128801eacbf892d83095f 5601 psad_2.4.6-2_source.buildinfo
Files:
 9f1dfda94af4aa161c3fa15cc1d65e62 2026 admin optional psad_2.4.6-2.dsc
 236ce37a7fd5e0b28b8a379d4fbaa48c 15880 admin optional psad_2.4.6-2.debian.tar.xz
 c150e1f275fdb4b1d890a46d5ec6be0f 5601 admin optional psad_2.4.6-2_source.buildinfo

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

iQIzBAEBCgAdFiEEHTjuPGJPlVzh+jyFWjA1kfjNsIsFAmFpZq8ACgkQWjA1kfjN
sIsGDg//VN0go9fwxmaxI4GRxp18SGBqeyYEMrWsUkscD/g++9xZfrlXnKBEr+0K
Ho5PvuNGPsFuXxhsZBPcG3Ij6C1ozG8m3D0H1c9VGimxo5c7qBgR1fELIfvqygVZ
AIormg6lpnJvxn59QWdty+1qT5usF13qoc4XeZeVxWe4JYnfNj68LU0AJpIZIucr
KEfHDMN/Hi6jKJPJJD7fDVLiEnHop7XWwK16pHf3fsLyv4roFiFpRpShRfaTrYty
XjtCb7LjU5hX1tBSl8PkuIm2Y1oPhsOROmFXLbefL4ri4yIljnJdwRl7JFH1Q84T
Yz1wPbnm0mTI4yfw8Xtslf4cHoGDfk+jEWkxWsGjrt3mvB7K5sAoQprtKPt8gwV2
QlfCFqIRddqgLln1H60MJ1uDTKt4A1GN6OypxYhU6sqTz4/iZGWyC4sdOWQBu5P5
L2hxIUmZEXJq/4Uu5lbQCbsOxTy/IbPKhNNhrsNEWbUDI0FWG8zZkReUwL2v5xP2
YGjUpTeheXaJH2rQ+NLQf5mNVs/CVp4K3osVHyK4kuZPG2cyDlOf5GTI0uiRKWFL
LQRDO3rEH+AGFkLn4Aj05oGUHHI9vJiwWa8fvXrIvFaGQhhTjQNQICSdPp1E/zZZ
xBYWgF4P1NnkGU+4ewJqK5Skd4Zrt9aVKCtZVw2AIT22waP6IRc=
=pAUU
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: