Package: nullmailer
Version: 1:2.2-3
Severity: grave
Tags: patch
Justification: renders package unusable

Dear Maintainer,

The systemd unit file /lib/systemd/system/nullmailer.service does not
create the fifo file /var/spool/nullmailer/trigger as their init.d
equivalent did. That causes nullmailer-send to exit with the following
error without sending the mail in the queue:

  Could not open trigger file: No such file or directory

This could be solved adding to the systemd service definition
(/lib/systemd/system/nullmailer.service) this line:

ExecStartPre=-/usr/bin/mkfifo /var/spool/nullmailer/trigger ; /bin/chmod
0622 /var/spool/nullmailer/trigger

Please find attached the patch file.

Regards,
Alejandro


*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 10.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages nullmailer depends on:
ii  debconf [debconf-2.0]  1.5.71
ii  libc6                  2.28-10
ii  libgnutls30            3.6.7-4
ii  libstdc++6             8.3.0-6
ii  lsb-base               10.2019051400

nullmailer recommends no packages.

nullmailer suggests no packages.

-- debconf information:
* nullmailer/adminaddr: asua...@teconecta.es
  nullmailer/defaultdomain: teconecta.es
* nullmailer/relayhost:
* shared/mailname: server-2.teconecta.es
--- /lib/systemd/system/nullmailer.service      2019-07-15 14:53:14.744380161 
+0200
+++ /lib/systemd/system/nullmailer.service.new  2019-07-15 15:06:27.609081283 
+0200
@@ -7,6 +7,7 @@
 
 [Service]
 WorkingDirectory=/var/spool/nullmailer
+ExecStartPre=-/usr/bin/mkfifo /var/spool/nullmailer/trigger ; /bin/chmod 0622 
/var/spool/nullmailer/trigger
 ExecStart=/usr/sbin/nullmailer-send
 User=mail
 Group=mail

Reply via email to