Bug 15145 - dirty config+%post
Summary: dirty config+%post
Status: CLOSED WONTFIX
Alias: None
Product: Branch 4.0
Classification: Distributions
Component: mod_security (show other bugs)
Version: 4.0
Hardware: all Linux
: P2 minor
Assignee: Nobody's working on this, feel free to take it
QA Contact: Q.A. 4.0
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-29 01:53 MSK by Michael Shigorin
Modified: 2014-11-05 20:16 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Shigorin 2008-03-29 01:53:48 MSK
При установке в свежесозданном 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 'SecRule', 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

Кажется, надо обернуть конфиг в <IfModule>...
Comment 1 Michael Shigorin 2008-03-29 01:54:05 MSK
reassign
Comment 2 Michael Shigorin 2014-11-05 20:16:13 MSK
В 4.0/branch исправления не будут вноситься уже технически (заглушена очередь на сборку), поэтому прошу ошибки, актуальные для sisyphus/p7/t7, перевесить на текущие ветки или сизиф.