Your message dated Sat, 21 Mar 2020 23:49:24 +0000
with message-id <[email protected]>
and subject line Bug#738548: fixed in amavisd-new 1:2.11.1-1
has caused the Debian Bug report #738548,
regarding systemd support
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 [email protected]
immediately.)
--
738548: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=738548
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: amavisd-new
Version: 1:2.7.1-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: systemd-units
X-Debbugs-CC: [email protected]
Hi,
the attached patch adds a systemd service file for the main amavisd-new
daemon. There are some slight changes in comparison to the init script:
* the daemon will start, if there are *.disabled files around for
configuration files (this was seemingly introduced in 2006, because of a
configuration change, so I guess this is probably not needed anymore)
* the tmp files will be deleted before the start of amavis
The patch was tested against the current git version.
diff -Nru amavisd-new-2.8.0/debian/amavisd-new.amavis.service amavisd-new-2.8.0/debian/amavisd-new.amavis.service
--- amavisd-new-2.8.0/debian/amavisd-new.amavis.service 1970-01-01 01:00:00.000000000 +0100
+++ amavisd-new-2.8.0/debian/amavisd-new.amavis.service 2014-02-08 17:40:16.000000000 +0100
@@ -0,0 +1,13 @@
+[Unit]
+Description=Interface between MTA and virus scanner/content filters
+After=network.target
+
+[Service]
+PIDFile=/run/amavis/amavisd.pid
+ExecStart=/usr/sbin/amavisd-new foreground
+ExecReload=/usr/sbin/amavisd-new reload
+ExecStartPre=-/usr/bin/find /var/lib/amavis -maxdepth 1 -name 'amavis-*' -type d -exec rm -rf "{}" \;
+ExecStartPre=-/usr/bin/find /var/lib/amavis/tmp -maxdepth 1 -name 'amavis-*' -type d -exec rm -rf "{}" \;
+
+[Install]
+WantedBy=multi-user.target
diff -Nru amavisd-new-2.8.0/debian/amavisd-new.amavis.tmpfile amavisd-new-2.8.0/debian/amavisd-new.amavis.tmpfile
--- amavisd-new-2.8.0/debian/amavisd-new.amavis.tmpfile 1970-01-01 01:00:00.000000000 +0100
+++ amavisd-new-2.8.0/debian/amavisd-new.amavis.tmpfile 2014-02-08 16:48:30.000000000 +0100
@@ -0,0 +1 @@
+d /run/amavis 0755 amavis amavis
diff -Nru amavisd-new-2.8.0/debian/control amavisd-new-2.8.0/debian/control
--- amavisd-new-2.8.0/debian/control 2014-02-08 01:10:52.000000000 +0100
+++ amavisd-new-2.8.0/debian/control 2014-02-07 18:37:17.000000000 +0100
@@ -4,7 +4,7 @@
Maintainer: Brian May <[email protected]>
Uploaders: Henrique de Moraes Holschuh <[email protected]>,
Alexander Wirt <[email protected]>
-Build-Depends: debhelper (>= 9), po-debconf, dh-exec
+Build-Depends: debhelper (>= 9), po-debconf, dh-exec, dh-systemd
Standards-Version: 3.9.4
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=amavisd-new/pkg-amavisd-new.git;a=summary
Vcs-Git: git://anonscm.debian.org/amavisd-new/pkg-amavisd-new.git
diff -Nru amavisd-new-2.8.0/debian/rules amavisd-new-2.8.0/debian/rules
--- amavisd-new-2.8.0/debian/rules 2014-02-08 01:10:52.000000000 +0100
+++ amavisd-new-2.8.0/debian/rules 2014-02-07 22:15:51.000000000 +0100
@@ -7,8 +7,10 @@
dh $@
override_dh_installinit:
+ dh_systemd_enable
dh_installinit --name=amavis
dh_installinit --name=amavisd-snmp-subagent
+ dh_systemd_start
override_dh_installchangelogs:
dh_installchangelogs -k RELEASE_NOTES
--- End Message ---
--- Begin Message ---
Source: amavisd-new
Source-Version: 1:2.11.1-1
Done: Brian May <[email protected]>
We believe that the bug you reported is fixed in the latest version of
amavisd-new, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Brian May <[email protected]> (supplier of updated amavisd-new 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 04 Feb 2020 07:58:33 +1100
Source: amavisd-new
Architecture: source
Version: 1:2.11.1-1
Distribution: unstable
Urgency: medium
Maintainer: Brian May <[email protected]>
Changed-By: Brian May <[email protected]>
Closes: 738548
Changes:
amavisd-new (1:2.11.1-1) unstable; urgency=medium
.
* Update to latest upstream version.
* Add systemd service file. Closes: #738548.
Checksums-Sha1:
91ca1b00162275feeeafeeb8809a1565f6473699 1971 amavisd-new_2.11.1-1.dsc
3e74ca29978b2563f8612faca4309f1ca566f6a0 875204 amavisd-new_2.11.1.orig.tar.bz2
890ac586d9ed505bcc74589d2d13de9a94545c90 59064
amavisd-new_2.11.1-1.debian.tar.xz
e119208834fdc3813830baed21afcab45ea65396 5561
amavisd-new_2.11.1-1_source.buildinfo
Checksums-Sha256:
34641990c879bbe8c953e3fd195394109dfed5baac5988a6591ab056c7353d9c 1971
amavisd-new_2.11.1-1.dsc
91e5dbe55354abcca14cedb26cbfa221866d2f897b0a7180b6dabea0bb948ad8 875204
amavisd-new_2.11.1.orig.tar.bz2
2d5ae1fea8e607eaba6246f7db071108e0886e5b4cb6fbb7ebccba5854d3605f 59064
amavisd-new_2.11.1-1.debian.tar.xz
b92e50ca8296d0325861983ff2e4b673011a845a483e719bf192153b88d8d54d 5561
amavisd-new_2.11.1-1_source.buildinfo
Files:
885d4b3c7b4f3e9bb931fa7bdd678b1b 1971 mail optional amavisd-new_2.11.1-1.dsc
f89fc043c790e35137121e45f2890703 875204 mail optional
amavisd-new_2.11.1.orig.tar.bz2
522fb70e79f0cb497ecfe1426ef22cbb 59064 mail optional
amavisd-new_2.11.1-1.debian.tar.xz
f6af211d65b4577b44bbbbfac5904c57 5561 mail optional
amavisd-new_2.11.1-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEKpwfR8DOwu5vyB4TKpJZkldkSvoFAl52oocACgkQKpJZkldk
Svoqhw/9G3dWg6MnF3oRcp2foAWnbhr90c2e/h+axwkL6hEouff8q05JD7V+RJFs
MtG+0eCfEL84xKua9oDyiCSfuPjrSdlGhIUePN1C0l/eVug7XH1JWfIjRPDKdpep
TzOT+dXArP+HZ+k8xXFa58Fdw6hSMtESZWWZ1gtyibpxgAIeWtNFe0ADtU36Rhd3
iS8Jx9x0mZPEVVYW+8j9z6z/ffeJEx5DKB41E8rgbeAJK0WyF1gIxvzwyadUNjJ1
CQyJe8Z7ObvxObldYs+Zz00rRL29tW9Bxcrw9qXVxYGTr2N2p0F2cf/1dbwxpnKy
f09Xvb85iYKpqYWTXiV5H1/n637IQP0X8hQoy/z5s5AGm+bRT3Y1kHGksLgsHWCb
nnPAxtiRlx2uI4O9OaTcN/na0detMs19vOBWRI3oAXBZyNJSV43oGsylPHUljp9R
ONSPYHt1EqGq6RiR27Vhonnb+MUx67MddKTwO5BWFrfvIxTaKQmCawZCBP632Ycq
ELe+ZWAE/74aaJehGnHiOPOkTIj/AICO1sVCF4VQ84F5GbblGIOknB00ntxXCuT6
1WavcKgyzfcZGq5cJHpsBRo0yFv+voLt1XdRm99BrqUeoSHFI8JJBGmBnQ4xWW9W
TiGBHI93DG/Q1wg7E/F5qmkrNtN4IlaLpiG7UXlJ+RWzRv8xYjY=
=owBT
-----END PGP SIGNATURE-----
--- End Message ---