Bug 39713

Summary: spamd.init: /var/run -> /run
Product: Sisyphus Reporter: Стас <stas.grumbler>
Component: spamassassinAssignee: Sergey Y. Afonin <asy>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: asy, lakostis
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Стас 2021-02-21 23:53:35 MSK
systemd ругаиццо:
 /run/systemd/generator.late/spamd.service:22: PIDFile= references a path below legacy directory /var/run/, updating /var/run/spamd.pid → /run/spamd.pid>


DIFF:
--- /tmp/spamd.init     2021-02-22 01:49:34.154532542 +0500
+++ /etc/rc.d/init.d/spamd      2021-02-22 01:49:47.570532954 +0500
@@ -7,7 +7,7 @@
 #              email messages for SPAM. It is normally called by spamc \
 #              from a MDA (or MTA).
 # processname: spamassassin
-# pidfile:     /var/run/spamd.pid
+# pidfile:     /run/spamd.pid
 
 ### BEGIN INIT INFO
 # Provides:          spamd
@@ -28,7 +28,7 @@
 RUNAS=root
 CHILDUSER=
 CHILDUSEROPT=
-PIDFILE=/var/run/spamd.pid
+PIDFILE=/run/spamd.pid
 LOCKFILE=/var/lock/subsys/spamd
 
 PERL=/usr/bin/perl
Comment 1 Konstantin A Lepikhov (L.A. Kostis) 2021-03-15 13:59:38 MSK
- Исправлено в 3.4.4-alt3. Теперь там есть нативный systemd unit для spamd.