http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5574

           Summary: new setuid code breaks under perl 5.6.1
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: major
          Priority: P5
         Component: spamc/spamd
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
 BugsThisDependsOn: 5518


Argh.  it appears that we didn't sufficiently test bug 5518 with Perl 5.6.1;
in particular, when used with the "-u" switch, the spamd children fail
to setuid, and immediately abort with:

  spamd: setuid to uid 65534 failed
  [3544] info: spamd: server successfully spawned child process, pid 3548
  [3544] dbg: prefork: child 3548: entering state 0
  [3544] dbg: prefork: new lowest idle kid: none
  [3544] dbg: prefork: child 3548: just exited

the spamd server will immediately fork another child, and another, etc.
until killed.  Obviously it cannot process requests, although it
will appear to be up to scripts that check "ps" or look at the
spamd log file.

I've written a test case for this.



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

Reply via email to