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

            Bug ID: 8031
           Summary: sa_check_spamd.t fails on cPanel server
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Libraries
          Assignee: dev@spamassassin.apache.org
          Reporter: giova...@paclan.it
  Target Milestone: Undefined

Created attachment 5800
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5800&action=edit
spamd fix

On cPanel servers (cPanel 106.4 running on CentOS 7.9), sa_check_spamd.t fails
with the error:
Aug 24 17:06:59.277 [16236] warn: spamd: Can't locate Sys/Hostname.pm:  
/root/rpmbuild/BUILD/Mail-SpamAssassin-4.0.0/blib/lib/Sys/Hostname.pm:
Permission denied at ../blib/lib/Mail/SpamAssassin/Util.pm line 1106.

This server is running Perl 5.32 and the Perl binary is installed under:
/usr/local/cpanel/3rdparty/perl/532/bin/perl
The perl binary on the path is perl 5.16 installed with the operating system.

The attached patch fixes the issue.

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

Reply via email to