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

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

    <bug>
          <bug_id>29551</bug_id>
          
          <creation_ts>2013-11-03 17:50:05 +0400</creation_ts>
          <short_desc>Postgrey &quot;падает&quot; после его запуска</short_desc>
          <delta_ts>2024-12-03 13:14:51 +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>postgrey</component>
          <version>unstable</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugzilla.altlinux.org/show_bug.cgi?id=31037</see_also>
          <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="Viktor Tomilov">tovbor</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>beza2000</cc>
    
    <cc>cas</cc>
    
    <cc>lav</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>143579</commentid>
    <comment_count>0</comment_count>
    <who name="Viktor Tomilov">tovbor</who>
    <bug_when>2013-11-03 17:50:05 +0400</bug_when>
    <thetext>Установлен Postgrey.
Запускам сервис:
service postgrey start
Starting postgrey service:                                             [ DONE ]
Проверяем работу сервиса:
service postgrey status
postgrey is dead, but stale PID file exists
Повторный запуск сервиса выдает ошибку:
service postgrey start
Starting postgrey service: Pid_file already exists for running process (9302)... aborting
ERROR: Pid_file already exists for running process (9302)... aborting   [FAILED]
Если запускать Postgrey &quot;вручную&quot;:
postgrey -v --inet=127.0.0.1:60000 --lookup-by-host
2013/11/03-23:23:05 postgrey (type Net::Server::Multiplex) starting! pid(9140)
Binding to TCP port 60000 on host 127.0.0.1 with IPv4
Setting gid to &quot;453 453&quot;
Setting uid to &quot;469&quot;
никаких ошибок не выдает и не падает.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166340</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2017-10-15 15:39:39 +0300</bug_when>
    <thetext>Причина в том, что в /proc/PID/stat запись такого вида:
20635 (postgrey -d --u) S 
соответственно, даже killall postgrey не находит процесс.

Видимо, это следы борьбы  с
# readlink /proc/20635/exe 
/usr/bin/perl5.22.3

-d --u[ser] — это начало командной строки из /etc/init.d/postgrey.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>254853</commentid>
    <comment_count>2</comment_count>
    <who name="Ivan lljuhin">iljuhinik</who>
    <bug_when>2024-11-21 12:29:37 +0300</bug_when>
    <thetext>*** Bug 52106 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>255438</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2024-12-03 13:14:51 +0300</bug_when>
    <thetext>postgrey-1.37-alt2 -&gt; sisyphus:

 Fri Nov 29 2024 Andrey Cherepanov &lt;cas@altlinux&gt; 1.37-alt2
 - Added service file (ALT #29551).
 - Added Perl module requirement (ALT #31037).
 - Update README from Fedora.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>