[pmg-devel] [PATCH proxmox-mailgateway 0/4] packaging adaptations and fixing a glitch for the container metapackage

Stoiko Ivanov s.ivanov at proxmox.com
Fri Dec 27 19:36:37 CET 2019


While testing the container template for PMG 6.1 I noticed that after the first
boot clamav-daemon was not running. It did not start, because the
virus-definitions were not present. This happens because they are usually
downloaded by 'freshclam' upon its package installation.

The glitch was addressed by adding the 'initial-freshclam.service', which adds
a dependency on itself to clamav-(daemon|freshclam) and blocks while downloading
them on first boot

While adding the file I adapted the packaging to use debhelper for all targets


Stoiko Ivanov (4):
  bump debian compat level to 12
  use debhelper for all targets
  add package specific lintian overrides
  add initial-freshclam.service to pmg-container

 debian/changelog                              |  6 +++++
 debian/compat                                 |  2 +-
 debian/control                                |  2 +-
 debian/lintian-overrides                      |  1 -
 ...ateway-container.initial-freshclam.service | 18 ++++++++++++++
 ...ox-mailgateway-container.lintian-overrides |  2 ++
 debian/rules                                  | 24 ++++---------------
 7 files changed, 32 insertions(+), 23 deletions(-)
 create mode 100644 debian/proxmox-mailgateway-container.initial-freshclam.service
 create mode 100644 debian/proxmox-mailgateway-container.lintian-overrides

-- 
2.20.1




More information about the pmg-devel mailing list