<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>37848</bug_id>
          
          <creation_ts>2020-01-17 14:38:00 +0300</creation_ts>
          <short_desc>После установки сервис не запускается</short_desc>
          <delta_ts>2021-02-11 14:37:37 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>clamsmtp</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Хитриков Борис Владимирович">borish90</reporter>
          <assigned_to name="Leontiy Volodin">lvol</assigned_to>
          <cc>lvol</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>187023</commentid>
    <comment_count>0</comment_count>
    <who name="Хитриков Борис Владимирович">borish90</who>
    <bug_when>2020-01-17 14:38:00 +0300</bug_when>
    <thetext>После установки и после перезагрузки сервис не запускается
]# systemctl status clamsmtpd.service
● clamsmtpd.service - SYSV: ClamSMTP Daemon
   Loaded: loaded (/etc/rc.d/init.d/clamsmtpd; generated)
   Active: failed (Result: timeout) since Fri 2020-01-17 12:16:54 +03; 11min ago
     Docs: man:systemd-sysv-generator(8)
   CGroup: /system.slice/clamsmtpd.service
           └─1755 /usr/sbin/clamsmtpd

янв 17 12:11:54 newbilling.esmog.local systemd[1]: Starting SYSV: ClamSMTP Daemon...
янв 17 12:11:54 newbilling.esmog.local clamsmtpd[1755]: couldn&apos;t open pid file: /var/run/clamsmtp/clamsmtp.pid: No such file or directory
янв 17 12:11:54 newbilling.esmog.local clamsmtpd[1716]: Starting clamsmtpd service: [ DONE ]
янв 17 12:11:54 newbilling.esmog.local systemd[1]: clamsmtpd.service: Can&apos;t open PID file /var/run/clamsmtp/clamsmtp.pid (yet?) after start: No such 
янв 17 12:16:54 newbilling.esmog.local systemd[1]: clamsmtpd.service: Start operation timed out. Terminating.
янв 17 12:16:54 newbilling.esmog.local systemd[1]: clamsmtpd.service: Failed with result &apos;timeout&apos;.
янв 17 12:16:54 newbilling.esmog.local systemd[1]: Failed to start SYSV: ClamSMTP Daemon.

Судя по всему в спеке пропущена информация по %_tmpfilesdir и после перезагрузки
отсутствует папка /var/run/clamsmtp/. Проверьте пожалуйста</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196181</commentid>
    <comment_count>1</comment_count>
    <who name="Leontiy Volodin">lvol</who>
    <bug_when>2021-02-11 14:37:37 +0300</bug_when>
    <thetext>Исправлено.

Благодарю shaba@ за помощь)

&gt; #100 clamsmtp 1.10-alt3 -&gt; 1.10-alt4
&gt;  Thu Feb 11 2021 Alexey Shabalin &lt;shaba@altlinux&gt; 1.10-alt4
&gt;  - NMU: add systemd unit and tmpfiles config</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>