Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Oct 2018 07:31:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 232146] mail/spamassassin: service status broken after reload
Message-ID:  <bug-232146-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232146

            Bug ID: 232146
           Summary: mail/spamassassin: service status broken after reload
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: zeising@FreeBSD.org
          Reporter: romain@FreeBSD.org
          Assignee: zeising@FreeBSD.org
             Flags: maintainer-feedback?(zeising@FreeBSD.org)

Hi

The sa-spamd rc script allows to tell if the service is running or not with
`service sa-spamd status`.

Unfortunately, after reloading the service, the command always says that the
service is not running anymore:

=CE=BB service sa-spamd start
Starting spamd.
=CE=BB service sa-spamd status
spamd is running as pid 62822.
=CE=BB ps l 62822
UID   PID PPID CPU PRI NI    VSZ    RSS MWCHAN STAT TT     TIME COMMAND
  0 62822    1   0  20  0 203316 191940 select Ss    -  0:26,12
/usr/local/bin/perl -T -w /usr/local/bin/spamd -c --allow-tell
--username=3Dpostfix -H /var/spool/postfix -d -r /var/run/spamd/spamd.pid
=CE=BB service sa-spamd reload
=CE=BB service sa-spamd status
spamd is not running.
=CE=BB ps l 62822
UID   PID PPID CPU PRI NI   VSZ   RSS MWCHAN STAT TT     TIME COMMAND
  0 62822    1   0  21  0 40200 34704 nanslp Ss    -  0:26,50
/usr/local/bin/perl5 -T -w /usr/local/bin/spamd -c --allow-tell
--username=3Dpostfix -H /var/spool/postfix -d -r /var/run/spamd/spamd.pid


It looks like the command is changing (perl -> perl5), which seems to break=
 the
system in charge of finding the right process.

This is at least on 11.2-STABLE.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232146-7788>