Bug #3402
Syntax error in cgp and collectd-web httpd conf
Status: | CLOSED | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | <multiple packages> | |||
Target version: | v6.7 | |||
Security class: | Resolution: | |||
Affected version: | v6.7 | NEEDINFO: | No |
Description
If the httpd-admin service has access restricted to more than one ip/network (using a comma separated list of ip/network), the httpd service cannot start:
Starting httpd: Syntax error on line 24 of /etc/httpd/conf.d/cgp.conf: The specified network mask is invalid.
Related issues
Associated revisions
httpd: correct syntax for multiple networks. Refs #3402
httpd: correct syntax for multiple networks. Refs #3402
History
#1 Updated by Filippo Carletti about 5 years ago
- Status changed from NEW to TRIAGED
- Assignee set to Filippo Carletti
- % Done changed from 0 to 20
The syntax requires a space separated list.
#2 Updated by Filippo Carletti about 5 years ago
- Status changed from TRIAGED to ON_DEV
- % Done changed from 20 to 30
#3 Updated by Filippo Carletti about 5 years ago
- Status changed from ON_DEV to MODIFIED
- Assignee deleted (
Filippo Carletti) - % Done changed from 30 to 60
#4 Updated by Filippo Carletti about 5 years ago
The problem affects even lightsquid.
#5 Updated by Filippo Carletti about 5 years ago
- Related to Bug #3370: Access to graphs and reports from trusted network added
#6 Updated by Filippo Carletti about 5 years ago
- Status changed from MODIFIED to ON_QA
- % Done changed from 60 to 70
Packages in nethserver-testing:
nethserver-collectd-web-1.0.3-1.1.g3d1f733.ns6.noarch.rpm
nethserver-cgp-1.0.1-1.1.gc4d3c90.ns6.noarch.rpm
nethserver-lightsquid-1.0.4-1.1.g2bd799c.ns6.noarch.rpm
Test case before update:
setup httpd-admin in Network services as Access only from green networks and add some allowed networks (comma separated list, i.e. 1.2.3.0/29,5.6.7.8)
expand-template /etc/httpd/conf.d/cgp.conf
expand-template /etc/httpd/conf.d/collectd-web.conf
expand-template /etc/httpd/conf.d/lightsquid.conf
apachectl -t
Update packages and repeat:
apachectl -t
#7 Updated by Nicola Rauso about 5 years ago
- Assignee set to Nicola Rauso
#8 Updated by Nicola Rauso about 5 years ago
- Category deleted (
nethserver-cgp) - Status changed from ON_QA to VERIFIED
- Assignee deleted (
Nicola Rauso) - % Done changed from 70 to 90
Tested: OK
Before packages update:
# apachectl -t Syntax error on line 24 of /etc/httpd/conf.d/cgp.conf: The specified network mask is invalid.
After packages update:
# apachectl -t Syntax OK
#9 Updated by Giacomo Sanchietti about 5 years ago
- Category set to <multiple packages>
#10 Updated by Giacomo Sanchietti about 5 years ago
- Status changed from VERIFIED to CLOSED
- % Done changed from 90 to 100
- nethserver-cgp-1.0.2-1.ns6.noarch.rpm
- nethserver-collectd-web-1.0.4-1.ns6.noarch.rpm
- nethserver-lightsquid-1.0.5-1.ns6.noarch.rpm
- nethserver-lightsquid-1.0.5-1.ns6.noarch.rpm
- nethserver-cgp-1.0.2-1.ns6.noarch.rpm