<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>15145</bug_id>
          
          <creation_ts>2008-03-29 01:53:48 +0300</creation_ts>
          <short_desc>dirty config+%post</short_desc>
          <delta_ts>2014-11-05 20:16:13 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>Branch 4.0</product>
          <component>mod_security</component>
          <version>4.0</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Shigorin">mike</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          <cc>vvk</cc>
          
          <qa_contact name="Q.A. 4.0">qa-4.0</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>66925</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2008-03-29 01:53:48 +0300</bug_when>
    <thetext>При установке в свежесозданном VPS с M40:

Preparing...           ###################### [100%]
1: mod_security-common ###################### [ 33%]
2: apache              ###################### [ 66%]
3: mod_security        ###################### [100%]
Checking configuration sanity for httpd:  Processing config directory:
/etc/httpd/conf/addon-modules.d/*.conf
 Processing config file: /etc/httpd/conf/addon-modules.d/mod_charset.conf
 Processing config file: /etc/httpd/conf/addon-modules.d/mod_realip.conf
 Processing config file: /etc/httpd/conf/addon-modules.d/mod_security.conf
Syntax error on line 49 of /etc/mod_security/altdefaults.conf:
Invalid command &apos;SecRule&apos;, perhaps mis-spelled or defined by a module not
included in the server configuration
[FAILED]
error: execution of %post scriptlet from mod_security-1.9.4-alt5 failed, exit
status 1
E: Some errors occurred while running transaction

Кажется, надо обернуть конфиг в &lt;IfModule&gt;...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66926</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2008-03-29 01:54:05 +0300</bug_when>
    <thetext>reassign</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>148445</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2014-11-05 20:16:13 +0300</bug_when>
    <thetext>В 4.0/branch исправления не будут вноситься уже технически (заглушена очередь на сборку), поэтому прошу ошибки, актуальные для sisyphus/p7/t7, перевесить на текущие ветки или сизиф.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>