https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8036

            Bug ID: 8036
           Summary: reload messes up pc -C $0
           Product: Spamassassin
           Version: 4.0.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: spamc/spamd
          Assignee: dev@spamassassin.apache.org
          Reporter: uh...@fantomas.sk
  Target Milestone: Undefined

after reloading spamd, the "spamd" process is lost from ps -e and ps -C
listing.
While the fix for Bug 7594 works at spamd start, it won't work after reload.

# /etc/init.d/spamd start
Starting SpamAssassin Mail Filter Daemon: spamd.
# ps -e | grep spamd
18642 ?        00:00:04 spamd
18649 ?        00:00:00 spamd child
18650 ?        00:00:00 spamd child
# ps -ef | grep spamd
root     18642     1 32 15:33 ?        00:00:04 /usr/bin/perl -T -w
/usr/sbin/spamd --max-children 4 --helper-home-dir --default-user=abuse -d
--pidfile=/var/run/spamd.pid
root     18649 18642  0 15:33 ?        00:00:00 spamd child
root     18650 18642  0 15:33 ?        00:00:00 spamd child
root     18654 15319  0 15:33 pts/6    00:00:00 grep spamd
# ps -C spamd
  PID TTY          TIME CMD
18642 ?        00:00:04 spamd
# kill -HUP 18642
# ps -e | grep spamd
18679 ?        00:00:00 spamd child
18680 ?        00:00:00 spamd child
# ps -ef | grep spamd
root     18673     1 37 15:34 ?        00:00:04 /usr/bin/perl -T -w -I
/etc/perl -I /usr/lib/i386-linux-gnu/perl5/5.32 -I /usr/share/perl5 -I
/usr/lib/i386-linux-gnu/perl-base -I /usr/lib/i386-linux-gnu/perl/5.32 -I
/usr/share/perl/5.32 /usr/sbin/spamd --max-children 4 --helper-home-dir
--default-user=abuse -d --pidfile=/var/run/spamd.pid
root     18679 18673  0 15:34 ?        00:00:00 spamd child
root     18680 18673  0 15:34 ?        00:00:00 spamd child
root     18684 15319  0 15:34 pts/6    00:00:00 grep spamd
# ps -C spamd
  PID TTY          TIME CMD

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to