https://bugzilla.redhat.com/show_bug.cgi?id=2368831

            Bug ID: 2368831
           Summary: mod_perl RPM places LoadModule directive in conf.d
                    instead of conf.modules.d
           Product: Fedora
           Version: 42
          Hardware: All
                OS: Linux
            Status: NEW
         Component: mod_perl
          Severity: low
          Assignee: zonexpertconsult...@outlook.com
          Reporter: rcla...@gmail.com
        QA Contact: extras...@fedoraproject.org
                CC: jor...@redhat.com, perl-devel@lists.fedoraproject.org,
                    ppi...@redhat.com, zonexpertconsult...@outlook.com
  Target Milestone: ---
    Classification: Fedora



The mod_perl RPM installs /etc/httpd/conf.d/perl.conf, which contains the
LoadModule directive for perl_module. This breaks expected Apache configuration
behavior.

Because Apache processes conf.d/*.conf files in alphabetical order, any
user-provided config files (e.g., a-bedrock.conf) that use <IfModule
perl_module> may be parsed before mod_perl is loaded, causing the conditional
to silently fail.

Fedora packaging guidelines for Apache modules recommend placing
LoadModule-only directives in /etc/httpd/conf.modules.d/, not conf.d.

Expected fix:
Move LoadModule perl_module ... to /etc/httpd/conf.modules.d/01-perl.conf or
similar.


Reproducible: Always

Steps to Reproduce:
1. dnf install mod_perl
2.
3.
Actual Results:
/etc/httpd/conf.d/perl.conf

Expected Results:
/etc/conf.modules.d/00-perl.conf


-- 
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2368831

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202368831%23c0

-- 
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to