Bug 39713 - spamd.init: /var/run -> /run
Summary: spamd.init: /var/run -> /run
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: spamassassin (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Sergey Y. Afonin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-21 23:53 MSK by Стас
Modified: 2021-03-15 13:59 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.